cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1291
Views
2
Helpful
17
Replies

BGP CONFIGURATION ADVERTISEMENT ISSUE

dissai
Level 1
Level 1

Hello Team,

I have configured bgp with my isp but is not able to see my routes advertising.kindly assist to review my configuration

 

router bgp 329
bgp log-neighbor-changes
neighbor 41.207.242.133 remote-as 473
neighbor 41.207.242.133 update-source GigabitEthernet0/0/0

!
address-family ipv4
network 102.110.54.0 mask 255.255.254.0
network 102.110.54.0 mask 255.255.255.0
neighbor 41.207.242.133 activate
neighbor 41.207.242.133 next-hop-self
neighbor 41.207.242.133 allowas-in
neighbor 41.207.242.133 soft-reconfiguration inbound
neighbor 41.207.242.133 route-map Orange_PUBLIC_BLOCK_TO_Tango out

exit-address-family
!
ip default-gateway 41.207.242.133
!
!
!

!
ip prefix-list Orange_PUBLIC_BLOCK_TO_Tango seq 5 permit 102.110.54.0/23
ip prefix-list Orange_PUBLIC_BLOCK_TO_Tango seq 10 permit 102.110.54.0/24
!
ip prefix-list Orange_SUPERNET seq 5 permit 102.110.54.0/23

route-map Orange_PUBLIC_BLOCK_TO_Tango permit 30
match ip address prefix-list Orange_DR_PUBLIC_BLOCK
set as-path prepend 329393 329393 329393 329393 329393
!
route-map Orange_PUBLIC_BLOCK_TO_Tango permit 10
match ip address prefix-list Orange_PUBLIC_BLOCK_TO_Tango
!
route-map Orange_PUBLIC_BLOCK_TO_Tango permit 20
match ip address prefix-list Orange_SUPERNET
!

ip prefix-list DEFAULT seq 5 permit 0.0.0.0/0
!
ip prefix-list DEFAULT_ROUTE_ONLY seq 5 permit 0.0.0.0/0
!
ip prefix-list Orange _DR_PUBLIC_BLOCK seq 5 permit 102.110.55.0/24

 

1 Accepted Solution

Accepted Solutions

Hi @dissai ,

As I mentioned in my previous post, the route needs to be present in the routing table for the network statement to originate the route in BGP. This could be a static route or a route coming from any routing protocol. A static route to null0 if often uses for aggregate routes, as follow:

ip route 102.220.128.0 255.255.254.0 null0

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

View solution in original post

17 Replies 17

There are many issue but let solve it one by one 

First 

Shwo ip bgp neighbor 

Do you see neighbor or not?

If not 

Then check 

1- the bgp not use defualt route' you need static route to reach neighbor 

2- ip routing enable to add if it disable

3- ebgp multihop must use if the neighbor is not direct connect 

 

Later after we make sure the neighbor is appear we discuss the route-map I dont get why you add two line and one match /23 and other match /24 of same subnet

MHM

Yes, I can see neighbors and receive routes.

but my routes are not advertised

Then first part finish 

Now bgp need you to inject prefix by network or redistrubte 

I dont see these commands?

Note:- route-map out is not inject prefix it only filter it

MHM

 

I have put but still no advertisment.

router bgp 329393
bgp log-neighbor-changes
neighbor 41.207.242.133 remote-as 37349
neighbor 41.207.242.133 password iQ4ZGewGzrdT0g
neighbor 41.207.242.133 update-source GigabitEthernet0/0/0
!
address-family ipv4
network 102.110.54.0 mask 255.255.254.0
network 102.110.54.0 mask 255.255.255.0
redistribute static route-map Orange_PUBLIC_BLOCK_TO_Tango
neighbor 41.207.242.133 activate
neighbor 41.207.242.133 next-hop-self
neighbor 41.207.242.133 allowas-in
neighbor 41.207.242.133 soft-reconfiguration inbound
neighbor 41.207.242.133 route-map Orange_PUBLIC_BLOCK_TO_Tango out
exit-address-family
INTERNET-EDGE-RT1#
INTERNET-EDGE-RT1#

INTERNET-EDGE-RT1#$p neighbors 41.207.242.133 advertised-routes

Total number of prefixes 0

The route-map you use is wrong then it not cover the static route'

Can I see the static route you need to advertise 

The subnet abd mask

MHM

 

 

Hi MHM,

Let say I want to advise below.

network 102.220.128.0 mask 255.255.255.0
network 102.220.128.0 mask 255.255.254.0

Kindly assist with correct bgp template to advertise above to seen by my neighbor.

Thank you.

 

 

Friend there is overlapping in these subnet are you sure both appear in RIB of router ? How one /24 and other /23?

MHM

Let's use this one.

network 102.220.128.0 mask 255.255.254.0

Router bgp x

Redistrubte static route-map MHM

!

ip prefix-list MHM seq 5 permit 102.220.128.0/23 

!

Route-map MHM permit 10

Match ip address prefix MHM

 

Note:- this prefix must be 100% exactly same as prefix appear in RIB otherwise BGP not redistrubte it

MHM

Hi @dissai ,

The route specified in the network statement first need to be present in routing table to be injected.

Can you provide the output for the following commands:

show ip route 102.220.128.0 255.255.254.0

show bgp ipv4 uni 102.220.128.0 255.255.254.0

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Hello Brother,

% Network not in table

I ask you if you see prefix and you confirm that ? and I send to you 100% same as in RIB ? what in not in table ?
I realy confuse here 
MHM

Hi @dissai ,

As I mentioned in my previous post, the route needs to be present in the routing table for the network statement to originate the route in BGP. This could be a static route or a route coming from any routing protocol. A static route to null0 if often uses for aggregate routes, as follow:

ip route 102.220.128.0 255.255.254.0 null0

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Hi All,
How can I add a blackhole route for my 102.220.18.0/23 prefix on my router
to avoid routing loop