Allied Telesis AR440S Network Card User Manual


 
Page 48 | AlliedWare™ OS How To Note: VPNs for Corporate Networks
branch office 2
Branch office 2 AR440S configuration—the PPPoEoA
site with a dynamically assigned IP address
# SYSTEM configuration
set system name=Branch2
# USER configuration
set user securedelay=600
# Define a security officer.
add user=secoff pass=<your secoff password> priv=securityofficer
lo=yes telnet=yes
# Change the manager privilege user’s password.
set user=manager password=<your-password>
# RADIUS configuration
# If desired, add a RADIUS authentication server for authenticating
# users.
add radius server=<radius-server-address> secret=<secret-key>
# ATM configuration
create atm=0 over=adsl0
add atm=0 channel=1
# ETH configuration
# Create a virtual ethernet interface over ATM.
create eth=0 over=atm0.1
# ADSL configuration
enable adsl=0
# PPP configuration for PPPoE
# Create the PPP interface that the router uses to connect to the
# ISP. Use iprequest=on so that the interface obtains its address
# dynamically from the ISP.
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
pass
# IP configuration
enable ip
add ip int=vlan1 ip=192.168.142.254
# Configure a temporary null address, because the interface gets its
# address through remote assignment.
enable ip remote
add ip int=ppp0 ip=0.0.0.0
add ip rou=0.0.0.0 mask=0.0.0.0 int=ppp0 next=0.0.0.0