mirror of https://github.com/aredn/aredn.git
24 lines
454 B
Plaintext
24 lines
454 B
Plaintext
|
include /etc/vlan
|
||
|
|
||
|
#### 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 ifname "eth0.0"
|
||
|
option proto <lan_proto>
|
||
|
option ipaddr <lan_ip>
|
||
|
option netmask <lan_mask>
|
||
|
option dns "<wan_dns1> <wan_dns2>"
|
||
|
|
||
|
|
||
|
#### WAN configuration
|
||
|
config interface wan
|
||
|
option ifname "wl0"
|
||
|
option proto <wifi_proto>
|