<div dir="ltr">Hi!<div><br></div><div>Probably not really related, a little bit more heavy solution, but maybe you could try Mininet. </div><div>I successfully managed to run FRR on multiple nodes, BGP/EVPN, etc. Im pretty sure it works with babeld as well</div><div><br></div><div>Ferenc</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Philipp Borgers <<a href="mailto:borgers@mi.fu-berlin.de">borgers@mi.fu-berlin.de</a>> ezt írta (időpont: 2019. júl. 10., Sze, 8:41):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Jul 09, 2019 at 12:09:08PM +0200, Benjamin Henrion wrote:<br>
> On Tue, Jul 9, 2019 at 11:17 AM Benjamin Henrion <<a href="mailto:zoobab@gmail.com" target="_blank">zoobab@gmail.com</a>> wrote:<br>
> ><br>
> > Hi,<br>
> ><br>
> > I managed to run OLSR in my local Kubernetes (I use K3D):<br>
> ><br>
> > <a href="https://github.com/zoobab/olsrd-in-docker" rel="noreferrer" target="_blank">https://github.com/zoobab/olsrd-in-docker</a><br>
> ><br>
> > I have tried to do the same for Babel and BMX7, but I failed, I<br>
> > suspect the cause for Babel is IPv6:<br>
> ><br>
> > <a href="https://github.com/zoobab/babeld-in-docker" rel="noreferrer" target="_blank">https://github.com/zoobab/babeld-in-docker</a><br>
> ><br>
> > If anyone wants to try debugging, I might at WBM this week (still<br>
> > don't know which day though).<br>
> <br>
> Just added some examples on how to run 20 nodes with Babeld containers<br>
> in kubernetes using K3D cluster, using the scale up from 10 nodes:<br>
> <br>
> <a href="https://github.com/zoobab/babeld-in-docker" rel="noreferrer" target="_blank">https://github.com/zoobab/babeld-in-docker</a><br>
> <br>
> I have not tried to see how many containers I could run in parallel on<br>
> my machine.<br>
<br>
Cool stuff! I used docker as well to emulate networks and test some ideas I have<br>
concerning prefix delegation in mesh networks. I faced some<br>
problems/difficulties when I started to play around with protocols that are<br>
implemented in the kernel. At some point I decided to switch to libvirt and<br>
kvm/qemu. I wrote two rudimentary scripts that can create bridges to emulate<br>
links between the nodes and can create and start VMs (openwrt based). You<br>
provide a very simple json file that describes the topology and the scripts do<br>
the setup. The scripts are in python. If you like I can push them to github. I<br>
still have some problems with the bridges. You have to specify them in<br>
/etc/qemu/bridge.conf before running the script :/<br>
<br>
Maybe one should take a closer look at all the network emulators out there? Can<br>
someone recommend a emulator for our use cases?<br>
<br>
By the way you can also use linux network namespaces and virtual interfaces if<br>
you only test the routing protocols. Did this in the past as well.<br>
<br>
Best Philipp<br>
<br>
> --<br>
> Benjamin Henrion (zoobab)<br>
> Email: zoobab at <a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a><br>
> Mobile: +32-484-566109<br>
> Web: <a href="http://www.zoobab.com" rel="noreferrer" target="_blank">http://www.zoobab.com</a><br>
> FFII.org Brussels<br>
> "In July 2005, after several failed attempts to legalise software<br>
> patents in Europe, the patent establishment changed its strategy.<br>
> Instead of explicitly seeking to sanction the patentability of<br>
> software, they are now seeking to create a central European patent<br>
> court, which would establish and enforce patentability rules in their<br>
> favor, without any possibility of correction by competing courts or<br>
> democratically elected legislators."<br>
> _______________________________________________<br>
> Battlemesh mailing list<br>
> <a href="mailto:Battlemesh@ml.ninux.org" target="_blank">Battlemesh@ml.ninux.org</a><br>
> <a href="https://ml.ninux.org/mailman/listinfo/battlemesh" rel="noreferrer" target="_blank">https://ml.ninux.org/mailman/listinfo/battlemesh</a><br>
_______________________________________________<br>
Battlemesh mailing list<br>
<a href="mailto:Battlemesh@ml.ninux.org" target="_blank">Battlemesh@ml.ninux.org</a><br>
<a href="https://ml.ninux.org/mailman/listinfo/battlemesh" rel="noreferrer" target="_blank">https://ml.ninux.org/mailman/listinfo/battlemesh</a><br>
</blockquote></div>