cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1571
Views
14
Helpful
11
Replies

How i advertise this Pool in BGP.

afzaalq007
Level 1
Level 1

hi

How i advertise this bl, in my bgp X.X.X.0/21

waiting for ur pesponse

Thanks

11 Replies 11

mheusinger
Level 10
Level 10

Hello,

one way of doing it (assuming 10.1.0.0/21):

router bgp 65000

network 10.1.0.0 mask 255.255.224.0

neighbor 1.1.1.1 remote-as 64646 !ISP

neighbor 1.1.1.1 filter-list 1 out

no auto-summary

ip as-path access-list 1 permit ^$

ip route 10.1.0.0 255.255.224.0 Null0 250

The static route "organizes" the entry in the IP routing table exactly matching the network statement in BGP. Routing will use longest match, so your subnetted official IP addresses will be reachable.

The as-path list assures, that you only announce networks originated in your AS.

Hope this helps! Please rate all posts.

Regards, Martin

atif.awan
Level 3
Level 3

network x.x.x.0 mask 255.255.248.0

This will advertise x.x.x.0/21 provided the router knows this network (through either static route, dynamic routing protocols, or a connected interface).

Hi,

Thanks alot

i was missing the words mask ????

thanks alot.

OOps,

255.255.248.0 off course! Sorry for the miscalculation, it has been a long day at work...

Please make sure also to adjust the static route to the correct mask! The correct version is:

router bgp 65000

network 10.1.0.0 mask 255.255.248.0

neighbor 1.1.1.1 remote-as 64646 !ISP

neighbor 1.1.1.1 filter-list 1 out

no auto-summary

ip as-path access-list 1 permit ^$

ip route 10.1.0.0 255.255.248.0 Null0 250

Regards, Martin

hi,

i ant to conform that that it shuld be/

192.168.202.0 mask 255.255.255.248.0

and

ip route 192.168.202.0 255.255.248.0 null0

why we use static routes..???? for its definations

Thanks

BGP would not advertise a route, unless the route is in the IGP. Often times, you would have more specific routes in the IGP, but you would need to advertise the aggregate route via BGP.

By configuring the static route, BGP can advertise the route, since it is now known to IGP. Pointing to null interface, will have little effects, since there should be more specific routes in the IGP. However, if there are no more specific routes, the static route could point to the appropriate interface.

Hi,

Thanks for the Ans,,

I have advertise my suppernet blocK of /21 as mention earlier e.g.

router Bgp 65551

network x.x.x.0 mask 255.255.248.0

!

!

!

ip route X.X.X.0 255.255.248.0 null0

Is ok ??? i have chked it is working

i want to ask is there any other method to adverise such block not with static route.

Thanks

If you do not want to add a static route, then the router will need to know the route via another routing protocol like OSPF, ISIS or EIGRP.

Hi,

Thanks for the Ans

Than its is via another routing protocol, and we redistribute it in to bpg with redistributons commonds

can i you send any detial or link about the resdistribution of IGP;s in to BGp

regards

Well, you could either redistribute using the redistribute command or use the network command. Both will make BGP advertise the route. However, if you use redistribute, the origin code for the BGP route is incomplete while if you use the network command, the origin code is IGP.

see

http://www.cisco.com/en/US/products/sw/iosswrel/ps1826/products_configuration_guide_chapter09186a00800877b5.html#xtocid10

Getting Started

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:

Review Cisco Networking products for a $25 gift card