You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
481 B
28 lines
481 B
14 years ago
|
#### VLAN configuration
|
||
|
config switch
|
||
|
option eth0 "0 1 2 3"
|
||
|
option eth1 "4"
|
||
|
|
||
|
|
||
|
#### 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"
|
||
|
option proto static
|
||
|
option ipaddr 192.168.1.1
|
||
|
option netmask 255.255.255.0
|
||
|
|
||
|
|
||
|
#### WAN configuration
|
||
|
config interface wan
|
||
|
option ifname "eth1"
|
||
|
option proto dhcp
|