Thursday, March 3, 2011

Lab 22 - OSPF Path Influencing Using Neighbor Cost

Prerequisites: CCNP level skills.

Note!
Use OSPF point-to-multipoint on the Frame-Relay connections (configuration and topology from Lab20).

Topology

Pic. 1 - OSPF Topology.
Icons designed by: Andrzej Szoblik - http://www.newo.pl

Task 1
On R1 check the paths towards 10.1.23.0/24.

Task 2
Manipulate the OSPF cost so R1 prefers R2 towards 10.1.23.0/24. Do not use 'ip ospf cost' or 'bandwidth' commands.

Lab Solution

Task 1
On R1 check the paths towards 10.1.23.0/24.

Pic. 2 - R1's Routing Table. 
Task 2
Manipulate the OSPF cost so R1 prefers R2 towards 10.1.23.0/24. Do not use 'ip ospf cost' or 'bandwidth' commands.

R1 Configuration:
!
router ospf 1
 router-id 1.1.1.1
 log-adjacency-changes
 network 10.1.1.1 0.0.0.0 area 0
 network 172.16.101.1 0.0.0.0 area 0
 neighbor 10.1.1.3 cost 66
!

Verification:

Pic. 3 - R1's Routing Table.

Note!
The 'neighbor address cost' command can only be used with OSPF point-to-multipoint mode.

Pic. 4 - OSPF Neighbor Cost Warning.