05 February 2014

Redistribute RIP into OSPF and Vice Versa

Example of the network



R1#sh ip route
------------------*----------------------
Gateway of last resort is not set

     20.0.0.0/24 is subnetted, 1 subnets
C       20.1.1.0 is directly connected, FastEthernet0/0
     172.12.0.0/24 is subnetted, 2 subnets
O       172.12.34.0 [110/11] via 172.12.13.3, 00:01:29, Ethernet0/0
C       172.12.13.0 is directly connected, Ethernet0/0

-------------

R2#traceroute 172.12.34.1

Type escape sequence to abort.
Tracing the route to 172.12.34.1

  1 20.1.1.1 56 msec 40 msec 20 msec
  2 172.12.13.3 60 msec 80 msec 72 msec

-------------

R3#ping 20.1.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 20.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/51/72 ms

R1#sh run | sec router rip
router rip
 version 2
 redistribute ospf 1 metric 2
 network 20.0.0.0
 no auto-summary

When you redistribute one protocol into another, remember that the metrics of each protocol play an important role in redistribution.

-------------

R1#sh run | sec router ospf
router ospf 1
 router-id 1.1.1.1
 log-adjacency-changes
 redistribute rip subnets
 network 172.12.13.1 0.0.0.0 area 0

Theory Here


biOos

No comments: