ar7: add support for bridged ATM in network setup
[openwrt-10.03/.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 ifname   eth0
11         option proto    static
12         option ipaddr   192.168.1.1
13         option netmask  255.255.255.0
14
15
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  routed # some ISPs need this set to 'bridged'
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"