add default network configuration
authorFlorian Fainelli <florian@openwrt.org>
Wed, 6 May 2009 21:28:00 +0000 (21:28 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 6 May 2009 21:28:00 +0000 (21:28 +0000)
SVN-Revision: 15643

target/linux/cavium-octeon/base-files/etc/config/network [new file with mode: 0644]

diff --git a/target/linux/cavium-octeon/base-files/etc/config/network b/target/linux/cavium-octeon/base-files/etc/config/network
new file mode 100644 (file)
index 0000000..44c5794
--- /dev/null
@@ -0,0 +1,18 @@
+# Copyright (C) 2009 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 ifname   eth1
+        option type     bridge
+        option proto    static
+        option ipaddr   192.168.1.1
+        option netmask  255.255.255.0
+
+config interface wan
+       option ifname   eth0
+       option proto    dhcp