summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/config
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-11-26 15:51:55 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-11-26 15:51:55 +0000
commitfee51f1162b130d4137aae65e962e0bb3d561233 (patch)
treed0f4c5c5c862cded07646a402ad5108ce1934b96 /target/linux/brcm63xx/base-files/etc/config
parentc680366531724621150ca3d6cbb6d52c0c1b96e2 (diff)
Make 4-port LAN and 1 port wan configurations work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13362 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..c15fdd81b
--- /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