redistribution help

From: marc edwards <renorider_at_gmail.com>
Date: Sat, 25 Feb 2012 10:22:40 -0800

Hello all:

I know there have been plenty of off topics running round. I have a pretty
on topic question/confusion about redistribution. I have a very good
fundamental understanding of protocols. I would also argue that I do
understand basic redistribution and can perform it with ease. It is in some
of the more complex environments with mutual redistribution and
multiple redistribution into 3 igps. That really throws me. I have been
working in a self built GNS3 lab that has enough IGP touch points to throw
some nasty routing loops in the network.

http://cisco-voyage.blogspot.com/

Why don't we work on staying on topic and share thoughts about this. Look
at the diagram. What would be required to have stalbe/full/reachbility to
all interfaces in my little network if required to mutually redistribute
all IGPs on R1 (EIGRP,RIP,OSPF), R2 (RIP,OSPF), R3 (OSPF,EIGRP) and also
redistribute connected? Can you come up with appropriate filtering?

Also, instead of just stating ' you can tag in R1' etc. lets see
configurations. I have this running in GNS3. Could open a webex all weekend
and we can do what this group is intended for... CCIE Lab study :)

Regards,

Marc
marc edwards
10:04 AM (17 minutes ago)
to Cisco
So I have been starting to redistribute and now seeing this on R1:
*Mar 4 12:35:42.435: RT: NET-RED 172.20.106.0/24
*Mar 4 12:35:42.439: RT: add 6.6.6.0/24 via 172.20.136.6, eigrp metric
[170/2297856]
*Mar 4 12:35:42.439: RT: NET-RED 6.6.6.0/24
*Mar 4 12:35:42.439: RT: add 172.20.106.0/24 via 172.20.136.6, eigrp
metric [170/2297856]
*Mar 4 12:35:42.439: RT: NET-RED 172.20.106.0/24
*Mar 4 12:35:47.387: RT: closer admin distance for 6.6.6.0, flushing 1
routes
*Mar 4 12:35:47.391: RT: NET-RED 6.6.6.0/24
*Mar 4 12:35:47.395: RT: add 6.6.6.0/24 via 172.20.124.2, rip metric
[120/8]
*Mar 4 12:35:47.399: RT: NET-RED 6.6.6.0/24
*Mar 4 12:35:47.403: RT: closer admin distance for 172.20.106.0, flushing
1 routes
*Mar 4 12:35:47.407: RT: NET-RED 172.20.106.0/24
*Mar 4 12:35:47.407: RT: add 172.20.106.0/24 via 172.20.124.2, rip metric
[120/8]
*Mar 4 12:35:47.411: RT: NET-RED 172.20.106.0/24
*Mar 4 12:35:52.455: RT: del 6.6.6.0/24 via 172.20.124.2, rip metric
[120/8]
*Mar 4 12:35:52.459: RT: delete subnet route to 6.6.6.0/24
*Mar 4 12:35:52.463: RT: NET-RED 6.6.6.0/24
*Mar 4 12:35:52.467: RT: delete network route to 6.0.0.0
*Mar 4 12:35:52.467: RT: NET-RED 6.0.0.0/8
*Mar 4 12:35:52.475: RT: del 172.20.106.0/24 via 172.20.124.2, rip metric
[120/8]
*Mar 4 12:35:52.475: RT: delete subnet route to 172.20.106.0/24

This on R2

r2#debug ip routing
IP routing debugging is on
r2#
*Mar 4 12:34:36.047: RT: add 6.6.6.0/24 via 172.20.123.1, ospf metric
[110/20]
*Mar 4 12:34:36.051: RT: NET-RED 6.6.6.0/24
*Mar 4 12:34:36.151: RT: add 172.20.106.0/24 via 172.20.123.1, ospf metric
[110/20]
*Mar 4 12:34:36.151: RT: NET-RED 172.20.106.0/24
*Mar 4 12:34:41.067: RT: del 6.6.6.0/24 via 172.20.123.1, ospf metric
[110/20]
*Mar 4 12:34:41.071: RT: delete subnet route to 6.6.6.0/24
*Mar 4 12:34:41.075: RT: NET-RED 6.6.6.0/24
*Mar 4 12:34:41.079: RT: delete network route to 6.0.0.0
*Mar 4 12:34:41.079: RT: NET-RED 6.0.0.0/8
*Mar 4 12:34:41.099: RT: del 172.20.106.0/24 via 172.20.123.1, ospf metric
[110/20]
*Mar 4 12:34:41.103: RT: delete subnet route to 172.20.106.0/24
*Mar 4 12:34:41.103: RT: NET-RED 172.20.106.0/24
*Mar 4 12:34:46.051: RT: add 6.6.6.0/24 via 172.20.123.1, ospf metric
[110/20]
*Mar 4 12:34:46.055: RT: NET-RED 6.6.6.0/24

r3#debug ip routing
IP routing debugging is on
r3#
*Mar 4 12:33:10.451: RT: del 6.6.6.0/24 via 172.20.123.1, ospf metric
[110/20]
*Mar 4 12:33:10.455: RT: delete subnet route to 6.6.6.0/24
*Mar 4 12:33:10.455: RT: NET-RED 6.6.6.0/24
*Mar 4 12:33:10.459: RT: delete network route to 6.0.0.0
*Mar 4 12:33:10.463: RT: NET-RED 6.0.0.0/8
*Mar 4 12:33:10.479: RT: add 6.6.6.0/24 via 172.20.136.6, eigrp metric
[170/2297856]
*Mar 4 12:33:10.483: RT: NET-RED 6.6.6.0/24
*Mar 4 12:33:10.591: RT: del 172.20.106.0/24 via 172.20.123.1, ospf metric
[110/20]
*Mar 4 12:33:10.591: RT: delete subnet route to 172.20.106.0/24
*Mar 4 12:33:10.591: RT: NET-RED 172.20.106.0/24
*Mar 4 12:33:10.591: RT: add 172.20.106.0/24 via 172.20.136.6, eigrp
metric [170/2297856]
*Mar 4 12:33:10.591: RT: NET-RED 172.20.106.0/24
*Mar 4 12:33:15.587: RT: closer admin distance for 6.6.6.0, flushing 1
routes
*Mar 4 12:33:15.591: RT: NET-RED 6.6.6.0/24
*Mar 4 12:33:15.595: RT: add 6.6.6.0/24 via 172.20.123.1, ospf metric
[110/20]

R4:

*Mar 4 12:34:54.819: RT: del 6.6.6.0/24 via 172.20.124.2, rip metric
[120/8]
*Mar 4 12:34:54.823: RT: delete subnet route to 6.6.6.0/24
*Mar 4 12:34:54.823: RT: NET-RED 6.6.6.0/24
*Mar 4 12:34:54.827: RT: delete network route to 6.0.0.0
*Mar 4 12:34:54.827: RT: NET-RED 6.0.0.0/8
*Mar 4 12:34:54.831: RT: del 172.20.106.0/24 via 172.20.124.2, rip metric
[120/8]
*Mar 4 12:34:54.835: RT: delete subnet route to 172.20.106.0/24
*Mar 4 12:34:54.839: RT: NET-RED 172.20.106.0/24
*Mar 4 12:34:59.823: RT: add 6.6.6.0/24 via 172.20.124.2, rip metric
[120/8]
*Mar 4 12:34:59.827: RT: NET-RED 6.6.6.0/24
*Mar 4 12:34:59.831: RT: add 172.20.106.0/24 via 172.20.124.2, rip metric
[120/8]
*Mar 4 12:34:59.835: RT: NET-RED 172.20.106.0/24
*Mar 4 12:35:04.807: RT: del 6.6.6.0/24 via 172.20.124.2, rip metric
[120/8]
*Mar 4 12:35:04.811: RT: delete subnet route to 6.6.6.0/24
*Mar 4 12:35:04.811: RT: NET-RED 6.6.6.0/24
*Mar 4 12:35:04.815: RT: delete network route to 6.0.0.0
*Mar 4 12:35:04.815: RT: NET-RED 6.0.0.0/8
*Mar 4 12:35:04.819: RT: del 172.20.106.0/24 via 172.20.124.2, rip metric
[120/8]
*Mar 4 12:35:04.823: RT: delete subnet route to 172.20.106.0/24
*Mar 4 12:35:04.827: RT: NET-RED 172.20.106.0/24

