Ppp Over Dds For Internet (Nat To Smtp Server) And Private Networks - Allied Telesis AR Router Configuration

Ar router series
Table of Contents

Advertisement

2.3. PPP over DDS for Internet (NAT to SMTP
Server) and Private networks
M ail Server
192.168.10.2
192.168.10.0
192.168.254.0
192.168.20.0
C ent reC O M A R 30 0
A cces s R ou t er
Note: Be aware that with many Internet Providers it may be more suitable to turn LQR (link quality reporting) off on PPP
links, and instead use LCP Echo Request and Echo Reply messages to determine link quality (echo=on). Simply add
'lqr=off echo=on' to the PPP creation command.
Router A
#
# PPP Configuration
#
create ppp=0 over=syn0
create ppp=1 over=syn1
#
# IP Configuration
#
enable ip
add ip int=eth0 ip=192.168.10.1
add ip int=ppp1 ip=192.168.254.1
add ip int=ppp0 ip=200.200.200.1 mask=255.255.255.252
add ip route=0.0.0.0 next=0.0.0.0 int=ppp0
add ip route=192.168.20.0 next=0.0.0.0 int=ppp1
enable ip nat
enable ip nat log=all
add ip nat ip=192.168.0.0 mask=255.255.0.0
gblip=200.200.200.1
add ip nat ip=192.168.10.2 mask=255.255.255.255 port=smtp
gblip=200.200.200.1 gblport=smtp proto=tcp
Helpful Scripts
Revision 5.8.7; 5 April 2001
Site A
C ent reC O M A R 30 0
A cces s R ou t er
LAN
W AN
SYST EM
ppp1
Private
ppp0
Site B
LAN
W AN
SY STEM
200.200.200.0/30
ppp0
NA T Public
Router B
#
# PPP Configuration
#
create ppp=0 over=syn0
#
# IP Configuration
#
enable ip
add ip int=eth0 ip=192.168.20.1
add ip int=ppp0 ip=192.168.254.2
add ip route=0.0.0.0 next=0.0.0.0 int=ppp0
Helpful Scripts
Internet
Page
9

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AR Router and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Ar router series

Table of Contents