multirouter graphs

This commit is contained in:
Nico Schottelius 2021-05-10 13:56:10 +02:00
parent 3881f31f76
commit dfa5ecf58c
3 changed files with 40 additions and 1 deletions

View file

@ -0,0 +1,20 @@
digraph G {
node [ shape=box ]
upstreamrouter1 [ label="Upstream Router 1\nStateless routing" ];
upstreamrouter2 [ label="Upstream Router 2\nStateless routing" ];
router1 [ label="Internal Router 1\nStateful routing" ];
router2 [ label="Internal Router 2\nStateful routing" ];
servers [ label="Servers" ]
internet [ label="Internet" shape=oval ]
servers->router1 [ label="Use as default router" ]
router1->{upstreamrouter1,upstreamrouter2} [ label="Forward packet" ]
{upstreamrouter1,upstreamrouter2}->internet [ label="Forward packet" ]
internet->{upstreamrouter1,upstreamrouter2} [ label="Send answers" ]
{upstreamrouter1,upstreamrouter2}->router2 [ label="Return anwers from the Internet" ]
router2->servers [ label="Drop the answer, no state entry" ]
}

View file

@ -0,0 +1,19 @@
digraph G {
node [ shape=box ]
upstreamrouter1 [ label="Upstream Router 1\nStateless routing" ];
upstreamrouter2 [ label="Upstream Router 2\nStateless routing" ];
router1 [ label="Internal Router 1\nStateful routing" ];
servers [ label="Servers" ]
internet [ label="Internet" shape=oval ]
servers->router1 [ label="Use as default router" ]
router1->{upstreamrouter1,upstreamrouter2} [ label="Forward packet" ]
{upstreamrouter1,upstreamrouter2}->internet [ label="Forward packet" ]
internet->{upstreamrouter1,upstreamrouter2} [ label="Send answer" ]
{upstreamrouter1,upstreamrouter2}->router1 [ label="Return anwers from the Internet" ]
router1->servers [ label="Forward the answer" ]
}

View file

@ -15,7 +15,7 @@ digraph G {
{router1,router2}->{upstreamrouter1,upstreamrouter2} [ label="Announce 2001:db8::/64\n via BGP\nUse as default router" ]
{upstreamrouter1,upstreamrouter2}->internet [ label="Forward packets" ]
internet->{upstreamrouter1,upstreamrouter2} [ label="Send answers" ]
{router1,router2}->{upstreamrouter1,upstreamrouter2} [ label="Return anwers from the Internet" ]
{upstreamrouter1,upstreamrouter2}->{router1,router2} [ label="Return anwers from the Internet" ]
{router1,router2}->servers [ label="Forward the answer" ]
}