You need a high metric null route for that /32.
Liam Farr <liamfarr@me.com> wrote:
Hi,
I've run into a bit of a dumb problem, hopefully someone here can point me in the right direction.
I receive a route to a /28 from a member of my BGP confederation, (the /28 is on a directly connected interface of this router) via BGP to one of my edge routers, and I wish to advertise a specific /32 from this /28 to an external BGP peer (upstream provider) from this edge router.
I can use route-maps and prefix-lists, to define a BGP export policy to only export the /32 to the external neighbor without issue. Where I get stuck is getting the /32 into my route table, essentially I need to de-aggregate the /28 down to a /32?
Is there an accepted "best practice" way of doing this?
Apologies if this is a stupid question, I've never run into this issue before, and Google isn't giving me much help.
Cheers
Liam Farr