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
|
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 dns "<wan_dns1> <wan_dns2>"
|
|
|
|
|
|
|
|
|
|
|
|
#### WAN configuration
|
|
|
|
config interface wan
|
2015-03-25 15:02:38 -06:00
|
|
|
option ifname "<wifi_intf>"
|
2013-11-14 23:11:16 -07:00
|
|
|
option proto <wifi_proto>
|
2015-04-05 22:06:39 -06:00
|
|
|
|
|
|
|
include /etc/aredn_include/swconfig
|