aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-05-06 21:28:00 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-05-06 21:28:00 +0000
commit702fcc1d3ba677ec07c5f6c6882e164664dd3147 (patch)
tree7ae5848576412778d8ee859627b47d2a50d3b9a4
parent378145454d858fcef0fcd6836ff65e891d654a89 (diff)
downloadupstream-702fcc1d3ba677ec07c5f6c6882e164664dd3147.tar.gz
upstream-702fcc1d3ba677ec07c5f6c6882e164664dd3147.tar.bz2
upstream-702fcc1d3ba677ec07c5f6c6882e164664dd3147.zip
add default network configuration
SVN-Revision: 15643
-rw-r--r--target/linux/cavium-octeon/base-files/etc/config/network18
1 files changed, 18 insertions, 0 deletions
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
index 0000000000..44c57940e2
--- /dev/null
+++ b/target/linux/cavium-octeon/base-files/etc/config/network
@@ -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