10-30-2017 12:39 PM - edited 03-05-2019 09:24 AM
Hi,
I need to advertise a single ip in the BGP but it is not working.
Due to IOS version or configuration issue.
Please check below configuration and help me.
router bgp 650321
network 10.10.10.10 mask 255.255.255.255
10-30-2017 12:47 PM - edited 10-30-2017 12:51 PM
Hi
BGP will advertise the single IP if you have an entry into the routing table with subnet mask /32 otherwise it will not be advertised.
So verify the subnet mask through: show ip route 10.10.10.10, and check if it is a /32 or other subnet mask.
BGP will match the subnet submitted with network command and the subnet mask included into the routing table.
If the ip 10.10.10.10 is part of a loopback, you can configure the subnet mask 255.255.255.255. Other way could be create a static route: ip route 10.10.10.10 255.255.255.255 <next hop>
Hope it is useful
:-)
10-30-2017 01:39 PM
Hello
Do you have a bgp peering otherwise a simple network statement like you have posted will no work, you first need to establish a bgp peering and then advertise your prefixes.
res
Paul
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