summaryrefslogtreecommitdiff
path: root/files/etc/config/network
diff options
context:
space:
mode:
authorDarkeye <postfach@martinmichel.info>2011-01-18 19:01:55 (GMT)
committerDarkeye <postfach@martinmichel.info>2011-01-18 19:01:55 (GMT)
commit92653c5724b8d636c78dca14d4a3e4eda920e0e2 (patch)
treea2c732b7a608e98e814208a1cde6fe17dfeb57d4 /files/etc/config/network
parent7f7eb3c76ce3ef2ba7d0138e84b44cf194889bf5 (diff)
Add bridge and banner
Diffstat (limited to 'files/etc/config/network')
-rw-r--r--files/etc/config/network34
1 files changed, 34 insertions, 0 deletions
diff --git a/files/etc/config/network b/files/etc/config/network
new file mode 100644
index 0000000..5c87829
--- /dev/null
+++ b/files/etc/config/network
@@ -0,0 +1,34 @@
+config 'interface' 'loopback'
+ option 'ifname' 'lo'
+ option 'proto' 'static'
+ option 'ipaddr' '127.0.0.1'
+ option 'netmask' '255.0.0.0'
+config 'interface' 'mesh'
+ option 'type' 'bridge'
+ option 'ifname' 'ath1 bat0'
+
+config 'interface' 'lan'
+ option 'type' 'bridge'
+ option 'proto' 'static'
+ option 'ipaddr' '192.168.1.1'
+ option 'netmask' '255.255.255.0'
+ option 'ifname' 'eth0.1'
+
+config 'switch' 'eth0'
+ option 'name' 'eth0'
+ option 'reset' '1'
+ option 'enable_vlan' '1'
+
+config 'switch_vlan' 'eth0_1'
+ option 'device' 'eth0'
+ option 'vlan' '1'
+ option 'ports' '0 1 2 3 5t'
+
+config 'switch_vlan' 'eth0_2'
+ option 'device' 'eth0'
+ option 'vlan' '2'
+ option 'ports' '4 5t'
+
+config 'interface' 'wan'
+ option 'ifname' 'eth0.2'
+ option 'proto' 'dhcp'
contact: Jan Huwald // Impressum