WAN Configuration for Numbered Point to PointUPDATED: August 26, 1999PortMaster (TM) ModelsEach of the following models are equipped with synchronous ports that can be used as
WAN interfaces. The synchronous ports for each unit are listed as follows:
SummaryPoint-to-point numbered refers to connections where the interfaces connecting the routers to the WAN have IP addresses. On both WAN ports, the address of the WAN port is set to an IP address on a common IP network, and the destination addresses are set to the IP address of WAN port of the unit on the far side of the link. ====ETHERNET===================== 192.168.1.0/24 === | | E0 ip: 192.168.1.100 +-------+--------+ | E0 | | LUCENT A | | W1 | +-------+--------+ | W1 ip: 192.168.54.1 / 255.255.255.252 | [-] CSU/DSU | | PTP WAN | [-] CSU/DSU | | W1 ip: 192.168.54.2 / 255.255.255.252 +-------+--------+ | W1 | | LUCENT B | | E0 | +-------+--------+ | 192.168.2.200 | ====ETHERNET===================== 192.168.2.0/24 === Before You Start
If you do not plan to connect you network to the Internet, you can use an IP network address set aside for private use. The IP network address for private use can be found in RFC1597. Most people will use 192.168.0.0. For all products except the PortMaster 3 which has built in CSU/DSUs: Configuring The WAN PortsIn this example, we are going to assume the following:
The IP addresses used in this Technical Note are example only, you will need to use an IP network given to you by your Internet Service Provider. # PortMaster A set address 192.168.1.100 # set ethernet IP address set netmask 255.255.255.0 set w1 network hardwire set w1 address 192.168.54.1 # IP address required for local wan port set w1 destination 192.168.54.2 # IP address of the router WAN port at opposite end set w1 netmask 255.255.255.252 set w1 modem on # This can be off if circuit flaps too much set w1 protocol ppp set w1 rip on # This sets IP Routing Information Protocol on set w1 mtu 1500 # Maximum Transfer Unit save all reset w1 # PortMaster B set address 192.168.2.200 # set ethernet IP address set netmask 255.255.255.0 set gateway 192.168.54.1 # IP address of upstream router set w1 network hardwire set w1 address 192.168.54.2 # IP address required for local wan port set w1 destination 192.168.54.1 # IP address of the router wan port at opposite end set w1 netmask 255.255.255.0 set w1 modem on # This can be off if circuit flaps too much set w1 protocol ppp set w1 routing on # This sets IP Routing Information Protocol on set w1 mtu 1500 # Maximum Transfer Unit save all reset w1 TroubleshootingIf the port does not have an "ESTABLISHED" status do the following: You should see the PPP negotiation and see the status of the WAN port change to established. At this point you should be able to ping the other side. set console set debug 0x51 Put the CSU/DSU into a local loopback. This will cause each packet sent to the CSU/DSU to reflect back to the WAN port. This is for testing only, the line will not function while the CSU/DSU is in a local loopback. If you see "LCP: Apparent Loop", then you can determine the following facts:
If you don't get apparent loops:
If you get apparent loops and the status is not established:
If the port status is "ESTABLISHED" but you can't ping the other side.
A powerful trouble-shooting tool is the packet filter This packet filter will show all pings passing through the PortMaster on which packet filter is located. It will NOT show pings originating from the PortMaster. add filter p set filter p 1 permit icmp To enable ptrace, enter the following commands: reset console # Turns off any output of packet headers the ptrace filter denies from coming to the screen ptrace p ext To disable ptrace, enter the following command: ptrace |