layer1.dot 5.17 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
/*
 *
 * 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>
   >];

}