2013-11-14 23:11:16 -07:00
|
|
|
#### 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
|
2015-03-25 15:02:38 -06:00
|
|
|
option ifname "<lan_intf>"
|
2013-11-14 23:11:16 -07:00
|
|
|
option proto <lan_proto>
|
|
|
|
option ipaddr <lan_ip>
|
|
|
|
option netmask <lan_mask>
|
|
|
|
option gateway <lan_gw>
|
|
|
|
option dns <lan_gw>
|
|
|
|
|
|
|
|
|
|
|
|
#### WAN configuration
|
|
|
|
config interface wan
|
2015-03-26 02:47:06 -06:00
|
|
|
option ifname "<wan_intf>"
|
2013-11-14 23:11:16 -07:00
|
|
|
option proto <wan_proto>
|
2015-04-05 22:06:39 -06:00
|
|
|
|
|
|
|
include /etc/aredn_include/swconfig
|