02-24-2022 10:00 PM
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:
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
02-25-2022 12:22 AM
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
If the Default Route towards R3, and R3 is aware of that route, it should work for the reachability,
until your goal like to see the routes in the routing table, then you need to redistribute.
02-25-2022 02:40 AM
There is no default route towards R3, I am not sure why R1 and R4 are not seeing the routes since there's redistribution between OSPF and EIGRP on R1 and EIGRP and BGP on R3.
02-25-2022 01:16 AM
Hello,
post the output of 'show ip route' from R2 and R3. In theory, if you mutually redistribute OSPF and EIGRP on R1, and BGP and EIGRP on R3, R4 should see all routes, so redistribution should not be necessary.
Better yet, post the full running configs of all 4 routers.
02-25-2022 02:35 AM
R1, R2, R3 & R4 show ip route below
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:17:36, FastEthernet0/1
D EX 192.168.34.0/24 [170/30976] via 192.168.12.2, 00:17:36, FastEthernet0/1
R2#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
D EX 192.168.13.0/24 [170/28416] via 192.168.12.1, 00:04:32, FastEthernet0/1
C 192.168.23.0/24 is directly connected, FastEthernet0/0
D EX 192.168.34.0/24 [170/28416] via 192.168.23.3, 00:04:32, FastEthernet0/0
R3#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
D 192.168.12.0/24 [90/30720] via 192.168.23.2, 00:03:13, FastEthernet1/0
C 192.168.13.0/24 is directly connected, FastEthernet0/1
10.0.0.0/24 is subnetted, 1 subnets
B 10.1.1.0 [200/0] via 192.168.34.4, 00:02:09
C 192.168.23.0/24 is directly connected, FastEthernet1/0
C 192.168.34.0/24 is directly connected, FastEthernet0/0
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:12:18
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:12:23
C 192.168.34.0/24 is directly connected, FastEthernet0/0
-----------------------------------------------------------------------------------------------------
R1, R2, R3 & R4 show run below
R1#sh run
Building configuration...
Current configuration : 1246 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface FastEthernet0/0
ip address 192.168.13.1 255.255.255.0
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.12.1 255.255.255.0
ip ospf network point-to-point
duplex auto
speed auto
!
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
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
no cdp log mismatch duplex
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R2#show run
Building configuration...
Current configuration : 1099 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface FastEthernet0/0
ip address 192.168.23.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.12.2 255.255.255.0
duplex auto
speed auto
!
router eigrp 100
network 192.168.12.0
network 192.168.23.0
no auto-summary
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
no cdp log mismatch duplex
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R3#show run
Building configuration...
Current configuration : 1464 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface FastEthernet0/0
ip address 192.168.34.3 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.13.3 255.255.255.0
ip ospf network point-to-point
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 192.168.23.3 255.255.255.0
duplex half
!
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
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
no cdp log mismatch duplex
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
R4#show run
Building configuration...
Current configuration : 1195 bytes
!
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
log config
hidekeys
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
interface FastEthernet0/0
ip address 192.168.34.4 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.1.1.4 255.255.255.0
duplex auto
speed auto
!
router bgp 64512
no synchronization
bgp log-neighbor-changes
network 10.1.1.0 mask 255.255.255.0
network 192.168.34.0
neighbor 192.168.34.3 remote-as 64512
no auto-summary
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
no cdp log mismatch duplex
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
end
02-25-2022 01:28 AM - edited 02-25-2022 01:31 AM
For R1 to learn 10.1.1.0/24 you need to advertise in BGP so it can be redistributed into EIGRP ie. -
router bgp 64512
network 10.1.1.0 mask 255.255.255.0
Not clear on the other one without seeing routing tables from all routers.
Jon
02-25-2022 02:25 AM
10.1.1.0/24 was advertised on R4, and below are the show ip route for R1 and R2
R4#sh run | sec router bgp
router bgp 64512
no synchronization
bgp log-neighbor-changes
network 10.1.1.0 mask 255.255.255.0
network 192.168.34.0
neighbor 192.168.34.3 remote-as 64512
no auto-summary
R1#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
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:04:39, FastEthernet0/1
D EX 192.168.34.0/24 [170/30976] via 192.168.12.2, 00:04:39, FastEthernet0/1
R2#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
D EX 192.168.13.0/24 [170/28416] via 192.168.12.1, 00:04:32, FastEthernet0/1
C 192.168.23.0/24 is directly connected, FastEthernet0/0
D EX 192.168.34.0/24 [170/28416] via 192.168.23.3, 00:04:32, FastEthernet0/0
02-25-2022 02:37 AM - edited 02-25-2022 02:50 AM
Hello,
the below should work (without redistributing between OSPF and BGP on R3):
R1
router ospf 1
network 192.168.13.0 0.0.0.255 area 0
router eigrp 100
default-metric 1000 33 255 1 1500
network 192.168.12.0
redistribute ospf 1
R2
router eigrp 100
network 192.168.12.0
network 192.168.23.0
R3
router eigrp 100
network 192.168.23.0
redistribute bgp 64512 metric 100000 1 255 1 1500
!
router ospf 1
network 192.168.13.0 0.0.0.255 area 0
!
router bgp 64512
bgp log-neighbor-changes
bgp redistribute-internal
network 192.168.34.0
redistribute eigrp 100
neighbor 192.168.34.4 remote-as 64512
R4
router bgp 64512
bgp log-neighbor-changes
network 10.1.1.0 mask 255.255.255.0
network 192.168.34.0
neighbor 192.168.34.3 remote-as 64512
02-25-2022 02:57 AM
The config I shared with you were identical in redistribution, but as you can see the show ip route on R1 & R2 are not showing the 10.1.1.0/24 network and R4 is not seeing 192.168.13.0/24.
02-25-2022 03:03 AM
Hello,
the configs are not identical. R3 needs the line marked in bold:
router bgp 64512
bgp log-neighbor-changes
bgp redistribute-internal
network 192.168.34.0
redistribute eigrp 100
neighbor 192.168.34.4 remote-as 64512
02-25-2022 03:28 AM
Now both R1 and R2 could see 10.1.1.0/24. But R4 is still not seeing 192.168.13.0/24.
R1#show run | s router
router eigrp 100
redistribute ospf 1
network 192.168.12.0
default-metric 1000 33 255 1 1500
no auto-summary
router ospf 1
log-adjacency-changes
redistribute eigrp 100 subnets
R1#show ip ospf interface brief
Interface PID Area IP Address/Mask Cost State Nbrs F/C
Fa0/0 1 0 192.168.13.1/24 1 DROTH 1/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:59:55
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, 01:00:00
C 192.168.34.0/24 is directly connected, FastEthernet0/0
02-25-2022 04:46 AM
Hello,
check the configs I sent earlier. Make sure R1 looks exactly like this:
router ospf 1
network 192.168.13.0 0.0.0.255 area 0
router eigrp 100
default-metric 1000 33 255 1 1500
network 192.168.12.0
redistribute ospf 1
02-25-2022 06:11 AM
I think the issue is on R3 not redistributing from EIGRP into BGP as route 192.168.13.0 is seen on R2 so it is learning from R1.
R2#sh ip route | in 192.168.13.0
D EX 192.168.13.0/24 [170/2562816] via 192.168.12.1, 00:10:28, FastEthernet0/1
R3
router bgp 64512
no synchronization
bgp log-neighbor-changes
bgp redistribute-internal
network 192.168.34.0
redistribute eigrp 100
neighbor 192.168.34.4 remote-as 64512
no auto-summary
R3#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
D 192.168.12.0/24 [90/30720] via 192.168.23.2, 01:24:28, FastEthernet1/0
C 192.168.13.0/24 is directly connected, FastEthernet0/1
10.0.0.0/24 is subnetted, 1 subnets
O E2 10.1.1.0 [110/20] via 192.168.13.1, 00:00:02, FastEthernet0/1
C 192.168.23.0/24 is directly connected, FastEthernet1/0
C 192.168.34.0/24 is directly connected, FastEthernet0/0
R4#sh ip route 192.168.13.0
% Network not in table
02-25-2022 06:57 AM
Hello,
what does the OSPF configuration on R3 look like ? Make sure it is:
router ospf 1
network 192.168.13.0 0.0.0.255 area 0
02-25-2022 05:36 AM - edited 02-25-2022 09:07 AM
...
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: