[ar7] enable mvswitch driver
[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
17 ## Example for ATM bridging.
18 ## Useful for PPPoE or IP over ATM. Will create 'nas${unit}'
19 #
20 # config atm-bridge
21 # option unit 0
22 # option encaps llc
23 # option vpi 8
24 # option vci 35
25 # option payload bridged # some ISPs need this set to 'routed'
26
27
28 # config interface wan
29 ## PPPoE:
30 # option ifname nas0
31 # option proto pppoe
32
33 ## PPPoA:
34 # option ifname atm0
35 # option proto pppoa
36 # option encaps llc
37 # option vpi 8
38 # option vci 35
39
40 ## Both:
41 # option username "my_username"
42 # option password "my_password"