summaryrefslogtreecommitdiff
path: root/ext/openwrt/turret/files/etc/config/network
diff options
context:
space:
mode:
authorseth <[email protected]>2024-02-04 16:40:38 -0500
committerseth <[email protected]>2024-02-04 16:41:47 -0500
commit5f848623dff7cbcd21911032e5fd4c77bcf7d413 (patch)
tree7462ae7abec5beee71443702b330e3eeca1a407f /ext/openwrt/turret/files/etc/config/network
parent371235663a4e8d783dfc4294bb0b10cd3206c9c6 (diff)
tree-wide: better separate/name some things
Diffstat (limited to 'ext/openwrt/turret/files/etc/config/network')
-rw-r--r--ext/openwrt/turret/files/etc/config/network30
1 files changed, 30 insertions, 0 deletions
diff --git a/ext/openwrt/turret/files/etc/config/network b/ext/openwrt/turret/files/etc/config/network
new file mode 100644
index 0000000..cb24fec
--- /dev/null
+++ b/ext/openwrt/turret/files/etc/config/network
@@ -0,0 +1,30 @@
+
+config interface 'loopback'
+ option device 'lo'
+ option proto 'static'
+ option ipaddr '127.0.0.1'
+ option netmask '255.0.0.0'
+
+config globals 'globals'
+ option packet_steering '1'
+ option ula_prefix 'fd26:3166:dece::/48'
+
+config device
+ option name 'br-lan'
+ option type 'bridge'
+ list ports 'lan2'
+ list ports 'lan3'
+ list ports 'lan4'
+
+config interface 'lan'
+ option device 'br-lan'
+ option proto 'static'
+ option ipaddr '192.168.1.1'
+ option netmask '255.255.255.0'
+ option ip6assign '60'
+
+config interface 'wan'
+ option device 'lan1'
+ option proto 'dhcp'
+ option type 'bridge'
+