beautypg.com

Allied Telesis AR700 SERIES Software Release 2.7.1 User Manual

Page 106

background image

106

AR700 Series Router User Guide

Software Release 2.7.1
C613-02047-00 REV A

To configure a basic OSPF network follow these steps

The following steps are required:

1.

Configure the PPP and Ethernet interfaces on router 1.

2.

Configure router 1 as an OSPF router.

3.

Configure the PPP and Ethernet interfaces on router 2.

4.

Configure router 2 as an OSPF router.

1.

Configure the PPP and Ethernet interfaces on router 1.

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.1 mask=255.255.255.0

ospfmetric=1

add ip interface=eth0 ip=172.31.1.1 mask=255.255.255.0

ospfmetric=1

2.

Configure router 1 as an OSPF router.

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

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=asecret

add ospf interface=ppp0 area=0.0.0.1 password=bsecret

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 Software Reference.