Free Range Routing
Since I discovered Docker, I have been busy designing my homelab to be as Cloud Native as possible, but in doing so, I realised that the default docker network (aka bridge) and the other networks defined by other containers from docker-compose bridge type networks isn't known by the upstream network collapsed core access layer network.
In the past I have been adding static routes upstream and a default route on the docker host, but this was not ideal (read scalable) given the dynamic nature of docker networks created with docker-compose.
I quickly realised that since I've developed significant experience in BGP (in service provider environments), I planned to just peer the docker host to the upstream access layer, but until now didn't know how to do this with Linux.
I have always known about Quagga, but been a bit concerned about the learning curve required to get it working, but remembered about its fork called Free Range Routing. So I decided to make the a leap of faith and I have no regrets whatsoever.
I was supprised at how easy it was to install and configure and to get it working which comprised of the following;
On the Docker host;
- Setup the REPO
- Installed FRR and configred services for vtysh as per the official documentation
- Connected to the vtysh interface and
- Configured BGP and redistributed only conneted routes using route-map/prefix-list
- Configured peering to FRR and squelched all but a summary route prefix-list/route-map.
No comments:
Post a Comment