working on router

This commit is contained in:
2023-04-17 17:16:35 -07:00
parent cc151e732a
commit a2e36df7a6
9 changed files with 96 additions and 16 deletions

View File

@@ -0,0 +1,8 @@
network:
version: 2
ethernets:
"{{ router_if }}":
dhcp4: False
dhcp6: False
addresses:
- "192.168.3.254/24"

View File

@@ -0,0 +1,11 @@
listen-address=::1,127.0.0.1,192.168.3.254
interface={{ router_if }}
domain=wntrmute.lan
expand-hosts
server=8.8.8.8
server=8.8.4.4
dhcp-range=192.168.3.1,192.168.3.30,24h
dhcp-option=option:router,192.168.3.254
dhcp-option=option:dns-server,8.8.8.8
dhcp-authoritative

4
roles/server/files/hosts Normal file
View File

@@ -0,0 +1,4 @@
127.0.0.1 localhost
192.168.3.1 cdev
192.168.3.254 orion

View File

@@ -0,0 +1,2 @@
nameserver 8.8.8.8
nameserver 8.8.4.4