diff options
author | Steven Barth <steven@midlink.org> | 2008-07-24 13:55:11 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-07-24 13:55:11 +0000 |
commit | 7384e0e6b77518efa4d113ede46f8c107de6f604 (patch) | |
tree | abe961b734c865ce3965f45585528c1ff39b94bd /contrib/uci/hostfiles/etc/config/network | |
parent | f94c7b2c10d11d343c464be707e12c5754728b06 (diff) |
Rewrote host environment targets to work out of the box
Diffstat (limited to 'contrib/uci/hostfiles/etc/config/network')
-rw-r--r-- | contrib/uci/hostfiles/etc/config/network | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/contrib/uci/hostfiles/etc/config/network b/contrib/uci/hostfiles/etc/config/network new file mode 100644 index 0000000000..1caf3e7340 --- /dev/null +++ b/contrib/uci/hostfiles/etc/config/network @@ -0,0 +1,27 @@ +#### VLAN configuration +config switch eth0 + option vlan0 "0 1 2 3 5*" + option vlan1 "4 5" + + +#### Loopback configuration +config interface loopback + option ifname "lo" + option proto static + option ipaddr 127.0.0.1 + option netmask 255.0.0.0 + + +#### LAN configuration +config interface lan + option type bridge + option ifname "eth0.0" + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 + + +#### WAN configuration +config interface wan + option ifname "eth0.1" + option proto dhcp |