Merge branch 'master' of code.ungleich.ch:ungleich-public/ungleich-graphviz

here we could explain how we solved it.
This commit is contained in:
samialazar 2020-06-18 17:22:17 +02:00
commit 570180ad64
2 changed files with 75 additions and 14 deletions

45
ipv6-with-the-viirb.dot Normal file
View file

@ -0,0 +1,45 @@
digraph G {
node [ shape=box, fontcolor="#ffffff", color="#40a9e3", style="filled" ]
label="The VPN IPv6 IoT Router Box (VIIRB) in action"
node [ shape=box ]
# rankdir=LR;
# subgraph cluster_internet {
ipv6internet [ label="The IPv6 Internet" shape=oval ]
ipv4internet [ label="The IPv4 Internet" shape=oval ]
ipv6vpn [ label="IPv6VPN.ch\nIPv6 via wireguard" shape=oval ]
# }
# subgraph cluster_location {
viirb [ label="The VIIRB" color="#ee1100" ];
# subgraph cluster_lan {
lan [ label="Your LAN" ];
lanclients [ label="Clients in the lan" ]
# }
# subgraph cluster_wifi {
wificlients [ label="WiFi clients" ]
wifi [ label="IPv6 only wifi: 'IPv6 everywhere'" shape=oval ]
# }
# }
viirb->ipv4internet [ label="Connected via LAN" ]
ipv4internet->ipv6vpn [ label="Connected to" ]
viirb->lan [ label="1. Gets IPv4 via cable" ]
viirb->ipv6vpn [ label="2. Connect the VPN to IPv6VPN.ch" ]
ipv6vpn->viirb [ label="3. Routes /48 IPv6 network to VIIRB" ]
viirb->lan [ label="4. Announce IPv6 availability" ]
lanclients->lan [ label="5. Assign themselves an IPv6 address" ]
lanclients->ipv6internet [ label="6. Connect via VIIRB to access" ]
viirb->wifi [ label="A. Provides IPv6 only WiFi" ]
wificlients->wifi [ label="B. Assign IPv6 address themselves" ]
wificlients->ipv6internet [ label="C. Connect via VIIRB to access" ]
wificlients->ipv4internet [ label="D. Use DNS64/NAT64 to access" ]
ipv6vpn->ipv6internet [ label="Is connected to" ]
ipv6internet->{wificlients,lanclients} [
label="SSH, HTTP, HTTPS\nports are open" ]
}

View file

@ -14,6 +14,7 @@ graph G {
label="place4: Germany";
server1p4 [ label="server1\ndns backup\nmx backup" ];
}
subgraph cluster_place5 {
label="place5: Schwanden";
server1p5 [ label="server1\nopennebula master\nceph osd" ];
@ -21,10 +22,11 @@ graph G {
server3p5 [ label="server3\nopennebula nodes\nceph osd" ];
server4p5 [ label="server4\nopennebula nodes\nceph osd" ];
router1p5 [ label="router1+2\nfirewall\nrouter\nnetboot" ];
router2p5 [ label="router1+2\nfirewall\nrouter\nnetboot" ];
router1p5 [ label="router1\nfirewall\nrouter\nnetboot" ];
router2p5 [ label="router2\nfirewall\nrouter\nnetboot" ];
apurouter1p5 [ label="dhcpv4\nnetboot\ncoworking" ];
apurouter2p5 [ label="dhcpv4\nnetboot\ncoworking" ];
red1p5 [ label="red1\nceph monitor\nopennebula mysql" ];
red2p5 [ label="red2\nceph monitor\n" ];
@ -32,20 +34,22 @@ graph G {
cephp5 [ label="ceph cluster" shape=oval ];
onep5 [ label="opennebula cluster" shape=oval ];
uplinkp5 [ label="Sunrise Uplink Device" ];
subgraph cluster_place5_switches {
label="Switches place5";
switch1p5 [ label="switch1"];
switch2p5 [ label="switch2"];
switch1p5--switch2p5 [ label="20G\nLACP\nMLAG" ];
}
switch1p5 [ label="switch1"];
switch2p5 [ label="switch2"];
switch1p5--switch2p5 [ label="20G\nLACP\nMLAG" ];
{server1p5,server2p5,server3p5,server4p5,router1p5,router2p5}--{switch1p5,switch2p5} [ label="20G\nLACP" ];
{server1p5,server2p5,server3p5,server4p5,router1p5,router2p5}--{switch1p5,switch2p5} [ label="20G\nLACP" ];
server1p5--{server1p5,server2p5,server3p5,server4p5} [ label="Manage VMs" ];
cephp5--{server1p5,server2p5,server3p5,server4p5,red1p5,red2p5,red3p5}
onep5--{server1p5,server2p5,server3p5,server4p5,red1p5} [ label="consists of" ];
{server1p5,server2p5,server3p5,server4p5}--routersp5 [ label="Netboot" ];
{server1p5,server2p5,server3p5,server4p5}--{apurouter1p5,apurouter2p5} [ label="Netboot" ];
# This is the power connections
ups1 [ label="UPS1\n2200VA\n1320W" ]
@ -95,6 +99,17 @@ graph G {
server2p5 -- mdarrayserver2 [ label="via SAS" ]
server3p5 -- mdarrayserver3 [ label="via SAS" ]
server4p5 -- mdarrayserver4 [ label="via SAS" ]
subgraph cluster_place5_switches {
label="Switches place5";
switch1p5 [ label="switch1"];
switch2p5 [ label="switch2"];
mikrotikcrs3261 [ label="CRS326-1" ];
mikrotikcrs3262 [ label="CRS326-2" ];
switch1p5--switch2p5 [ label="20G\nLACP\nMLAG" ];
}
}
subgraph cluster_place6 {
@ -180,9 +195,10 @@ graph G {
switch3p6--switch1p8 [ label="Dark fiber" ];
switch1p10--switch3p6 [ label="Dark fiber"];
server1p11--{routersp5,router1p6,router2p6} [ label="Place11 monitors" ];
server1p11--{router1p5,router2p5,router1p6,router2p6} [ label="Place11 monitors" ];
server1p4--hetzner [ label="Default Route" ];
routersp5--sunrise [ label="BGP Peering" ];
{router1p5,router2p5}--sunrise [ label="BGP Peering" ];
uplinkp5--sunrise [ label="Fiber" ];
{router1p6,router2p6}--netstream [ label="BGP Peering" ];
redp7--saltlte;
server1p11--mythicbeasts [ label="Default Route" ];