Skip to content

IGP Route Redistribution

18 February 2010
IGP Route Redistribution

Topology:


We concern on Router cnc1

The full syntax of the redistribute command is as follows:
redistribute protocol [process-id] [level-1 | level-1-2 | level-2] [as-number] [metric
metric-value] [metric-type type-value] [match {internal | external 1 | external 2}] [tag
tag-value] [route-map map-tag] [subnets]

EIGRP redistributes from OSPF (process ID 100) and RIP
---------------------------------------------------
router eigrp 100
 redistribute ospf 100 metric 1544 5 255 1 500
 redistribute rip metric 1544 5 255 1 500
 network 192.168.10.0
 no auto-summary

ps: metric components of bandwidth,
delay, reliability, load, and MTU

OSPF redistributes from EIGRP (ASN 100) and RIP
---------------------------------------------------
router ospf 100
 router-id 1.1.1.1
 log-adjacency-changes
 redistribute rip subnets
 redistribute eigrp 100 subnets
 network 192.168.10.0 0.0.0.3 area 0

RIP redistributes from OSPF (process ID 100) and EIGRP (ASN 100)
----------------------------------------------------
router rip
 version 2
 redistribute ospf 100 metric 3
 redistribute eigrp 100 metric 2
 network 192.168.10.0
 no auto-summary
----------------------------------------------------

How to check :

cnc6#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2
 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 ia - IS-IS inter area, * - candidate default, U - per-user static route
 o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/3] via 192.168.10.34, 00:00:07, FastEthernet0/0
     3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/2] via 192.168.10.34, 00:00:07, FastEthernet0/0
     192.168.10.0/24 is variably subnetted, 6 subnets, 2 masks
O E2    192.168.10.96/27 [110/20] via 192.168.10.34, 00:00:07, FastEthernet0/0
O E2    192.168.10.64/30 [110/20] via 192.168.10.34, 00:00:07, FastEthernet0/0
C       192.168.10.32/27 is directly connected, FastEthernet0/0
O       192.168.10.0/30 [110/2] via 192.168.10.34, 00:00:07, FastEthernet0/0
O E2    192.168.10.4/30 [110/20] via 192.168.10.34, 00:00:07, FastEthernet0/0
O E2    192.168.10.8/30 [110/20] via 192.168.10.34, 00:00:07, FastEthernet0/0
    6.0.0.0/32 is subnetted, 1 subnets
C       6.6.6.6 is directly connected, Loopback0
cnc6#

cnc3#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2
 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 ia - IS-IS inter area, * - candidate default, U - per-user static route
 o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/2] via 192.168.10.2, 00:00:08, FastEthernet1/0
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     192.168.10.0/24 is variably subnetted, 6 subnets, 2 masks
O E2    192.168.10.96/27 [110/20] via 192.168.10.2, 00:00:08, FastEthernet1/0
O E2    192.168.10.64/30 [110/20] via 192.168.10.2, 00:00:08, FastEthernet1/0
C       192.168.10.32/27 is directly connected, FastEthernet0/0
C       192.168.10.0/30 is directly connected, FastEthernet1/0
O E2    192.168.10.4/30 [110/20] via 192.168.10.2, 00:00:08, FastEthernet1/0
O E2    192.168.10.8/30 [110/20] via 192.168.10.2, 00:00:08, FastEthernet1/0
     6.0.0.0/32 is subnetted, 1 subnets
O       6.6.6.6 [110/2] via 192.168.10.33, 00:00:08, FastEthernet0/0
cnc3#

cnc1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2
 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 ia - IS-IS inter area, * - candidate default, U - per-user static route
 o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

    1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
    3.0.0.0/32 is subnetted, 1 subnets
O       3.3.3.3 [110/2] via 192.168.10.1, 00:00:54, FastEthernet0/0
    192.168.10.0/24 is variably subnetted, 6 subnets, 2 masks
R       192.168.10.96/27 [120/1] via 192.168.10.6, 00:00:06, FastEthernet1/0
D       192.168.10.64/30
 [90/30720] via 192.168.10.10, 00:01:33, FastEthernet2/0
O       192.168.10.32/27 [110/2] via 192.168.10.1, 00:00:54, FastEthernet0/0
C       192.168.10.0/30 is directly connected, FastEthernet0/0
C       192.168.10.4/30 is directly connected, FastEthernet1/0
C       192.168.10.8/30 is directly connected, FastEthernet2/0
    6.0.0.0/32 is subnetted, 1 subnets
O       6.6.6.6 [110/3] via 192.168.10.1, 00:00:54, FastEthernet0/0
cnc1#

cnc2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2
 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 ia - IS-IS inter area, * - candidate default, U - per-user static route
 o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

    1.0.0.0/32 is subnetted, 1 subnets
R       1.1.1.1 [120/3] via 192.168.10.5, 00:00:03, FastEthernet0/0
    3.0.0.0/32 is subnetted, 1 subnets
R       3.3.3.3 [120/3] via 192.168.10.5, 00:00:03, FastEthernet0/0
    192.168.10.0/24 is variably subnetted, 6 subnets, 2 masks
C       192.168.10.96/27 is directly connected, FastEthernet1/0
R       192.168.10.64/30 [120/2] via 192.168.10.5, 00:00:03, FastEthernet0/0
R       192.168.10.32/27 [120/3] via 192.168.10.5, 00:00:03, FastEthernet0/0
R       192.168.10.0/30 [120/1] via 192.168.10.5, 00:00:03, FastEthernet0/0
C       192.168.10.4/30 is directly connected, FastEthernet0/0
R       192.168.10.8/30 [120/1] via 192.168.10.5, 00:00:03, FastEthernet0/0
    6.0.0.0/32 is subnetted, 1 subnets
R       6.6.6.6 [120/3] via 192.168.10.5, 00:00:03, FastEthernet0/0
cnc2#

cnc5#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2
 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 ia - IS-IS inter area, * - candidate default, U - per-user static route
 o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

R    1.0.0.0/8 [120/4] via 192.168.10.97, 00:00:45, FastEthernet0/0
R    3.0.0.0/8 [120/4] via 192.168.10.97, 00:00:45, FastEthernet0/0
   192.168.10.0/24 is variably subnetted, 6 subnets, 2 masks
C       192.168.10.96/27 is directly connected, FastEthernet0/0
R       192.168.10.64/30 [120/3] via 192.168.10.97, 00:00:45, FastEthernet0/0
R       192.168.10.32/27 [120/4] via 192.168.10.97, 00:00:45, FastEthernet0/0
R       192.168.10.0/30 [120/2] via 192.168.10.97, 00:00:45, FastEthernet0/0
R       192.168.10.4/30 [120/1] via 192.168.10.97, 00:00:45, FastEthernet0/0
R       192.168.10.8/30 [120/2] via 192.168.10.97, 00:00:45, FastEthernet0/0
R    6.0.0.0/8 [120/4] via 192.168.10.97, 00:00:45, FastEthernet0/0
cnc5#

cnc4#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2
 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 ia - IS-IS inter area, * - candidate default, U - per-user static route
 o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

    1.0.0.0/32 is subnetted, 1 subnets
D EX    1.1.1.1 [170/1661696] via 192.168.10.9, 00:01:56, FastEthernet0/0
    3.0.0.0/32 is subnetted, 1 subnets
D EX    3.3.3.3 [170/1661696] via 192.168.10.9, 00:01:17, FastEthernet0/0
    192.168.10.0/24 is variably subnetted, 6 subnets, 2 masks
D EX    192.168.10.96/27
    [170/1661696] via 192.168.10.9, 00:01:56, FastEthernet0/0
C       192.168.10.64/30 is directly connected, FastEthernet1/0
D EX    192.168.10.32/27
   [170/1661696] via 192.168.10.9, 00:01:17, FastEthernet0/0
D       192.168.10.0/30 [90/30720] via 192.168.10.9, 00:01:56, FastEthernet0/0
D       192.168.10.4/30 [90/30720] via 192.168.10.9, 00:01:56, FastEthernet0/0
C       192.168.10.8/30 is directly connected, FastEthernet0/0
 6.0.0.0/32 is subnetted, 1 subnets
D EX    6.6.6.6 [170/1661696] via 192.168.10.9, 00:01:17, FastEthernet0/0
cnc4#

cnc7#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
 D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 E1 - OSPF external type 1, E2 - OSPF external type 2
 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 ia - IS-IS inter area, * - candidate default, U - per-user static route
 o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

    1.0.0.0/32 is subnetted, 1 subnets
D EX    1.1.1.1 [170/1664256] via 192.168.10.65, 00:00:00, FastEthernet0/0
    3.0.0.0/32 is subnetted, 1 subnets
D EX    3.3.3.3 [170/1664256] via 192.168.10.65, 00:00:00, FastEthernet0/0
    192.168.10.0/24 is variably subnetted, 6 subnets, 2 masks
D EX    192.168.10.96/27
    [170/1664256] via 192.168.10.65, 00:00:00, FastEthernet0/0
C       192.168.10.64/27 is directly connected, FastEthernet0/0
D EX    192.168.10.32/27
    [170/1664256] via 192.168.10.65, 00:00:01, FastEthernet0/0
D       192.168.10.0/30
    [90/33280] via 192.168.10.65, 00:00:01, FastEthernet0/0
D       192.168.10.4/30
    [90/33280] via 192.168.10.65, 00:00:01, FastEthernet0/0
D       192.168.10.8/30
    [90/30720] via 192.168.10.65, 00:00:01, FastEthernet0/0
    6.0.0.0/32 is subnetted, 1 subnets
D EX    6.6.6.6 [170/1664256] via 192.168.10.65, 00:00:01, FastEthernet0/0
cnc7#

cnc6#ping 192.168.10.98
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.98, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 576/613/648 ms
cnc6#

cnc6#ping 192.168.10.66
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.66, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 480/560/644 ms
cnc6#
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: