beautypg.com

Allied Telesis AR400 Series Router User Manual

Page 98

background image

98

AR400 Series Router User Guide

Software Release 2.6.1
C613-02021-00 REV D

3.

Configure IP Routing

To clear any pre-existing IP configuration and turn on the IP routing
software on each router, enter the commands:

PURGE IP

ENABLE IP

On the Head Office router define two IP interfaces, one for the VLAN and
one for the wide area link:

ADD IP INT=VLAN2 IP=172.16.8.33 MASK=255.255.255.0

ADD IP INT=PPP0 IP=172.16.254.1 MASK=255.255.255.0

Repeat this procedure on the Remote Office router, defining one IP
interface for the VLAN and one for the wide area link:

ADD IP INT=VLAN3 IP=192.168.31.30 MASK=255.255.255.240

ADD IP INT=PPP0 IP=172.16.254.2 MASK=255.255.255.0

A routing protocol, such as RIP, can be enabled so that the routers can
exchange information about routes to all of the IP devices (hosts, PCs, file
servers, etc.) on the internet. However, on a dial-on-demand ISDN
connection this may result in excessive call charges. So for this example
static routes are defined. On the Head Office router enter the command:

ADD IP ROUTE=192.168.31.0 MASK=255.255.255.240 INT=PPP0

NEXT=172.16.254.2

Repeat this procedure for the Remote Office router, entering the command:

ADD IP ROUTE=172.16.8.0 MASK=255.255.255.0 INT=PPP0

NEXT=172.16.254.1

The IP routing software is now configured and operational on both routers.

4.

Test the configuration.

Check the IP configuration using the following commands and then
functionally test the configuration by establishing a Telnet (remote access)
connection to the remote router.

To check the routes, enter the command (on either router):

SHOW IP ROUTE

For each router, there should be a route to the LAN and PPP interfaces on
the local router and a route to the LAN interface on the remote router.

Test the PPP link between the two routers using the PING command on
each router to send ping packets to the router at the remote end of the PPP
link. On the Head Office router, enter the command:

PING 192.168.31.30

On the Remote Office router, enter the command:

PING 172.16.8.33

Within a few seconds the router will display a message like:

Echo reply 1 from 172.16.8.33 time delay 20 ms

indicating a response was received from the router at the remote end of the
PPP link.

To functionally test the connection between the two routers, use Telnet to
establish a connection to the remote router. Enter the following command
on the Head Office router to connect to the Remote Office router:

TELNET 192.168.31.30