We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

OSPF

Medium Priority
622 Views
Last Modified: 2012-05-11
Hi i have configured ospf, between R1 and R2. connected those router with serial links. i want that,
 
1-R1 Should send routes to R2 via S0/0
2-R2 should send routes to R1 via S0/0
3-When S0/0 link goes down traffic should route from S0/1

below is my running cofig of both routes.

###########################################################################

R1# Current configuration : 1286 bytes

!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
ip subnet-zero
!
!
ip cef
no ip domain lookup
no ip dhcp use vrf connected

!
no crypto isakmp ccm
!

interface Loopback1
 ip address 1.1.1.1 255.255.255.0
!
interface Loopback2
 ip address 2.2.2.2 255.255.255.0
!
interface Serial0/0
 ip address 11.11.11.11 255.255.255.0
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial0/1
 ip address 12.12.12.12 255.255.255.0
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial0/2
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial0/3
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
router ospf 5
 log-adjacency-changes
 network 1.1.1.0 0.0.0.255 area 0
 network 2.2.2.0 0.0.0.255 area 0
 network 11.11.11.0 0.0.0.255 area 0
 network 12.12.12.0 0.0.0.255 area 0
!
no ip http server
no ip http secure-server
ip classless

R1#show ip route ospf
     5.0.0.0/32 is subnetted, 1 subnets
O       5.5.5.5 [110/65] via 12.12.12.13, 00:11:54, Serial0/1
                [110/65] via 11.11.11.12, 00:11:54, Serial0/0
     6.0.0.0/32 is subnetted, 1 subnets
O       6.6.6.6 [110/65] via 12.12.12.13, 00:11:54, Serial0/1
                [110/65] via 11.11.11.12, 00:11:54, Serial0/0

###########################################################################

R2# Current configuration : 1290 bytes

!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
ip subnet-zero
!
!
ip cef
no ip domain lookup
no ip dhcp use vrf connected
!

no crypto isakmp ccm
!
interface Loopback1
 ip address 5.5.5.5 255.255.255.255
!
interface Loopback2
 ip address 6.6.6.6 255.255.255.255
!
interface Serial0/0
 ip address 11.11.11.12 255.255.255.0
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial0/1
 ip address 12.12.12.13 255.255.255.0
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial0/2
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
interface Serial0/3
 no ip address
 shutdown
 serial restart-delay 0
 no dce-terminal-timing-enable
!
router ospf 5
 log-adjacency-changes
 network 5.5.5.0 0.0.0.255 area 0
 network 6.6.6.0 0.0.0.255 area 0
 network 11.11.11.0 0.0.0.255 area 0
 network 12.12.12.0 0.0.0.255 area 0
!
no ip http server
no ip http secure-server
ip classless


R2#show ip route ospf
     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/65] via 12.12.12.12, 00:12:59, Serial0/1
                [110/65] via 11.11.11.11, 00:12:59, Serial0/0
     2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/65] via 12.12.12.12, 00:12:59, Serial0/1
                [110/65] via 11.11.11.11, 00:12:59, Serial0/0

#######################################################################


1-R1 Should send routes to R2 via S0/0
2-R2 should send routes to R1 via S0/0
3-When S0/0 link goes down of R1,R2  traffic should route from S0/1

thx


P-to-P.jpeg
Comment
Watch Question

Sr.Net.Eng
CERTIFIED EXPERT
Top Expert 2011
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Top Expert 2010
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Top Expert 2010
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.