beautypg.com

Allied Telesis AR400 Series Router User Manual

Page 117

background image

Routing

117

Software Release 2.6.1
C613-02021-00 REV D

3.

Configure the PPP and Ethernet interfaces on router 2.

To create IP interfaces to use the PPP and Ethernet interfaces, and assign an
OSPF metric to each IP interface, enter the command:

CREATE PPP=0 OVER=SYN0

ENABLE IP

ADD IP INTERFACE=PPP0 IP=172.31.2.2 MASK=255.255.255.0

OSPFMETRIC=1

ADD IP INTERFACE=ETH0 IP=172.31.108.10 MASK=255.255.255.0

OSPFMETRIC=1

4.

Configure router 2 as an OSPF router.

To create an OSPF area, assign the IP interfaces to the area, and configure
OSPF routing parameters, enter the command:

ENABLE OSPF

ADD OSPF AREA=0.0.0.1 AUTHENTICATION=PASSWORD

ADD OSPF RANGE=172.31.0.0 AREA=0.0.0.1 MASK=255.255.0.0

ADD OSPF INTERFACE=ETH0 AREA=0.0.0.1 PASSWORD=csecret

ADD OSPF INTERFACE=PPP0 AREA=0.0.0.1 PASSWORD=bsecret

For more information about configuring OSPF, see the Open Shortest Path First
(OSPF)
chapter in the AR400 Series Router Software Reference.