Skip to content
Graphviz (DOT) templates

BGP Peering

Inter-AS BGP with eBGP and iBGP sessions inside an AS.

Template previewGraphviz (DOT)
Rendering…

Make it your own.

graph bgp {
  graph [bgcolor=transparent];
  node [shape=circle, style=filled, fillcolor="#dbeafe", fontname=Inter, fontsize=10];

  R1 [label="R1\nAS 65001"];
  R2 [label="R2\nAS 65001"];
  R3 [label="R3\nAS 65001"];
  E1 [label="ISP-A\nAS 64512", fillcolor="#fef3c7"];
  E2 [label="ISP-B\nAS 64513", fillcolor="#fef3c7"];

  R1 -- R2 [label="iBGP"];
  R1 -- R3 [label="iBGP"];
  R2 -- R3 [label="iBGP"];
  R1 -- E1 [label="eBGP"];
  R3 -- E2 [label="eBGP"];
}