mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-05 03:50:36 +02:00
d1c886b4e6
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25171 3c298f89-4303-0410-b956-a3cf2f4a3e73
28 lines
481 B
Plaintext
28 lines
481 B
Plaintext
#### 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
|