b1b318750a
Port the mechanism for different default configurations from ar71xx and use the old configuration as the default configuration. This should have no functional differences to before. While we are at it, remove the obsolete nat option. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 24185
19 lines
434 B
Plaintext
19 lines
434 B
Plaintext
# Copyright (C) 2008 OpenWrt.org
|
|
|
|
config interface loopback
|
|
option ifname lo
|
|
option proto static
|
|
option ipaddr 127.0.0.1
|
|
option netmask 255.0.0.0
|
|
|
|
config interface lan
|
|
option type bridge
|
|
option ifname eth1
|
|
option proto static
|
|
option ipaddr 192.168.1.1
|
|
option netmask 255.255.255.0
|
|
|
|
config interface wan
|
|
option ifname eth0
|
|
option proto dhcp
|