Python-automated lightweight BGP lab in GNS3


I was looking to play around with some BGP changes so I set up a topology in GNS3 using FRR docker containers. Once I laid out the topology I didn’t want to manually address it, so I automated the entire lifecycle. Address generation, config application etc.


This ended up taking way longer than manually doing it but was also way more fun and is now much easier to reset!

BTW: FRR docker containers are incredible if you’re just looking to lab routing protocols. Even running a whole bunch of them the GNS3 VM barely skips a beat.

Play with it here:


Hey, do you like videogames? If so check out my game Grab n' Throw on Steam, and add it to your wishlist. One gamemode is like dodgeball crossed with soccer except instead of balls you throw stacks of your own teammates. Another is like golf but on a 16x16km landscape with huge throw power to match. And there's plenty of others to come!

See full gameplay on Steam!

See also