4.4.1. OSPF on the private network, 4.4 continued
Router A ( First remove the 2 static routes to the private network sites, leave default route
#
# Frame Relay Configuration
# Note: By default LMI is set to "LMIrev1" which is the same as "cisco" LMI type.
create fr=0 over=syn0
add fr=0 li=1 type=ptp
add fr=0 li=2 type=ptp
add fr=0 li=3 type=ptp
set fr=0 dlc=102 li=2
set fr=0 dlc=103 li=3
set fr=0 dlc=104 li=1
#
# IP Configuration
#
enable ip
add ip int=fr0.2 ip=192.168.254.1 mask=255.255.255.252
add ip int=fr0.3 ip=192.168.254.5 mask=255.255.255.252
add ip int=fr0.1 ip=200.200.200.1 mask=255.255.255.252
add ip int=eth0 ip=192.168.1.1
add ip route=0.0.0.0 next=0.0.0.0 mask=0.0.0.0 int=fr0.1 dlc=104
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.1.2 mask=255.255.255.255 port=smtp gblip=200.200.200.1 gblport=smtp proto=tcp
#
# OSPF Configuration
#
set ospf routerid=192.168.254.1 asexternal=on
add ospf area=backbone stubarea=off summary=send
add ospf range=192.168.254.0 area=backbone mask=255.255.255.0
add ospf interface=fr0.2 area=backbone
add ospf interface=fr0.3 area=backbone
enable ospf
Helpful Scripts
Revision 5.8.7; 5 April 2001
Helpful Scripts
Page
19
Need help?
Do you have a question about the AR Router and is the answer not in the manual?
Questions and answers