| 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 | config interface lan |
| 10 | option ifname "eth0 eth1" |
| 11 | option type bridge |
| 12 | option proto static |
| 13 | option ipaddr 192.168.1.1 |
| 14 | option netmask 255.255.255.0 |
| 15 | |
| 16 | config atm-bridge |
| 17 | option unit 0 |
| 18 | option atmdev 0 |
| 19 | option vpi 0 |
| 20 | option vci 35 |
| 21 | option encaps llc |
| 22 | option payload bridged |
| 23 | option sendsize 2040 |
| 24 | |
| 25 | config interface wan |
| 26 | option proto dhcp |
| 27 | option ifname nas0 |
| 28 | # clone your eth0 address here |
| 29 | # option macaddr '00:0A:FA:22:00:80' |
| 30 | |
| 31 | # 2nd interface on Geos2 |
| 32 | #config interface wan |
| 33 | # option proto pppoa |
| 34 | # option atmdev 1 |
| 35 | # option vpi 8 |
| 36 | # option vci 32 |
| 37 | # option encaps vc |
| 38 | # option username 'username@myisp.net' |
| 39 | # option password 'password' |
| 40 | # option keepalive 3 |
| 41 | # option defaultroute 1 |
| 42 | # option peerdns 1 |
| 43 | # option pppd_options 'kdebug 1 debug noccp' |
| 44 | |
| 45 | |