02-09-2021 07:24 AM - edited 02-09-2021 07:36 AM
Hello, I'm doing mutual redistribution and I can't redistribute the BGP router's (R1) loopback address into the OSPF topology.
R1 is the BGP router
R2 is the ASBR router
R3 is the OSPF router
R1[192.168.0.1]-----[192.168.0.2]R2[192.168.7.2]-----[192.168.7.1]R3
***
R1
***
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
B 2.2.2.2 [200/0] via 192.168.0.2, 00:02:50
3.0.0.0/32 is subnetted, 1 subnets
B 3.3.3.3 [200/10000] via 192.168.7.1, 00:01:55
192.168.0.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.0.0/24 is directly connected, Ethernet1/0
L 192.168.0.1/32 is directly connected, Ethernet1/0
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
B 192.168.7.0/24 [200/0] via 192.168.0.2, 00:02:00
R1#sh run | s router
router bgp 100
bgp log-neighbor-changes
network 1.1.1.1 mask 255.255.255.255
network 192.168.0.0 mask 255.255.255.0
neighbor 192.168.0.2 remote-as 100
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
192.168.0.2 4 100 19 17 9 0 0 00:10:57 6
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface Ethernet1/0
ip address 192.168.0.1 255.255.255.0
duplex full
!
***
R2
***
1.0.0.0/32 is subnetted, 1 subnets
B 1.1.1.1 [200/0] via 192.168.0.1, 00:14:07
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
O 3.3.3.3 [110/11] via 192.168.7.1, 00:15:03, Ethernet1/1
192.168.0.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.0.0/24 is directly connected, Ethernet1/0
L 192.168.0.2/32 is directly connected, Ethernet1/0
192.168.7.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.7.0/24 is directly connected, Ethernet1/1
L 192.168.7.2/32 is directly connected, Ethernet1/1
router ospf 1
redistribute bgp 100 metric 1 metric-type 1 subnets
network 2.2.2.2 0.0.0.0 area 0
network 192.168.7.0 0.0.0.255 area 0
router bgp 100
bgp log-neighbor-changes
network 192.168.0.0 mask 255.255.255.0
redistribute ospf 1 metric 10000
neighbor 192.168.0.1 remote-as 100
R2#sh run | s interface
interface Loopback0
ip address 2.2.2.2 255.255.255.255
interface Ethernet1/0
ip address 192.168.0.2 255.255.255.0
duplex full
interface Ethernet1/1
ip address 192.168.7.2 255.255.255.0
duplex full
***
R3
***
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 192.168.7.2, 00:13:42, Ethernet1/0
3.0.0.0/32 is subnetted, 1 subnets
C 3.3.3.3 is directly connected, Loopback0
O E1 192.168.0.0/24 [110/11] via 192.168.7.2, 00:13:43, Ethernet1/0
192.168.7.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.7.0/24 is directly connected, Ethernet1/0
L 192.168.7.1/32 is directly connected, Ethernet1/0
R3#sh run | s interface
interface Loopback0
ip address 7.7.7.7 255.255.255.255
interface Ethernet1/0
ip address 192.168.7.1 255.255.255.0
duplex full
router ospf 1
network 7.7.7.7 0.0.0.0 area 0
network 192.168.7.0 0.0.0.255 area 0
Can you please help me to get 1.1.1.1 in R3's routing table?
Solved! Go to Solution.
02-09-2021 07:58 AM
Hello @Mozambique ,
you have an iBGP session between R1 and R2.
in order to redistribute iBGP routes into an IGP you need:
R2:
conf t
router bgp 100
redistribute-internal
Hope to help
Giuseppe
02-09-2021 07:58 AM
Hello @Mozambique ,
you have an iBGP session between R1 and R2.
in order to redistribute iBGP routes into an IGP you need:
R2:
conf t
router bgp 100
redistribute-internal
Hope to help
Giuseppe
02-09-2021 08:04 AM
Thank you very much, it solved the problem!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide