Campus Network
Multi-floor campus with switches, routers, AP and edge.
Rendering…
Make it your own.
digraph Campus {
rankdir=TB;
graph [bgcolor="transparent", splines=ortho, nodesep=0.5, ranksep=0.8, fontname="Inter"];
node [shape=box, style="rounded,filled", fontname="Inter", fontsize=11];
ISP [fillcolor="#fde68a", label="ISP / Internet"];
EdgeRtr [fillcolor="#fee2e2", label="Edge Router\n(BGP)"];
Core1 [fillcolor="#dbeafe", label="Core Switch A"];
Core2 [fillcolor="#dbeafe", label="Core Switch B"];
subgraph cluster_f1 {
label="Floor 1"; color="#16a34a"; style=rounded;
Acc11 [fillcolor="#dcfce7", label="Access Sw 1-A"];
Acc12 [fillcolor="#dcfce7", label="Access Sw 1-B"];
AP1 [fillcolor="#fef9c3", label="AP-1"];
}
subgraph cluster_f2 {
label="Floor 2"; color="#16a34a"; style=rounded;
Acc21 [fillcolor="#dcfce7", label="Access Sw 2-A"];
Acc22 [fillcolor="#dcfce7", label="Access Sw 2-B"];
AP2 [fillcolor="#fef9c3", label="AP-2"];
}
subgraph cluster_dmz {
label="DMZ"; color="#dc2626"; style=rounded;
FW [fillcolor="#fecaca", label="Firewall"];
Web [fillcolor="white", label="Web srv"];
Mail [fillcolor="white", label="Mail srv"];
}
ISP -> EdgeRtr -> FW;
EdgeRtr -> Core1; EdgeRtr -> Core2;
Core1 -> Core2 [dir=both, style=dashed, label="VRRP"];
Core1 -> Acc11; Core1 -> Acc21;
Core2 -> Acc12; Core2 -> Acc22;
Acc11 -> AP1; Acc21 -> AP2;
FW -> Web; FW -> Mail;
}