Make 4-port LAN and 1 port wan configurations work
[openwrt-10.03/.git] / target / linux / brcm63xx / base-files / etc / config / network
diff --git a/target/linux/brcm63xx/base-files/etc/config/network b/target/linux/brcm63xx/base-files/etc/config/network
new file mode 100644 (file)
index 0000000..c15fdd8
--- /dev/null
@@ -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