diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-05-06 21:28:00 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-05-06 21:28:00 +0000 |
commit | 345c1337984dd92bb033d4d089324bc992514153 (patch) | |
tree | 500bcbeaa91fa1bd61f22c05ba6f5ad2cb649cd5 /target | |
parent | a55aaa9f3a25dcffe1699d4ef94664bc22a036c7 (diff) | |
download | upstream-345c1337984dd92bb033d4d089324bc992514153.tar.gz upstream-345c1337984dd92bb033d4d089324bc992514153.tar.bz2 upstream-345c1337984dd92bb033d4d089324bc992514153.zip |
[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')
-rw-r--r-- | target/linux/cavium-octeon/base-files/etc/config/network | 18 |
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 |