0

I'm looking to use BIRD or similar to advertise a route from a linux box sitting on 169.254.0.3 (on a /28 for eg) to the router at 169.254.0.1 (Which happens to be AWS).

The route advertised to AWS needs to be the following;

AWS Subnet (10.0.0.0/24) -> GW 169.254.0.1

Where 169.254.0.1 is a firewall. Can I magic one of these to advertise a different gateway for a network?

Thanks!

1 Answers1

2

Routing protocols, like BGP, don't advertise gateways. A gateway is a host concept. When a routing protocol advertises a prefix, it is saying to the other routers with which it shares the routing protocol, "I know how to get to this network, so you can send traffic destined for it to me."

BGP advertises prefixes to peer BGP speakers, either within the same AS (iBGP) or in a different AS (eBGP). Within the same AS, one BGP router cannot advertise a prefix learned from another iBGP speaker. This means that iBGP needs to have a full mesh within the AS, or it needs to use a mitigation such as Route Reflectors or Confederations.

Ron Maupin
  • 3,332