Here is a VM you can download that will allow you to test the load on a router or multiple routers with a full IPv4 Global BGP table of over 500,000 routes.
We put the full feed in a MikroTik in our lab. It doesn’t connect you to the Internet obviously and I wouldn’t use it in a production network, but you can test things like:
Router load
Routing convergence
Setting BGP Attributes
Failover time
That’s pretty cool. So I’m assuming this AS simply originates all of the prefixes or does it have a few various AS_PATH lengths and communities thrown in there for you to practice route-filtering or load sharing?
It uses BGP routing tables captured from RIPE in various IX locations around the world, so it actually loads a real BGP table with unique AS lengths and communities for every route. The BGP table snapshots included in this VM were from January 2016 so most of them are over 500,000 routes.
Alright - I’m downloading the VMWare image to mess around with - this seems pretty cool. I have a multi-table BGP router in production, but even with a drop-all input filter, it’d sure be a bad idea to use it as a source of routing data for a lab.
Nice. Things will become much easier when v7 comes out. We have implemented MRT dump loader in RouterOS and doing most of the tests using loaded routes.
BGP_simple work but is very slow. From 15 minutes to 2 hours to load 500 000 prefix, depending about where you did write the command line to launch bgp_simple.
From the console it is very slow, certainly because bgp_simple does not deamonize and need to write 500 000 + update report lines in the console.
From an SSH session it can be better but still slow compared to a link between two routers, where i did see about 15 seconds load time to share 500 000 prefix through a BGP peering (test done between dual core CHR virtual appliances running in VirtualBox on a core i7 Intel 3.2 Ghz processor).
I refer to this old post for information on what was written.
Has an MRT import actually been created to load BGP dumps into RouterOS?
I would like to simulate bgp peers to test a new routing scheme, however I see that the VM in question, which could have been a good idea, is no longer downloadable… does anyone have any suggestions?
Thanks
Thank you for your reply, I sent you a request because access to the file is private, I hope you can accept it.
Too bad about the direct import of the dump file that would have been very convenient in simulation environments… maybe it could have been put in a special package designed for laboratory simulations… maybe there could be an idea.
Thanks for sharing it was very useful and works perfectly.
I take this opportunity since the creator is also in this conversation for a technical doubt.
I was not able to configure a 6-digit AS as peer-as (Example: AS XXXXXX) but only a 4-digit one where everything works perfectly.
I ran this command:
sudo ./bgp_simple.pl -myas YYYY -myip aaa.bbb.ccc.ddd -peerip aaa.bbb.ccc.dde -peeras XXXXXX -p ISP1-Europe-Amsterdam-Jan-2016
and I get this error: "Peer AS number is not valid: XXXXXX at ./bgp_simple.pl line 146
If I run with XXXX instead of XXXXXX everything works perfectly.
Any suggestions?