summaryrefslogtreecommitdiffhomepage
path: root/config/network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-05 03:24:17 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-04-05 03:24:17 +0200
commitc1692fdcf48ad32217354d5206af31115e562306 (patch)
tree8f7d21f9f6c8085d5e25287d31805fa25bca027d /config/network
parent3a9fe0cb9fa812bdecdf0a6f2d5e81877fe8cd1b (diff)
add low level configuration for devices
Diffstat (limited to 'config/network')
-rw-r--r--config/network18
1 files changed, 16 insertions, 2 deletions
diff --git a/config/network b/config/network
index 35276ab..00c5b51 100644
--- a/config/network
+++ b/config/network
@@ -6,9 +6,23 @@ config interface loopback
option ipaddr 127.0.0.1
option netmask 255.0.0.0
-config interface lan
- option ifname 'eth0.1 eth0.2'
+config device
+ option name br-lan
option type bridge
+ option ifname "eth0.1 eth0.2"
+ option mtu 1500
+
+config interface lan
+ option ifname 'br-lan'
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
+
+
+config interface lan2
+ option ifname eth0.3
+ option type bridge
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
+