2010-03-07 13:41:01 +08:00
|
|
|
config interface loopback
|
|
|
|
option ifname lo
|
|
|
|
option proto static
|
|
|
|
option ipaddr 127.0.0.1
|
|
|
|
option netmask 255.0.0.0
|
|
|
|
|
|
|
|
config interface eth
|
|
|
|
option ifname eth0
|
2010-03-10 02:05:31 +08:00
|
|
|
option proto none
|
2010-03-07 13:41:01 +08:00
|
|
|
|
|
|
|
config interface lan
|
2010-03-10 02:05:48 +08:00
|
|
|
option ifname 'port2 port3 port4 port5'
|
2010-03-07 13:41:01 +08:00
|
|
|
option type bridge
|
|
|
|
option proto static
|
|
|
|
option ipaddr 192.168.1.1
|
|
|
|
option netmask 255.255.255.0
|
|
|
|
|
|
|
|
config interface wan
|
|
|
|
option ifname eth1
|
|
|
|
option proto dhcp
|