cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3223
Views
190
Helpful
32
Replies

IGP Redistributed routes not redistributed into BGP

Kenneth Goh
Level 1
Level 1

KennethGoh_0-1645537349037.jpeg

R1 fa0/0 and R3 fa0/1 are OSPF neighbors
R1 fa0/1, R2 and R3 fa1/0 are EIGRP neighbors
R3 fa0/0 and R4 are iBGP neighbors
Redistribution only happens between:

  1. OSPF and EIGRP on R1
  2. EIGRP and BGP on R3
    Without redistribution between OSPF and BGP, is there a way for R4 is learn 192.168.13.0/24 routes and R1 to learn 10.1.1.0/24 routes

R1#show 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

C 192.168.12.0/24 is directly connected, FastEthernet0/1
C 192.168.13.0/24 is directly connected, FastEthernet0/0
D 192.168.23.0/24 [90/30720] via 192.168.12.2, 00:33:41, FastEthernet0/1
D EX 192.168.34.0/24 [170/2565376] via 192.168.12.2, 00:09:54, FastEthernet0/1

 

R4#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

B 192.168.12.0/24 [200/30720] via 192.168.23.2, 00:23:41
4.0.0.0/32 is subnetted, 1 subnets
C 4.4.4.4 is directly connected, Loopback0
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/1
B 192.168.23.0/24 [200/0] via 192.168.34.3, 00:23:46
C 192.168.34.0/24 is directly connected, FastEthernet0/0

 

Redistribution on R1

router eigrp 100
redistribute ospf 1 metric 100000 1 255 1 1500
network 192.168.12.0
no auto-summary
!
router ospf 1
log-adjacency-changes
redistribute eigrp 100 subnets

 

Redistribution on R3

router eigrp 100
redistribute bgp 64512 metric 100000 1 255 1 1500
network 192.168.23.0
no auto-summary
!
router ospf 1
log-adjacency-changes
!
router bgp 64512
no synchronization
bgp log-neighbor-changes
network 192.168.34.0
redistribute eigrp 100
neighbor 192.168.34.4 remote-as 64512
no auto-summary

32 Replies 32

Infinite fd of .13.0 

So same issue eigrp see that connect is better than so it never redistribute.

 

 

I hope get the issue here, the issue from the each routing protocol have it algorithm to prevent routing loop and prevent the suboptimal path. 
Good Luck Friend.

I managed to get end to end reachability by advertising a default route to R4 and network 192.168.34.0/24. 

Any reason for your suggestion not to advertise 192.168.34.0/24?

Updated config below

hostname R1
!
interface FastEthernet0/0
ip address 192.168.13.1 255.255.255.0
ip ospf network point-to-point
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.12.1 255.255.255.0
duplex auto
speed auto
!
router eigrp 100
redistribute ospf 1 metric 1000 1 255 1 1500 route-map EIGRP-TO-OSPF
network 192.168.12.0
no auto-summary
!
router ospf 1
log-adjacency-changes
redistribute eigrp 100 subnets route-map EIGRP-TO-OSPF
!
ip prefix-list TAG-10 seq 5 permit 10.1.1.0/24
!
route-map EIGRP-TO-OSPF deny 10
match ip address prefix-list TAG-10
!
route-map EIGRP-TO-OSPF permit 20
------------------------------------------------------------
hostname R3
!
interface GigabitEthernet1
ip address 192.168.13.3 255.255.255.0
ip ospf network point-to-point
ip ospf 1 area 0
negotiation auto
no mop enabled
no mop sysid
!
interface GigabitEthernet2
ip address 192.168.23.3 255.255.255.0
negotiation auto
no mop enabled
no mop sysid
!
interface GigabitEthernet3
ip address 192.168.34.3 255.255.255.0
negotiation auto
no mop enabled
no mop sysid
!
router eigrp 100
network 192.168.23.0
redistribute bgp 64512 metric 1000 1 255 1 1500
!
router ospf 1
!
router bgp 64512
bgp log-neighbor-changes
bgp redistribute-internal
bgp suppress-inactive
network 192.168.34.0
redistribute static
redistribute eigrp 100
neighbor 192.168.34.4 remote-as 64512
neighbor 192.168.34.4 next-hop-self
default-information originate
!
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
ip route 0.0.0.0 0.0.0.0 Null0

--------------------------------------------------------
hostname R4
!
interface GigabitEthernet1
ip address 192.168.34.4 255.255.255.0
negotiation auto
no mop enabled
no mop sysid
!
interface GigabitEthernet2
ip address 10.1.1.4 255.255.255.0
negotiation auto
no mop enabled
no mop sysid
!
router bgp 64512
bgp log-neighbor-changes
network 10.1.1.0 mask 255.255.255.0
neighbor 192.168.34.3 remote-as 64512


R4#show ip bgp | b Network
Network Next Hop Metric LocPrf Weight Path
*>i 0.0.0.0 192.168.34.3 0 100 0 ?
*> 10.1.1.0/24 0.0.0.0 0 32768 i
*>i 192.168.12.0 192.168.34.3 28416 100 0 ?
*>i 192.168.23.0 192.168.34.3 0 100 0 ?
r>i 192.168.34.0 192.168.34.3 0 100 0 i