R1 config

!
hostname r1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
 log config
  hidekeys
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 172.20.124.1 255.255.255.0
 duplex auto
 speed auto
!
interface Serial0/0
 ip address 172.20.136.1 255.255.255.0
 encapsulation frame-relay
 clock rate 2000000
 frame-relay map ip 172.20.136.1 106
 frame-relay map ip 172.20.136.3 106
 frame-relay map ip 172.20.136.6 106 broadcast
 no frame-relay inverse-arp
 frame-relay lmi-type ansi
!
interface FastEthernet0/1
 ip address 172.20.123.1 255.255.255.0
 duplex auto
 speed auto
!
interface Serial0/1
 no ip address
 clock rate 2000000
!
interface Serial0/2
 no ip address
 shutdown
 clock rate 2000000
!
router eigrp 100
 redistribute rip metric 1 1 1 1 1
 network 172.20.136.0 0.0.0.255
 no auto-summary
!
router ospf 1
 log-adjacency-changes
 redistribute eigrp 100 subnets
 redistribute rip
 network 172.20.123.0 0.0.0.255 area 0
!
router rip
 version 2
 passive-interface default
 no passive-interface FastEthernet0/0
 network 172.20.0.0
 distribute-list rip_learned out
 no auto-summary
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
!
ip access-list standard rip->eigrp
 permit 4.4.4.0
 permit 172.20.124.0
 permit 172.20.104.0
ip access-list standard rip_learned
 permit 4.4.4.0
 permit 172.20.124.0
 permit 172.20.104.0
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
alias exec ship sh ip int brie | ex una
alias exec shirt sh ip route
!
line con 0
line aux 0
line vty 0 4
!
!
end

R2 Config

hostname r2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
 log config
  hidekeys
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 172.20.124.2 255.255.255.0
 duplex auto
 speed auto
!
interface Serial0/0
 no ip address
 encapsulation frame-relay IETF
 shutdown
 clock rate 2000000
 frame-relay lmi-type ansi
!
interface FastEthernet0/1
 ip address 172.20.123.2 255.255.255.0
 duplex auto
 speed auto
!
interface Serial0/1
 no ip address
 clock rate 2000000
!
interface Serial0/2
 no ip address
 shutdown
 clock rate 2000000
!
interface Serial0/3
 no ip address
 shutdown
 clock rate 2000000
!
router ospf 1
 log-adjacency-changes
 redistribute rip subnets
 network 172.20.123.0 0.0.0.255 area 0
!
router rip
 version 2
 redistribute ospf 1 metric 8
 passive-interface default
 no passive-interface FastEthernet0/0
 network 172.20.0.0
 no auto-summary
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
!
ip access-list standard ospf_routes
 permit 172.20.123.0
ip access-list standard rip_routes
 permit 4.4.4.0
 permit 172.20.124.0
 permit 172.20.104.0
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
alias exec ship sh ip int brie | ex una
alias exec shirt sh ip route
!
line con 0
 exec-timeout 0 0
line aux 0
line vty 0 4
!
!
end

R3 Config

!
hostname r3
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
 log config
  hidekeys
!
!
!
!
!
!
!
!
interface Loopback0
 ip address 172.20.103.3 255.255.255.0
