mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
c118e5edf4
This allows IPv6 to set up without IPv4 being up thus IPv6-only or IPv6+DS-Lite working with the default config. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42848
40 lines
677 B
Plaintext
40 lines
677 B
Plaintext
#### VLAN configuration
|
|
config switch
|
|
option eth0 "0 1 2 3"
|
|
option eth1 "4"
|
|
|
|
|
|
#### 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 "eth0"
|
|
option proto static
|
|
option ipaddr 192.168.1.1
|
|
option netmask 255.255.255.0
|
|
option ip6assign 60
|
|
|
|
|
|
#### WAN configuration
|
|
config interface wan
|
|
option ifname "eth1"
|
|
option proto dhcp
|
|
|
|
|
|
#### WAN6 configuration
|
|
config interface wan6
|
|
option ifname "eth1"
|
|
option proto dhcpv6
|
|
|
|
|
|
#### Network global configuration
|
|
config globals globals
|
|
option ula_prefix auto
|