Adapt default network configuration for IPv6
[15.05/openwrt.git] / target / linux / x86 / alix2 / base-files / etc / config / network
1 # Copyright (C) 2011 OpenWrt.org
2
3 config interface loopback
4         option ifname   lo
5         option proto    static
6         option ipaddr   127.0.0.1
7         option netmask  255.0.0.0
8
9 # N.B. the labels on the Netgate boxes actually reverse the LAN and WAN
10 # port markings.
11 config interface lan
12         option ifname   eth1
13         option type     bridge
14         option proto    static
15         option ipaddr   192.168.1.1
16         option netmask  255.255.255.0
17         option ip6assign 64
18
19 config interface wan
20         option ifname   eth0
21         option proto    dhcp
22
23 config interface wan6
24         option ifname   @wan
25         option proto    dhcpv6
26
27 config globals globals
28         option ula_prefix auto