2008-12-10 11:54:21 +00:00
|
|
|
# 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 eth0
|
|
|
|
option ifname eth0
|
|
|
|
|
|
|
|
config interface wan
|
|
|
|
option ifname wan
|
|
|
|
option proto dhcp
|
|
|
|
option hostname openwrt
|
|
|
|
|
|
|
|
config interface lan
|
|
|
|
option ifname "lan1 lan2 lan3 lan4"
|
|
|
|
option type bridge
|
|
|
|
option proto static
|
|
|
|
option ipaddr 192.168.1.1
|
|
|
|
option netmask 255.255.255.0
|
2013-04-22 19:40:16 +00:00
|
|
|
option ip6assign 60
|
2013-04-09 08:03:08 +00:00
|
|
|
|
|
|
|
config interface wan6
|
|
|
|
option ifname @wan
|
|
|
|
option proto dhcpv6
|
|
|
|
|
|
|
|
config globals globals
|
|
|
|
option ula_prefix auto
|