!
interface Loopback1
 ip address 3.3.3.3 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface Serial0/0
 ip address 172.20.136.3 255.255.255.0
 encapsulation frame-relay
 clock rate 2000000
 frame-relay map ip 172.20.136.3 306
 frame-relay map ip 172.20.136.1 306
 frame-relay map ip 172.20.136.6 306 broadcast
 no frame-relay inverse-arp
 frame-relay lmi-type ansi
!
interface FastEthernet0/1
 ip address 172.20.123.3 255.255.255.0
 duplex auto
 speed auto
!
interface Serial0/1
 no ip address
 clock rate 2000000
!
interface Serial0/2
 no ip address
 shutdown
 clock rate 2000000
!
interface Serial0/3
 no ip address
 shutdown
 clock rate 2000000
!
router eigrp 100
 network 172.20.136.0 0.0.0.255
 no auto-summary
!
router ospf 1
 log-adjacency-changes
 redistribute connected subnets route-map connected->ospf
 network 172.20.123.0 0.0.0.255 area 0
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
!
!
!
!
route-map connected->ospf permit 10
 match interface Loopback0 Loopback1
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
alias exec ship sh ip int brie | ex una
alias exec shirt sh ip route
!
line con 0
 exec-timeout 0 0
line aux 0
line vty 0 4
!
!
end

R4 config

!
hostname r4
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
 log config
  hidekeys
!
!
!
!
!
!
!
!
interface Loopback0
 ip address 172.20.104.4 255.255.255.0
!
interface Loopback1
 ip address 4.4.4.4 255.255.255.0
!
interface FastEthernet0/0
 ip address 172.20.124.4 255.255.255.0
 duplex auto
 speed auto
!
interface Serial0/0
 no ip address
 encapsulation frame-relay IETF
 shutdown
 clock rate 2000000
 frame-relay lmi-type ansi
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
!
interface Serial0/1
 no ip address
 clock rate 2000000
!
interface Serial0/2
 no ip address
 shutdown
 clock rate 2000000
!
interface Serial0/3
 no ip address
 shutdown
 clock rate 2000000
!
router rip
 version 2
 redistribute connected metric 3
 passive-interface default
 no passive-interface FastEthernet0/0
 network 172.20.0.0
 no auto-summary
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
alias exec ship sh ip int brie | ex una
alias exec shirt sh ip route
!
line con 0
line aux 0
line vty 0 4
!
!
end

R6 Config

hostname r6
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
 log config
  hidekeys
!
!
!
!
!
!
!
!
interface Loopback0
 ip address 172.20.106.6 255.255.255.0
!
interface Loopback1
 ip address 6.6.6.6 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface Serial0/0
 ip address 172.20.136.6 255.255.255.0
 encapsulation frame-relay
 no ip split-horizon eigrp 100
 clock rate 2000000
 frame-relay map ip 172.20.136.6 601
 frame-relay map ip 172.20.136.1 601 broadcast
 frame-relay map ip 172.20.136.3 603 broadcast
 no frame-relay inverse-arp
 frame-relay lmi-type ansi
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
!
interface Serial0/1
 no ip address
 clock rate 2000000
!
router eigrp 100
 redistribute connected route-map connected->eigrp
 network 172.20.136.0 0.0.0.255
 no auto-summary
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
!
!
!
!
route-map connected->eigrp permit 10
 match interface Loopback0 Loopback1
!
route-map tag-connected-6 permit 10
 match interface Loopback0 Loopback1
 set tag 6
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
alias exec ship sh ip int brie | ex una
alias exec shirt sh ip route
!
line con 0
line aux 0
line vty 0 4
!
!
end

Blogs and organic groups at http://www.ccie.net
Received on Sat Feb 25 2012 - 10:22:40 ART

This archive was generated by hypermail 2.2.0 : Thu Mar 01 2012 - 11:46:56 ART