netifd: Improve IPv6-ULA assignment handling
[openwrt/svn-archive/archive.git] / target / linux / ar7 / base-files / etc / config / network
1 # Copyright (C) 2006 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 config interface lan
10 option type bridge
11 option ifname "eth0 eth1 eth0.1 eth0.2"
12 option proto static
13 option ipaddr 192.168.1.1
14 option netmask 255.255.255.0
15 option nat 1
16 option ip6assign 64
17
18 config interface wan6
19 option ifname @wan
20 option proto dhcpv6
21
22 config globals globals
23 option ula_prefix auto
24
25 ## Example for ATM bridging.
26 ## Useful for PPPoE or IP over ATM. Will create 'nas${unit}'
27 #
28 # config atm-bridge
29 # option unit 0
30 # option encaps llc
31 # option vpi 8
32 # option vci 35
33 # option payload bridged # some ISPs need this set to 'routed'
34
35
36 # config interface wan
37 ## PPPoE:
38 # option ifname nas0
39 # option proto pppoe
40
41 ## PPPoA:
42 # option ifname atm0
43 # option proto pppoa
44 # option encaps llc
45 # option vpi 8
46 # option vci 35
47
48 ## Both:
49 # option username "my_username"
50 # option password "my_password"