2011-06-25 22:05:10 +00:00
|
|
|
# Copyright (C) 2011 OpenWrt.org
|
|
|
|
|
|
|
|
config interface loopback
|
|
|
|
option ifname lo
|
|
|
|
option proto static
|
|
|
|
option ipaddr 127.0.0.1
|
|
|
|
option netmask 255.0.0.0
|
|
|
|
|
|
|
|
config interface lan
|
|
|
|
option ifname "eth0 eth1"
|
|
|
|
option type bridge
|
|
|
|
option proto static
|
|
|
|
option ipaddr 192.168.1.1
|
|
|
|
option netmask 255.255.255.0
|
2013-04-09 08:03:08 +00:00
|
|
|
option ip6assign 64
|
2011-06-25 22:05:10 +00:00
|
|
|
|
|
|
|
config atm-bridge
|
|
|
|
option unit 0
|
|
|
|
option atmdev 0
|
|
|
|
option vpi 0
|
|
|
|
option vci 35
|
|
|
|
option encaps llc
|
|
|
|
option payload bridged
|
|
|
|
option sendsize 2040
|
|
|
|
|
|
|
|
config interface wan
|
|
|
|
option proto dhcp
|
|
|
|
option ifname nas0
|
|
|
|
# clone your eth0 address here
|
|
|
|
# option macaddr '00:0A:FA:22:00:80'
|
|
|
|
|
2013-04-09 08:03:08 +00:00
|
|
|
config interface wan6
|
|
|
|
option ifname @wan
|
|
|
|
option proto dhcpv6
|
|
|
|
|
|
|
|
config globals globals
|
|
|
|
option ula_prefix auto
|
|
|
|
|
|
|
|
|
2011-06-25 22:05:10 +00:00
|
|
|
# 2nd interface on Geos2
|
|
|
|
#config interface wan
|
|
|
|
# option proto pppoa
|
|
|
|
# option atmdev 1
|
|
|
|
# option vpi 8
|
|
|
|
# option vci 32
|
|
|
|
# option encaps vc
|
|
|
|
# option username 'username@myisp.net'
|
|
|
|
# option password 'password'
|
|
|
|
# option keepalive 3
|
|
|
|
# option defaultroute 1
|
|
|
|
# option peerdns 1
|
|
|
|
# option pppd_options 'kdebug 1 debug noccp'
|
|
|
|
|