[dev] Router Simulation using Dockers

Renato Westphal renato at opensourcerouting.org
Thu Apr 2 20:18:46 EDT 2020


Hi Sofia,

Regarding your last point, on Linux you can use tc-netem(8) to
simulate several link characteristics such as delay, jitter, loss,
etc.

Here are a few useful links:
* http://man7.org/linux/man-pages/man8/tc-netem.8.html
* https://netbeez.net/blog/how-to-use-the-linux-traffic-control/

tc-netem can be used regardless of the software you're using to
generate virtual network topologies (e.g. CORE, topotest, netgen).

Usage example:
# tc qdisc add dev eth0 root netem delay 100ms 10ms (delay of 100ms
and random +-10ms uniform distribution).

Regards,
Renato.

On Thu, Apr 2, 2020 at 7:16 PM Sofia Salgueiro <sof97 at live.com.pt> wrote:
>
> Hello,
>
> I just wanted to start by thanking you for the fast and helpful replies.
>
> To answer your questions, I'm looking to simulate a small network with about a dozen routers. I also want to test BGP configurations to simulate a small data center network. The network won't have much traffic but it would be useful to simulate delays between routers, if possible.
>
> Best regards,
> Sofia Salgueiro
> ________________________________
> De: Alistair Woodman <awoodman at netdef.org>
> Enviado: 4 de março de 2020 21:44
> Para: Sofia Salgueiro <sof97 at live.com.pt>
> Cc: dev at lists.frrouting.org <dev at lists.frrouting.org>; João Luís Sobrinho <joao.sobrinho at lx.it.pt>; Nuno Lopes <nlopes at microsoft.com>
> Assunto: Re: [dev] Router Simulation using Dockers
>
> Sofia,
>
> Can you provide us (the community) with some idea of what you are trying to accomplish in your testing ?
>
> The reason I ask, is that there are several set of topology generation and emulation tools that you could use. If you are willing to use name spaces you can emulate quite large networks on a laptop, however if you want to do serious data forwarding you might need lots of real hardware / servers.
>
> What are you trying to accomplish ?
>
> /a
>
> On Mar 4, 2020, at 10:37, Sofia Salgueiro <sof97 at live.com.pt> wrote:
>
> Hello,
>
> I'm currently working on my Master Thesis in Electrical and Computer Engineering at Instituto Superior Técnico, Lisbon, and was looking to use FRRouting to simulate routers using dockers. Is this possible and, if so, would you mind providing me with some information on this?
>
> Best regards,
> Sofia Salgueiro
>
> _______________________________________________
> dev mailing list
> dev at lists.frrouting.org
> https://lists.frrouting.org/listinfo/dev
>
> _______________________________________________
> dev mailing list
> dev at lists.frrouting.org
> https://lists.frrouting.org/listinfo/dev



-- 
Renato Westphal



More information about the dev mailing list