03-13-2024 12:29 AM
Hello There,
I am unable to ping 31.225.16.1 loopback of internet router as it is advertising in bgp from r30 as it is connected with r29 with ebgp and r29 and r39 back to back connected along with ibgp.
Please see my configs.
r29 and r30 > ibgp
r29 connected to internet with asn2000 ebgp
hostname R-29
interface Loopback0
ip address 10.2.255.29 255.255.255.255
ip ospf 1 area 0
!
interface GigabitEthernet1
ip address 10.2.90.1 255.255.255.252
ip ospf 1 area 0
negotiation auto
no keepalive
!
interface GigabitEthernet4
ip address 31.225.23.2 255.255.255.252
negotiation auto
!
router ospf 1
router-id 10.2.255.29
prefix-suppression
!
router bgp 65002
bgp router-id 10.2.255.29
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 10.2.255.30 remote-as 65002
neighbor 10.2.255.30 update-source Loopback0
neighbor 31.225.23.1 remote-as 2000
!
address-family ipv4
neighbor 10.2.255.30 activate
neighbor 10.2.255.30 next-hop-self
neighbor 31.225.23.1 activate
exit-address-family
hostname R-30
interface Loopback0
ip address 10.2.255.30 255.255.255.255
ip ospf 1 area 0
!
interface GigabitEthernet1
ip address 10.2.90.2 255.255.255.252
ip ospf 1 area 0
negotiation auto
no keepalive
!
router ospf 1
router-id 10.2.255.30
prefix-suppression
!
router bgp 65002
bgp router-id 10.2.255.30
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 10.2.255.29 remote-as 65002
neighbor 10.2.255.29 update-source Loopback0
neighbor 100.255.190.1 remote-as 1000
!
address-family ipv4
neighbor 10.2.255.29 activate
neighbor 10.2.255.29 next-hop-self
neighbor 100.255.190.1 activate
exit-address-family
hostname internet
interface Loopback0
ip address 31.225.16.1 255.255.255.255
!
interface GigabitEthernet0/3
ip address 31.225.23.1 255.255.255.252
duplex auto
speed auto
media-type rj45
!
router bgp 2000
bgp router-id 31.225.16.1
bgp log-neighbor-changes
neighbor 31.225.23.2 remote-as 65002
!
address-family ipv4
network 31.225.16.1 mask 255.255.255.255
redistribute connected
neighbor 31.225.23.2 activate
exit-address-family
Solved! Go to Solution.
03-13-2024 08:07 AM
Thanks for your help and advise,
can u help me with preffix-suppresion command after enabling physical interface not pinging on via source loopbacks able to ping
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