aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/config
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-11-26 15:51:55 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-11-26 15:51:55 +0000
commit4fc7535fc7a84d75361a028095ebec24fb6535ee (patch)
tree3cfa38b88cc2b049a1d01a627892c2de781da6a7 /target/linux/brcm63xx/base-files/etc/config
parent0bb95d57548c43224d97283f1461b78d8f9e5f35 (diff)
downloadupstream-4fc7535fc7a84d75361a028095ebec24fb6535ee.tar.gz
upstream-4fc7535fc7a84d75361a028095ebec24fb6535ee.tar.bz2
upstream-4fc7535fc7a84d75361a028095ebec24fb6535ee.zip
Make 4-port LAN and 1 port wan configurations work
SVN-Revision: 13362
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/config')
-rw-r--r--target/linux/brcm63xx/base-files/etc/config/network19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/config/network b/target/linux/brcm63xx/base-files/etc/config/network
new file mode 100644
index 0000000000..c15fdd81b3
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/config/network
@@ -0,0 +1,19 @@
+# Copyright (C) 2008 OpenWrt.org
+
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface lan
+ option type bridge
+ option ifname eth1
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
+ option nat 1
+
+config interface wan
+ option ifname eth0
+ option proto dhcp