multirouter graphs
This commit is contained in:
parent
3881f31f76
commit
dfa5ecf58c
3 changed files with 40 additions and 1 deletions
20
routing-multirouter-stateful-bad.dot
Normal file
20
routing-multirouter-stateful-bad.dot
Normal 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" ]
|
||||
|
||||
}
|
19
routing-multirouter-stateful-good.dot
Normal file
19
routing-multirouter-stateful-good.dot
Normal 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" ]
|
||||
|
||||
}
|
|
@ -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" ]
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue