Change default IPv6 config to enable DHCPv6-PD
[openwrt.git] / target / linux / ar71xx / base-files / etc / defconfig / wndr3700 / network
1 config interface loopback
2         option ifname   lo
3         option proto    static
4         option ipaddr   127.0.0.1
5         option netmask  255.0.0.0
6
7 config interface lan
8         option ifname   eth0.1
9         option type     bridge
10         option proto    static
11         option ipaddr   192.168.1.1
12         option netmask  255.255.255.0
13         option ip6assign 60
14
15 config interface wan
16         option ifname   eth1
17         option proto    dhcp
18
19 config interface wan6
20         option ifname   @wan
21         option proto    dhcpv6
22
23 config globals globals
24         option ula_prefix auto
25
26 config switch
27         option name     rtl8366s
28         option reset    1
29         option enable_vlan 1
30         # Blinkrate: 0=43ms; 1=84ms; 2=120ms; 3=170ms; 4=340ms; 5=670ms
31         option blinkrate        2
32
33 config switch_vlan
34         option device   rtl8366s
35         option vlan     1
36         option ports    "0 1 2 3 5t"
37
38 config switch_port
39         # Port 1 controls the GREEN configuration of LEDs for
40         # the switch and the section does not correspond to a real
41         # switch port.
42         #
43         # 0=LED off; 1=Collision/FDX; 2=Link/activity; 3=1000 Mb/s;
44         # 4=100 Mb/s; 5=10 Mb/s; 6=1000 Mb/s+activity; 7=100 Mb/s+activity;
45         # 8=10 Mb/s+activity; 9=10/100 Mb/s+activity; 10: Fiber;
46         # 11: Fault; 12: Link/activity(tx); 13: Link/activity(rx);
47         # 14: Link (master); 15: separate register
48
49         option device           rtl8366s
50         option port             1
51         option led              6
52
53 config switch_port
54         # Port 2 controls the ORANGE configuration of LEDs for
55         # the switch and the section does not correspond to a real
56         # switch port.
57         #
58         # See the key above for switch port 1 for the meaning of the
59         # 'led' setting below.
60         
61         option device           rtl8366s
62         option port             2
63         option led              9
64
65 config switch_port
66         # Port 5 controls the configuration of the WAN LED and the
67         # section does not correspond to a real switch port.
68         #
69         # To toggle the use of green or orange LEDs for the WAN port,
70         # see the LED setting for wndr3700:green:wan in /etc/config/system.
71         #
72         # See the key above for switch port 1 for the meaning of the
73         # 'led' setting below.
74
75         option device           rtl8366s
76         option port             5
77         option led              2