Subnet router BGP advertisement
When using high availability subnet routers in network environments
using Reverse Path Filtering (RPF), it is necessary to know which subnet router is active and
to be used for return traffic.
tailscaled can work with a local BIRD daemon to make
the active subnet router inject a route to
To configure tailscaled to communicate with a local BIRD process to manage route injection:
- Make sure to copy both config files from https://github.com/tailscale/tailscale/tree/main/docs/bird
- Update the following BGP settings in sample_bird.conf
- AS numbers
- Neighbor/Router address
- Launch BIRD:
sudo bird -c /path/to/sample_bird.conf
- Launch tailscaled with the –bird-socket argument.
Adding arguments to tailscaled can be accomplished by creating a
and adding a FLAGS variable:
BIRD supports Bidirectional Forwarding Detection, and has more options for BGP than the ones defined in the sample file.