Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

BGP question
https://forum.ivorde.com/bgp-question-t19845.html
Page 1 of 1

Author:  jayp250 [ Thu Jun 02, 2016 1:06 pm ]
Post subject:  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 < >

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/