beautypg.com

Allied Telesis AR700 SERIES Software Release 2.7.1 User Manual

Page 89

background image

89

Software Release 2.7.1
C613-02047-00 REV A

To configure IP follow these steps

The following steps are required:

1.

Configure the PPP Link.

2.

Configure the IP routing module on both routers.

3.

Test the configuration.

4.

Save the configuration.

1.

Configure the PPP Link

Refer to other sections of this guide on how to configure PPP interface 0 on
each router to use the wide area link.

See

“Point to Point Protocol (PPP)” on page 70

for information about

configuring PPP to use a synchronous link.

See

“Configuring ISDN” on page 76

for information about configuring

PPP to use an ISDN call.

If the PPP interface is configured for dial-on-demand operation
(see

“Configuring ISDN Dial on Demand” on page 81

) or bandwidth on

demand operation (see

“Configuring ISDN Bandwidth on Demand” on

page 82“Configuring ISDN Bandwidth on Demand” on page 82

), these

services are automatically used by the IP routing software.

2.

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 ETH port
and one for the wide area link:

add ip int=eth0 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 ETH port and one for the wide area link:

add ip int=eth0 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.