Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Tue Jun 06, 2023 8:03 am


FreeBSD tutorials and how-tos

Author Message
jayp250
Post  Post subject: BGP question  |  Posted: Thu Jun 02, 2016 1:06 pm
 

BGP question

i have situation where i'm receiving a /26 subnet via CPE router and i only want to advertise /29 subnet to EBGP. is there any way to do that? i can't advertise whole /26 as it breaks other customer. Note: /29 prefix does not
live on the box so i can't advertise them directly. Any help would be highly appreciated.

Note: working on Juniper MX.

So far what i did is

static {
route 24.206.51.32/29 {
receive;
no-install;
}
}

This will install /29 prefix in RIB and does not participate in forwarding decision and from the RIB i advertised to EBGP. would never advertised the /29.

Next i tried this --- didn't work out.

set routing-instances routing-options static route 24.206.51.32/29 next-hop <cpe Ip >
set policy-options policy-statement term 1 from route static <24blah blah> then accept , term 2 then reject
set routing-options protocol bgp export < >





Top
Display posts from previous:  Sort by  
E-mail friendPrint view
Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO