beautypg.com

Branch office 2 – Allied Telesis AlliedWare AR440S User Manual

Page 25

background image

Page 25 | AlliedWare™ OS How To Note: VPNs for Corporate Networks

branch office 2

Create your Asymmetric Digital Subscriber Line (ADSL) connection. Asynchronous Transfer
Mode (ATM) is always used over ADSL.

enable adsl=0

create atm=0 over=adsl0

add atm=0 channel=1

Branch 2 uses PPPoEoA (PPP over virtual ethernet over ATM). Create the virtual ethernet
over ATM.

create eth=0 over=atm0.1

Create your PPPoE link, and define the username and password needed for Internet access.
This is provided by your Internet Service Provider (ISP). Use iprequest=on so that the
interface obtains its address dynamically from the ISP—this office has no incoming roaming
VPN clients so does not need a fixed address.

create ppp=0 over=eth0-any echo=10 lqr=off bap=off idle=off

set ppp=0 iprequest=on username="branch office 2" password=branch2

Enable IP

enable ip

Define the vlan1 interface address. This VLAN connects the router to the branch office LAN.

add ip int=vlan1 ip=192.168.142.254

The interface ppp0 (over virtual ethernet and ATM/ADSL) provides the Internet connection
interface. Enable IP remote assignment, to allow your ISP to dynamically assign an IP address
to ppp0.

enable ip remote

Configure a temporary null address.

add ip int=ppp0 ip=0.0.0.0

Add a default route out the ADSL PPP interface. When using PPP, it is valid to define a null
value next hop.

add ip rou=0.0.0.0 mask=0.0.0.0 int=ppp0 next=0.0.0.0

2.

Configure ADSL for internet access

3.

Configure PPP for PPPoE

4.

Configure IP