Configurations

Configurations

Central Office Router

set system name=Central_Office enable l2tp

enable l2tp server=both

add l2tp call="tunnel" rem="tunnel" ip=10.10.10.2 ty=virtual prec=in

create vlan="vlan2" vid=2 add vlan="2" port=3,4

create ppp=0 over=tnl-tunnel

set ppp=0 bap=off username="chap" password="chap"

enable ip

add ip int=eth0 ip=10.10.10.1 mask=255.255.255.0 add ip int=ppp0 ip=192.168.1.1

add ip int=vlan1 ip=222.222.1.1 add ip int=vlan2 ip=222.222.2.1

add ip rou=10.10.10.0 mask=255.255.255.0 int=eth0 next=10.10.10.2 add ip rip int=ppp0 send=rip2 receive=rip2

set ip riptimer update=15 invalid=90 holddown=60 flush=150

set ospf routerid=222.222.1.1 rip=both

add ospf area=backbone stubarea=off summary=send

add ospf range=222.222.1.0 area=backbone mask=255.255.255.0 add ospf range=222.222.2.0 area=backbone mask=255.255.255.0 add ospf interface=vlan1 area=backbone

add ospf interface=vlan2 area=backbone enable ospf

Page 5 AlliedWare™ OS How To Note: Dynamic Routing over L2TP

Page 5
Image 5
Allied Telesis L2TP Tunnel manual Configurations, Central Office Router