mirror of https://github.com/aredn/aredn.git
26 lines
513 B
Plaintext
26 lines
513 B
Plaintext
#### 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 "<lan_intf>"
|
|
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
|
|
option ifname "<wan_intf>"
|
|
option proto <wan_proto>
|
|
|
|
include /etc/aredn_include/swconfig
|