diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-06 21:28:00 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-06 21:28:00 +0000 |
commit | 17895bc84b951d2f8fbd98818f312208a022e686 (patch) | |
tree | 500bcbeaa91fa1bd61f22c05ba6f5ad2cb649cd5 /target/linux/cavium-octeon/base-files/etc | |
parent | 6a16f6fbcd076046812edb37ae14656194d39a0b (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/cavium-octeon/base-files/etc')
-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 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 |