beautypg.com

Allied Telesis AlliedWare NetScreen Routers User Manual

Page 5

background image

Use Dynamic DNS To Allow You To Host Servers Behind A Dynamically-Assigned Public IP Address

5

Configure the PPP link to each ISP. Use the username and password settings that your ISP
provides.

For the primary ADSL link, use the commands:

create ppp=0 over=atm0.1 lqr=off echo=10

set ppp=0 bap=off iprequest=on username=username

password=password

For the backup ISDN link, use the commands:

create ppp=1 over=isdn-backup idle=300 iprequest=on

username=username password=password lqr=off echo=10 bap=off

Enable IP, allow the router to obtain its addresses remotely, and assign an IP address to the
WAN interface. Use the commands:

enable ip

enable ip remote

add ip int=vlan1 ip=your-private-side-ip-address

If your ISP does not provide DNS server addresses as part of the dynamic IP configuration,
specify DNS servers for the router to use. See

“DNS server assignment” on page 3

for more

information.

add ip dns primary=ip-of-primary-dns-server

secondary=ip-of-secondary-dns-server

For the primary ADSL link, assign an unnumbered address to the link and create a default
route. Use the commands:

add ip int=ppp0 ip=0.0.0.0 mask=0.0.0.0

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

For the backup ISDN link, assign an unnumbered address to the link and create a default
route with a higher preference value than the route over the primary link. This ensures that
the backup link is only used if the primary link goes down. Use the command:

add ip int=ppp1 ip=0.0.0.0 mask=0.0.0.0

add ip rou=0.0.0.0 mask=0.0.0.0 int=ppp1 next=0.0.0.0 pref=500

3.

Configure PPP

4.

Configure IP