Commit 4f5d52d7 authored by hark's avatar hark

netmap (picture of how all switches are connected) + other stuff

parent 7edb6d8c
...@@ -4,7 +4,7 @@ VLANS @ACTA ...@@ -4,7 +4,7 @@ VLANS @ACTA
2 2
3 3
4 unknown port 3 mikrotik outside 2 (1000mbit) 4 unknown port 3 mikrotik outside 2 (1000mbit)
5 unknown port 2 mikrotik outside 2 (100mbit) 5 adm internet unknown port 2 mikrotik outside 2 (100mbit)
6 6
7 wireless belgium peering (10.205.255.32/29) 7 wireless belgium peering (10.205.255.32/29)
8 aalsmeer (subnet??) 8 aalsmeer (subnet??)
...@@ -20,16 +20,17 @@ VLANS @ACTA ...@@ -20,16 +20,17 @@ VLANS @ACTA
18 18
19 19
20 20
199 new internet uplink
down: down (5):
1: (nc) 1: (nc)
2: (kalium) 15 2: (kalium) 15, 199
3: (stanleyH) 15 3: (stanleyH) 15, 199
4: (techinc peering) 4: (techinc peering)
5: (empty) 5: (empty)
6: (fiber to inside) 15 6: (fiber to inside) 15, 199
inside: inside (3):
1: (no link, down?) 11,12,13,8,9,10,7,14,200, 1: (no link, down?) 11,12,13,8,9,10,7,14,200,
2: (outside2) 13,9,14,15 2: (outside2) 13,9,14,15
3: (outside1) 11,12,8 3: (outside1) 11,12,8
...@@ -37,20 +38,20 @@ inside: ...@@ -37,20 +38,20 @@ inside:
5: (ti, vlan10) 5: (ti, vlan10)
SFP: (fiber to down) SFP: (fiber to down)
outside1: outside1 (4):
1: 8, 1, 11, 12 1: (uplink, lower switch ??)8, 1, 11, 12
2: (aalsmeer) 8 2: (aalsmeer) 8
3: (east) 11 3: (east) 11
4: 12 4: 12
5: (no link) 5: (no link)
SFP: 1 SFP: 1
outside2: outside2 (2):
p1: 13 p1: (uplink, lowers swithch????)13 , 199
p2: (adm) 9 p2: (adm) 9, ,5, 199
p3: (wg)1, 4 p3: (wg)1, 4, 199
p4: (hemelvaart) 14, 201 p4: (hemelvaart) 14, 201, 199
p5: (link to?WFC???) 15 p5: (link to?WFC???) 15
SFP: 1, 5, 201, 200, 202 SFP: 1, 5, 201, 200, 202, 199
...@@ -13,3 +13,4 @@ ...@@ -13,3 +13,4 @@
10.205.253.10 wfc-afr 10.205.253.10 wfc-afr
10.205.253.11 lurch 10.205.253.11 lurch
10.205.253.12 itineris 10.205.253.12 itineris
10.205.253.13 hemelvaart
192.168.212.1 stanleyh
192.168.212.2 duja
192.168.212.6 ns0.adm
192.168.212.13 hemelvaart
195.169.146.1 urrouter
192.168.212.210 nanobridge_wg
#adm ips
195.169.146.71 admamsterdam.net
195.169.146.72 ns1.admamsterdam.net
195.169.146.73 73.admamsterdam.net.
195.169.146.74 mail.admamsterdam.net
195.169.146.75 adm.amsterdam
195.169.146.76
195.169.146.77
195.169.146.78
195.169.146.79
195.169.146.80 kalium_pub
195.169.146.82 wg_pub
/*
*
* Layer 1 network map of 020wireless
*
*
* for to update just run something like:
* neato -Tsvg layer1.dot > layer1.svg
*
* this file is also on the git repository
* please commit if make changes
* git commit -m "yourname: your message" layer1.dot
*/
graph amsw {
//overlap='scale'
rankdir=LR
layers="physical:virtual";
node [shape=Mrecord, bgcolor=pink, style=bold];
//{node [width=.3,height=.3,shape=octagon,style=filled,color=skyblue] offitec hacklab greenhouse casaroja mainswitch}
edge [len=3,style=bold]; /* applies to all following edges */
subgraph clouds {
layer=virtual
node [style=octagon, fillcolor=pink]
internet [style=invisible]
tinc_amsw [style=invisible]
/*
batman_adv
struct1 [label=< <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0"> <TR><TD>left</TD><TD PORT="f1">mid dle</TD><TD PORT="f2">right</TD></TR> </TABLE>>];
*/
/*
;test [label= < <TABLE>
; <TR><TD><IMG SRC="cloud.png"/></TD></TR>
; <TR><TD>caption</TD></TR>
; </TABLE> > ];
*/
}
subgraph routers {
node [color=brown image="router-icon.png"]
layer=physical
stanleyh [label = "stanleyh \n acta techinc rack \n 10.205.253.1| <tinc> tinc | <eth0> eth0 | <vlan13> vlan13 | <vlan14> vlan14 | <vlan201> vlan201 | <vlan12> vlan12"]
kalium [label = "kalium \n acta techinc rack \n 10.205.253.9| <tinc> tinc | <eth0> eth0 | <vlan13> vlan13 | <vlan14>"]
ns0adm [label = "ns0.adm \n adm rack \n 10.205.253.6| <eth0> eth0 | <vlan201> vlan201"]
urrouter [label = "urrouter \n @waag? | <vlan201> vlan201"]
itineris
lurch [label = "lurch \n dewittenkade? \n 10.205.253.11 | <tinc> tinc_amsw"]
hemrouter [label = "hemelvaart router \n 10.205.253.13 | <ethx> ethx"]
duja [label = "duja \n wgterrein \n 10.205.253.2 | <eth0> eth0"]
}
//switches
subgraph switch {
node [color=lightgreen];
down [label = "down \n techinc rack | <1> 1 | <2> 2 |<3> 3 | <4> 4 | <5> 5 | <sfp> sfp | <unk> unk"]
outside1 [label = "outside1 \n acta roof | <1> 1 | <2> 2 |<3> 3 | <4> 4 | <5> 5 | <sfp> sfp | <unk> unk"]
outside2 [label = "outside2 \n acta roof | <1> 1 | <2> 2 |<3> 3 | <4> 4 | <5> 5 | <sfp> sfp| <unk> unk"]
inside [label = "inside \n acta machine room | <1> 1 | <2> 2 |<3> 3 | <4> 4 | <5> 5 | <sfp> sfp | <unk> unk"]
inetswadm [label = "inetsw.adm \n roof adm | <1> 1 | <2> 2 |<3> 3 | <4> 4 | <5> 5 | <sfp> sfp | <unk> unk"]
loodssw1adm [label = "loodssw1.adm \n adm | <1> 1 | <2> 2 |<3> 3 | <4> 4 | <5> 5 | <sfp> sfp | <unk> unk"]
loodssw2adm [label = "loodssw1.adm \n adm | <1> 1 | <2> 2 |<3> 3 | <4> 4 | <5> 5 | <sfp> sfp | <unk> unk"]
cisco3550adm [label = "cisco3550.adm \n adm rack | <sfp> sfp | <unk> unk "]
wgswitch [label = "wgswitch \n wgterrein | <1> 1 | <2> 2 |<3> 3 | <4> 4 | <5> 5 | <sfp> sfp | <unk> unk"]
}
//access points / clients
subgraph wifi {
node [color=pink];
acta_adm [label = "acta_adm \n 10.205.255.26"]
adm_acta [label = "adm_acta \n 10.205.255.27"]
acta_wg [label = "acta_wg \n 10.205.255.10"]
wg_acta [label = "wg_acta \n 10.205.255.11"]
hem_acta [label = "hem_acta \n 10.205.255.43"]
acta_hem [label = "acta_hem \n 10.205.255.42"]
eastap
aalsmeerap
nieuwvennepap
}
subgraph phone {
node [color=blue];
}
subgraph pc {
node [color=green];
}
/* END of the nodes the rest is edges (do not put edges before nodes, because they will be rendered differently) */
/* logical links (vlans , tunnels etc. ) */
subgraph logicalLink {
// tinc links
edge [len=3,color="purple", style=dotted, label="", constraint=false];
stanleyh:tinc -- tinc_amsw
kalium:tinc -- tinc_amsw
lurch:tinc -- tinc_amsw
//vlans
edge [color="red"];
stanleyh:vlan201 -- down -- inside -- outside2
}
subgraph wirelessLink {
edge [len=3,color="pink", label="wireless", constraint=false];
acta_adm -- adm_acta [label="channel = unknown"]
acta_wg -- wg_acta
acta_hem -- hem_acta
}
subgraph gbit {
edge [color=red, constraint=false];
kalium:eth0 -- down:2
jkk
stanleyh:eth0 -- down:3
testrouter:eth0 -- down:sfp
down:4 -- techinc
down:sfp -- inside:sfp
inside:2 -- outside2:1
inside:3 -- outside1:1
inside:4 -- antwerp
inside:5 -- techinc
outside1:2 -- aalsmeerap
outside1:3 -- eastap
outside1:4 -- nieuwvennepap
outside2:2 -- acta_adm
outside2:3 -- acta_wg
outside2:4 -- acta_hem
outside2:sfp -- URuplink
adm_acta -- inetswadm:4
inetswadm:sfp -- cisco3550adm:unk
hem_acta -- hemrouter:unk
cisco3550adm:unk -- ns0adm:eth0
wg_acta -- wgswitch:unk
wgswitch:unk -- duja:eth0
}
subgraph nonGbit {
edge [len=3,color="#ffdd66", label="100mbit", constraint=false];
}
Legend [shape=none, margin=0, label=<
<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
<TR>
<TD COLSPAN="2"><B>Nodes</B></TD>
</TR>
<TR>
<TD>accesspoint</TD>
<TD BGCOLOR="pink"></TD>
</TR>
<TR>
<TD>router</TD>
<TD BGCOLOR="brown"></TD>
</TR>
<TR>
<TD>phone</TD>
<TD BGCOLOR="BLUE"></TD>
</TR>
<TR>
<TD>switch</TD>
<TD bgcolor="lightgreen"></TD>
</TR>
<TR>
<TD>PC</TD>
<TD bgcolor="green"> </TD>
</TR>
<TR>
<TD COLSPAN="2"><B>Edges</B></TD>
</TR>
<TR>
<TD>Virtual Link (tunnel)</TD>
<TD bgcolor="purple"> </TD>
</TR>
<TR>
<TD>Wireless</TD>
<TD bgcolor="pink"> </TD>
</TR>
</TABLE>
>];
}
This diff is collapsed.
#!/bin/bash
neato -Tsvg layer1.dot > layer1.svg
display layer1.svg
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment