2011-06-25 22:05:05 +00:00
|
|
|
# Copyright (C) 2011 OpenWrt.org
|
|
|
|
|
|
|
|
config interface loopback
|
|
|
|
option ifname lo
|
|
|
|
option proto static
|
|
|
|
option ipaddr 127.0.0.1
|
|
|
|
option netmask 255.0.0.0
|
|
|
|
|
2011-07-26 16:37:48 +00:00
|
|
|
# N.B. the labels on the Netgate boxes actually reverse the LAN and WAN
|
|
|
|
# port markings.
|
2011-06-25 22:05:05 +00:00
|
|
|
config interface lan
|
2011-07-26 16:37:48 +00:00
|
|
|
option ifname eth1
|
2011-06-25 22:05:05 +00:00
|
|
|
option type bridge
|
|
|
|
option proto static
|
|
|
|
option ipaddr 192.168.1.1
|
|
|
|
option netmask 255.255.255.0
|
2011-07-26 16:37:48 +00:00
|
|
|
|
|
|
|
config interface wan
|
|
|
|
option ifname eth0
|
|
|
|
option proto dhcp
|