summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-06 21:28:00 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-06 21:28:00 +0000
commit17895bc84b951d2f8fbd98818f312208a022e686 (patch)
tree500bcbeaa91fa1bd61f22c05ba6f5ad2cb649cd5 /target/linux
parent6a16f6fbcd076046812edb37ae14656194d39a0b (diff)
[cavium-octeon] add default network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15643 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-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 000000000..44c57940e
--- /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