f-70: doc: schéma du cluster rafraîchi (deux route reflectors, VRRP, gateway anycast, VRF L3VNI) #70

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-10-18 00:33:43 +02:00
commit fa42096cff
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
3 changed files with 300 additions and 270 deletions

View file

@ -55,22 +55,22 @@ Topologie
---------
.. figure:: /schemas/architecture-cluster.svg
:alt: Architecture du cluster : routeurs, route reflector, hyperviseurs, plans de données et de contrôle
:alt: Détail d'un cluster : routeurs, route reflectors, hyperviseurs, netns et VRF des VPC, plans de données et de contrôle
:align: center
:width: 100%
:class: only-light
Architecture cible. Trait bleu : plan de données (VXLAN). Tirets violets : plan de contrôle
(sessions BGP). Pointillé gris : interfaces créées par l'agent.
Détail d'un cluster et de deux hyperviseurs. Trait bleu : plan de données (VXLAN). Tirets
violets : plan de contrôle (sessions BGP). Pointillé gris : créé par l'agent.
.. figure:: /schemas/architecture-cluster-dark.svg
:alt: Architecture du cluster : routeurs, route reflector, hyperviseurs, plans de données et de contrôle
:alt: Détail d'un cluster : routeurs, route reflectors, hyperviseurs, netns et VRF des VPC, plans de données et de contrôle
:align: center
:width: 100%
:class: only-dark
Architecture cible. Trait bleu : plan de données (VXLAN). Tirets violets : plan de contrôle
(sessions BGP). Pointillé gris : interfaces créées par l'agent.
Détail d'un cluster et de deux hyperviseurs. Trait bleu : plan de données (VXLAN). Tirets
violets : plan de contrôle (sessions BGP). Pointillé gris : créé par l'agent.
Deux plans distincts, à ne pas confondre au moment du diagnostic :

View file

@ -1,155 +1,170 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 736" width="1000" height="736" role="img" aria-label="Architecture du cluster : routeurs, route reflector, hyperviseurs, plans de données et de contrôle">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 900" width="1200" height="900" role="img" aria-label="Architecture du cluster : routeurs, route reflectors, hyperviseurs, plans de données et de contrôle">
<style>
.lbl { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; fill: #e6edf3; }
.sub { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; fill: #9198a1; }
.grp { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 12px; font-weight: 600; fill: #9198a1; letter-spacing: .04em; }
.ctrlt { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; fill: #c297ff; }
.datat { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #4493f8; }
.orcht { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #3fb950; }
.nett { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #f0883e; }
.box { fill: #22272e; stroke: #6e7781; stroke-width: 1.5; }
.future { fill: #22272e; stroke: #6e7781; stroke-width: 1.5; stroke-dasharray: 6 4; }
.group { fill: #1c2128; stroke: #444c56; stroke-width: 1.5; }
.pill { fill: #22272e; stroke: #9198a1; stroke-width: 1.5; }
.bus { stroke: #9198a1; stroke-width: 4; fill: none; stroke-linecap: round; }
.link { stroke: #9198a1; stroke-width: 1.8; fill: none; }
.ctrl { stroke: #c297ff; stroke-width: 1.6; fill: none; stroke-dasharray: 5 4; }
.data { stroke: #4493f8; stroke-width: 3; fill: none; }
.made { stroke: #6e7781; stroke-width: 1.5; fill: none; stroke-dasharray: 2 3; }
.orch { stroke: #3fb950; stroke-width: 2; fill: none; stroke-dasharray: 8 4; }
.net { stroke: #f0883e; stroke-width: 2.4; fill: none; }
.head-ctrl { fill: #c297ff; }
.head-data { fill: #4493f8; }
.head-orch { fill: #3fb950; }
.head-net { fill: #f0883e; }
.made { stroke: #6e7781; stroke-width: 1.5; fill: none; stroke-dasharray: 2 3; }
.head-made { fill: #6e7781; }
</style>
<defs>
<marker id="a-ctrl" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="head-ctrl" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-data" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="5" markerHeight="5" orient="auto-start-reverse"><path class="head-data" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-orch" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path class="head-orch" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-net" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path class="head-net" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-made" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="head-made" d="M0 0 L10 5 L0 10 z"/></marker>
</defs>
<rect class="group" x="40" y="20" width="400" height="144" rx="8"/>
<text class="grp" x="60" y="44">ROUTEURS DE CLUSTER · AS 65100</text>
<rect class="box" x="60" y="66" width="170" height="60" rx="6"/>
<text class="lbl" x="145" y="92" text-anchor="middle">routeur 1</text>
<text class="sub" x="145" y="111" text-anchor="middle">169.254.0.1/28</text>
<rect class="box" x="250" y="66" width="170" height="60" rx="6"/>
<text class="lbl" x="335" y="92" text-anchor="middle">routeur 2</text>
<text class="sub" x="335" y="111" text-anchor="middle">169.254.0.2/28</text>
<text class="sub" x="240" y="150" text-anchor="middle">passerelle 192.168.14.1/24</text>
<rect class="group" x="560" y="20" width="400" height="144" rx="8"/>
<text class="grp" x="580" y="44">VM ROUTE REFLECTOR · AS 65000</text>
<text class="lbl" x="580" y="70">lo1 · 10.255.255.1/32</text>
<text class="sub" x="580" y="87">router-id, cluster-id, source des sessions EVPN</text>
<text class="lbl" x="580" y="111">192.168.14.4/24 · 169.254.0.3/28</text>
<text class="sub" x="580" y="128">principale, et secondaire pour le lien avec les routeurs</text>
<text class="sub" x="580" y="150">hébergée par le cluster lui-même</text>
<path class="ctrl" d="M440 92 L560 92"/>
<text class="ctrlt" x="500" y="84" text-anchor="middle">eBGP · BFD (×2)</text>
<text class="ctrlt" x="500" y="108" text-anchor="middle">annonce lo1 seule</text>
<text class="ctrlt" x="500" y="122" text-anchor="middle">n'accepte rien</text>
<path class="link" d="M145 126 L145 196"/>
<path class="link" d="M335 126 L335 196"/>
<path class="link" d="M760 164 L760 196"/>
<path class="bus" d="M40 196 L960 196"/>
<rect class="pill" x="376" y="177" width="216" height="38" rx="19"/>
<text class="lbl" x="484" y="194" text-anchor="middle">segment underlay · L2</text>
<text class="sub" x="484" y="209" text-anchor="middle">192.168.14.0/24 · 169.254.0.0/28</text>
<rect class="group" x="40" y="262" width="430" height="306" rx="8"/>
<text class="grp" x="60" y="284">HYPERVISEUR 1</text>
<rect class="box" x="274" y="298" width="180" height="46" rx="6"/>
<text class="lbl" x="364" y="317" text-anchor="middle">br-000000</text>
<text class="sub" x="364" y="334" text-anchor="middle">uplink · 192.168.14.11</text>
<rect class="box" x="274" y="366" width="180" height="46" rx="6"/>
<text class="lbl" x="364" y="385" text-anchor="middle">vxlan-&lt;vni&gt;</text>
<text class="sub" x="364" y="402" text-anchor="middle">dans br-&lt;subnet&gt;, sans learning</text>
<rect class="box" x="274" y="434" width="180" height="46" rx="6"/>
<text class="lbl" x="364" y="453" text-anchor="middle">netns du VPC</text>
<text class="sub" x="364" y="470" text-anchor="middle">passerelle, DHCP</text>
<rect class="box" x="274" y="502" width="180" height="46" rx="6"/>
<text class="lbl" x="364" y="521" text-anchor="middle">VM</text>
<text class="sub" x="364" y="538" text-anchor="middle">QEMU / KVM</text>
<path class="link" d="M364 344 L364 366"/>
<text class="sub" x="372" y="359">VTEP</text>
<path class="link" d="M364 412 L364 434"/>
<text class="sub" x="372" y="427">veth</text>
<path class="link" d="M364 480 L364 502"/>
<text class="sub" x="372" y="495">tap</text>
<rect class="box" x="56" y="298" width="180" height="70" rx="6"/>
<text class="lbl" x="146" y="321" text-anchor="middle">FRR</text>
<text class="sub" x="146" y="340" text-anchor="middle">bgpd · AS 64600</text>
<text class="sub" x="146" y="356" text-anchor="middle">advertise-all-vni</text>
<rect class="box" x="56" y="434" width="180" height="46" rx="6"/>
<text class="lbl" x="146" y="453" text-anchor="middle">agent</text>
<text class="sub" x="146" y="470" text-anchor="middle">API REST · Badger</text>
<path class="ctrl" d="M236 352 L255 352 L255 389 L272 389" marker-end="url(#a-ctrl)"/>
<text class="ctrlt" x="255" y="345" text-anchor="middle">FDB</text>
<path class="made" d="M236 457 L272 457" marker-end="url(#a-made)"/>
<text class="sub" x="255" y="450" text-anchor="middle">crée</text>
<rect class="group" x="530" y="262" width="430" height="306" rx="8"/>
<text class="grp" x="656" y="284">HYPERVISEUR 2</text>
<rect class="box" x="546" y="298" width="180" height="46" rx="6"/>
<text class="lbl" x="636" y="317" text-anchor="middle">br-000000</text>
<text class="sub" x="636" y="334" text-anchor="middle">uplink · 192.168.14.12</text>
<rect class="box" x="546" y="366" width="180" height="46" rx="6"/>
<text class="lbl" x="636" y="385" text-anchor="middle">vxlan-&lt;vni&gt;</text>
<text class="sub" x="636" y="402" text-anchor="middle">dans br-&lt;subnet&gt;, sans learning</text>
<rect class="box" x="546" y="434" width="180" height="46" rx="6"/>
<text class="lbl" x="636" y="453" text-anchor="middle">netns du VPC</text>
<text class="sub" x="636" y="470" text-anchor="middle">passerelle, DHCP</text>
<rect class="box" x="546" y="502" width="180" height="46" rx="6"/>
<text class="lbl" x="636" y="521" text-anchor="middle">VM</text>
<text class="sub" x="636" y="538" text-anchor="middle">QEMU / KVM</text>
<path class="link" d="M636 344 L636 366"/>
<text class="sub" x="628" y="359" text-anchor="end">VTEP</text>
<path class="link" d="M636 412 L636 434"/>
<text class="sub" x="628" y="427" text-anchor="end">veth</text>
<path class="link" d="M636 480 L636 502"/>
<text class="sub" x="628" y="495" text-anchor="end">tap</text>
<rect class="box" x="764" y="298" width="180" height="70" rx="6"/>
<text class="lbl" x="854" y="321" text-anchor="middle">FRR</text>
<text class="sub" x="854" y="340" text-anchor="middle">bgpd · AS 64600</text>
<text class="sub" x="854" y="356" text-anchor="middle">advertise-all-vni</text>
<rect class="box" x="764" y="434" width="180" height="46" rx="6"/>
<text class="lbl" x="854" y="453" text-anchor="middle">agent</text>
<text class="sub" x="854" y="470" text-anchor="middle">API REST · Badger</text>
<path class="ctrl" d="M764 352 L745 352 L745 389 L728 389" marker-end="url(#a-ctrl)"/>
<text class="ctrlt" x="745" y="345" text-anchor="middle">FDB</text>
<path class="made" d="M764 457 L728 457" marker-end="url(#a-made)"/>
<text class="sub" x="745" y="450" text-anchor="middle">crée</text>
<path class="link" d="M364 298 L364 196"/>
<path class="link" d="M636 298 L636 196"/>
<path class="ctrl" d="M210 298 L210 246 L357 246"/>
<path class="ctrl" d="M371 246 L612 246 L612 164"/>
<path class="ctrl" d="M854 298 L854 164"/>
<text class="ctrlt" x="384" y="240">iBGP l2vpn evpn · AS 64600</text>
<text class="ctrlt" x="862" y="240">iBGP</text>
<path class="data" d="M458 389 L542 389" marker-start="url(#a-data)" marker-end="url(#a-data)"/>
<text class="datat" x="500" y="378" text-anchor="middle">VXLAN</text>
<text class="datat" x="500" y="406" text-anchor="middle">UDP 4789</text>
<path class="link" d="M40 604 L76 604"/>
<text class="sub" x="84" y="608">lien L2 / interface</text>
<path class="data" d="M220 604 L256 604"/>
<text class="sub" x="264" y="608">plan de données : tunnels VXLAN</text>
<path class="ctrl" d="M470 604 L506 604"/>
<text class="sub" x="514" y="608">plan de contrôle : sessions BGP</text>
<path class="made" d="M716 604 L752 604"/>
<text class="sub" x="760" y="608">créé par l'agent</text>
<text class="sub" x="40" y="640">Les hyperviseurs joignent 10.255.255.1 par leur passerelle 192.168.14.1 : les routeurs l'ont apprise du route reflector en eBGP, sans rien lui renvoyer.</text>
<text class="sub" x="40" y="658">Le route reflector accepte toute session venant de 192.168.14.0/24 (bgp listen range) et réfléchit les routes EVPN entre hyperviseurs.</text>
<text class="sub" x="40" y="676">Chaque FRR en peuple la FDB des VXLAN locaux — intégration de FRR avec les interfaces créées par two : à qualifier (#50, E5).</text>
<text class="sub" x="40" y="694">MTU du segment : 1550 au moins (VXLAN figé à 1500 par l'agent, + 50 octets d'encapsulation) ; 9000 dans le lab.</text>
<text class="sub" x="40" y="712">ASN, loopback et plages : valeurs de production (#50). Adresses en 192.168.14.0/24 : celles du lab. Placement de la VM route reflector : à rédiger.</text>
<rect class="group" x="40" y="20" width="440" height="140" rx="8"/>
<text class="grp" x="60" y="44">ROUTEURS DU CLUSTER · AS 65100</text>
<rect class="box" x="60" y="52" width="190" height="56" rx="6"/>
<text class="lbl" x="155.0" y="77.0" text-anchor="middle">routeur 1</text>
<text class="sub" x="155.0" y="94.0" text-anchor="middle">169.254.0.1/28</text>
<rect class="box" x="270" y="52" width="190" height="56" rx="6"/>
<text class="lbl" x="365.0" y="77.0" text-anchor="middle">routeur 2</text>
<text class="sub" x="365.0" y="94.0" text-anchor="middle">169.254.0.2/28</text>
<text class="sub" x="260" y="132" text-anchor="middle">passerelle de l'underlay en VRRP</text>
<text class="sub" x="260" y="148" text-anchor="middle">annoncent les loopbacks des RR, ne leur renvoient rien</text>
<rect class="group" x="620" y="20" width="540" height="140" rx="8"/>
<text class="grp" x="640" y="44">ROUTE REFLECTORS · AS 65000</text>
<rect class="box" x="640" y="52" width="240" height="56" rx="6"/>
<text class="lbl" x="760.0" y="77.0" text-anchor="middle">route reflector 1</text>
<text class="sub" x="760.0" y="94.0" text-anchor="middle">lo 10.255.255.1/32 · 169.254.0.3/28</text>
<rect class="box" x="900" y="52" width="240" height="56" rx="6"/>
<text class="lbl" x="1020.0" y="77.0" text-anchor="middle">route reflector 2</text>
<text class="sub" x="1020.0" y="94.0" text-anchor="middle">lo 10.255.255.2/32 · 169.254.0.4/28</text>
<text class="sub" x="890" y="132" text-anchor="middle">router-id, cluster-id et source des sessions EVPN : la loopback</text>
<text class="sub" x="890" y="148" text-anchor="middle">un par cluster (vue d'ensemble) ; le lab les réunit dans un seul</text>
<path class="ctrl" d="M480 80 H640" marker-start="url(#a-ctrl)" marker-end="url(#a-ctrl)"/>
<text class="ctrlt" x="560" y="72" text-anchor="middle">eBGP · BFD</text>
<text class="ctrlt" x="560" y="98" text-anchor="middle">loopbacks seules</text>
<line class="bus" x1="40" y1="200" x2="1160" y2="200"/>
<text class="sub" x="600" y="192" text-anchor="middle">segment underlay · L2 · lien routeurs ↔ RR en 169.254.0.0/28</text>
<path class="link" d="M260 160 V200"/>
<path class="link" d="M890 160 V200"/>
<path class="data" d="M200 236 H780"/>
<text class="datat" x="490" y="230" text-anchor="middle">VXLAN · UDP 4789 · de VTEP à VTEP</text>
<path class="data" d="M200 236 V280"/>
<path class="data" d="M780 236 V280"/>
<rect class="group" x="40" y="250" width="540" height="450" rx="8"/>
<text class="grp" x="60" y="274">HYPERVISEUR 1</text>
<rect class="box" x="60" y="280" width="180" height="52" rx="6"/>
<text class="lbl" x="150.0" y="303.0" text-anchor="middle">br-000000</text>
<text class="sub" x="150.0" y="320.0" text-anchor="middle">IP de l'hyperviseur = VTEP</text>
<rect class="box" x="60" y="350" width="180" height="62" rx="6"/>
<text class="lbl" x="150.0" y="370.0" text-anchor="middle">FRR</text>
<text class="sub" x="150.0" y="387.0" text-anchor="middle">bgpd · AS 64600</text>
<text class="sub" x="150.0" y="402.0" text-anchor="middle">advertise-all-vni</text>
<rect class="box" x="60" y="430" width="180" height="52" rx="6"/>
<text class="lbl" x="150.0" y="453.0" text-anchor="middle">agent</text>
<text class="sub" x="150.0" y="470.0" text-anchor="middle">API REST · Badger</text>
<rect class="box" x="60" y="510" width="180" height="56" rx="6"/>
<text class="lbl" x="150.0" y="535.0" text-anchor="middle">vxlan-&lt;vni&gt;</text>
<text class="sub" x="150.0" y="552.0" text-anchor="middle">dans br-&lt;subnet&gt;, sans learning</text>
<rect class="group" x="270" y="280" width="290" height="300" rx="8"/>
<text class="grp" x="290" y="304">NETNS DE LA VPC</text>
<rect class="box" x="285" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="347.5" y="334.0" text-anchor="middle">gw-&lt;subnet&gt;</text>
<text class="sub" x="347.5" y="351.0" text-anchor="middle">gateway .254</text>
<text class="sub" x="347.5" y="366.0" text-anchor="middle">MAC anycast</text>
<rect class="box" x="420" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="482.5" y="334.0" text-anchor="middle">DHCP</text>
<text class="sub" x="482.5" y="351.0" text-anchor="middle">métadonnées</text>
<text class="sub" x="482.5" y="366.0" text-anchor="middle">écoutent sur gw-</text>
<rect class="box" x="285" y="400" width="260" height="52" rx="6"/>
<text class="lbl" x="415.0" y="423.0" text-anchor="middle">br-&lt;subnet&gt;</text>
<text class="sub" x="415.0" y="440.0" text-anchor="middle">adresse d'émission .253</text>
<rect class="box" x="285" y="478" width="260" height="52" rx="6"/>
<text class="lbl" x="415.0" y="501.0" text-anchor="middle">VM</text>
<text class="sub" x="415.0" y="518.0" text-anchor="middle">QEMU / KVM · tap dans le netns</text>
<text class="sub" x="415" y="552" text-anchor="middle">macvlan gw- posé sur br-, confiné à l'hôte (#57)</text>
<rect class="box" x="270" y="610" width="290" height="62" rx="6"/>
<text class="lbl" x="415.0" y="630.0" text-anchor="middle">vrf-&lt;vpc&gt; · L3VNI</text>
<text class="sub" x="415.0" y="647.0" text-anchor="middle">brl3 · vxl3 · veth de transit</text>
<text class="sub" x="415.0" y="662.0" text-anchor="middle">routage entre hyperviseurs (#41)</text>
<path class="link" d="M347 378 V400"/>
<path class="link" d="M240 538 H255 V430 H285"/>
<path class="link" d="M415 452 V478"/>
<text class="sub" x="423" y="469" text-anchor="start">tap</text>
<path class="link" d="M415 580 V610"/>
<text class="sub" x="423" y="600" text-anchor="start">transit</text>
<path class="made" d="M60 538 H50 V306 H60" marker-end="url(#a-made)"/>
<path class="made" d="M240 456 H270" marker-end="url(#a-made)"/>
<path class="link" d="M225 280 V200"/>
<path class="ctrl" d="M240 365 H248 V200"/>
<rect class="group" x="620" y="250" width="540" height="450" rx="8"/>
<text class="grp" x="640" y="274">HYPERVISEUR 2</text>
<rect class="box" x="640" y="280" width="180" height="52" rx="6"/>
<text class="lbl" x="730.0" y="303.0" text-anchor="middle">br-000000</text>
<text class="sub" x="730.0" y="320.0" text-anchor="middle">IP de l'hyperviseur = VTEP</text>
<rect class="box" x="640" y="350" width="180" height="62" rx="6"/>
<text class="lbl" x="730.0" y="370.0" text-anchor="middle">FRR</text>
<text class="sub" x="730.0" y="387.0" text-anchor="middle">bgpd · AS 64600</text>
<text class="sub" x="730.0" y="402.0" text-anchor="middle">advertise-all-vni</text>
<rect class="box" x="640" y="430" width="180" height="52" rx="6"/>
<text class="lbl" x="730.0" y="453.0" text-anchor="middle">agent</text>
<text class="sub" x="730.0" y="470.0" text-anchor="middle">API REST · Badger</text>
<rect class="box" x="640" y="510" width="180" height="56" rx="6"/>
<text class="lbl" x="730.0" y="535.0" text-anchor="middle">vxlan-&lt;vni&gt;</text>
<text class="sub" x="730.0" y="552.0" text-anchor="middle">dans br-&lt;subnet&gt;, sans learning</text>
<rect class="group" x="850" y="280" width="290" height="300" rx="8"/>
<text class="grp" x="870" y="304">NETNS DE LA VPC</text>
<rect class="box" x="865" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="927.5" y="334.0" text-anchor="middle">gw-&lt;subnet&gt;</text>
<text class="sub" x="927.5" y="351.0" text-anchor="middle">gateway .254</text>
<text class="sub" x="927.5" y="366.0" text-anchor="middle">MAC anycast</text>
<rect class="box" x="1000" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="1062.5" y="334.0" text-anchor="middle">DHCP</text>
<text class="sub" x="1062.5" y="351.0" text-anchor="middle">métadonnées</text>
<text class="sub" x="1062.5" y="366.0" text-anchor="middle">écoutent sur gw-</text>
<rect class="box" x="865" y="400" width="260" height="52" rx="6"/>
<text class="lbl" x="995.0" y="423.0" text-anchor="middle">br-&lt;subnet&gt;</text>
<text class="sub" x="995.0" y="440.0" text-anchor="middle">adresse d'émission .253</text>
<rect class="box" x="865" y="478" width="260" height="52" rx="6"/>
<text class="lbl" x="995.0" y="501.0" text-anchor="middle">VM</text>
<text class="sub" x="995.0" y="518.0" text-anchor="middle">QEMU / KVM · tap dans le netns</text>
<text class="sub" x="995" y="552" text-anchor="middle">macvlan gw- posé sur br-, confiné à l'hôte (#57)</text>
<rect class="box" x="850" y="610" width="290" height="62" rx="6"/>
<text class="lbl" x="995.0" y="630.0" text-anchor="middle">vrf-&lt;vpc&gt; · L3VNI</text>
<text class="sub" x="995.0" y="647.0" text-anchor="middle">brl3 · vxl3 · veth de transit</text>
<text class="sub" x="995.0" y="662.0" text-anchor="middle">routage entre hyperviseurs (#41)</text>
<path class="link" d="M927 378 V400"/>
<path class="link" d="M820 538 H835 V430 H865"/>
<path class="link" d="M995 452 V478"/>
<text class="sub" x="1003" y="469" text-anchor="start">tap</text>
<path class="link" d="M995 580 V610"/>
<text class="sub" x="1003" y="600" text-anchor="start">transit</text>
<path class="made" d="M640 538 H630 V306 H640" marker-end="url(#a-made)"/>
<path class="made" d="M820 456 H850" marker-end="url(#a-made)"/>
<path class="link" d="M805 280 V200"/>
<path class="ctrl" d="M820 365 H828 V200"/>
<text class="ctrlt" x="1150" y="230" text-anchor="end">iBGP l2vpn evpn · AS 64600 (FRR → RR)</text>
<line class="link" x1="60" y1="736" x2="110" y2="736"/>
<text class="sub" x="118" y="740" text-anchor="start">lien L2 / interface</text>
<path class="data" d="M260 736 H310"/>
<text class="sub" x="318" y="740" text-anchor="start">plan de données : tunnels VXLAN</text>
<path class="ctrl" d="M520 736 H570"/>
<text class="sub" x="578" y="740" text-anchor="start">plan de contrôle : sessions BGP</text>
<path class="made" d="M790 736 H840" marker-end="url(#a-made)"/>
<text class="sub" x="848" y="740" text-anchor="start">créé par l'agent</text>
<text class="sub" x="60" y="780" text-anchor="start">Les hyperviseurs joignent les loopbacks des route reflectors par leur passerelle : les routeurs les ont apprises en eBGP, sans rien leur renvoyer.</text>
<text class="sub" x="60" y="798" text-anchor="start">Les route reflectors acceptent toute session venant de l'underlay (bgp listen range) et réfléchissent les routes EVPN entre hyperviseurs ; chaque FRR en peuple la FDB des VXLAN locaux.</text>
<text class="sub" x="60" y="816" text-anchor="start">La gateway d'un subnet a la même IP et la même MAC sur tous les hôtes ; chaque netns émet depuis son adresse d'émission. Les subnets d'une VPC se joignent par son L3VNI.</text>
<text class="sub" x="60" y="834" text-anchor="start">ASN et loopbacks : valeurs de production (#50). Vue d'ensemble (bordures, Internet, orchestration, plusieurs clusters) : schéma précédent.</text>
</svg>

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before After
Before After

View file

@ -1,155 +1,170 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 736" width="1000" height="736" role="img" aria-label="Architecture du cluster : routeurs, route reflector, hyperviseurs, plans de données et de contrôle">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 900" width="1200" height="900" role="img" aria-label="Architecture du cluster : routeurs, route reflectors, hyperviseurs, plans de données et de contrôle">
<style>
.lbl { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; fill: #1f2328; }
.sub { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; fill: #57606a; }
.grp { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 12px; font-weight: 600; fill: #57606a; letter-spacing: .04em; }
.ctrlt { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; fill: #8250df; }
.datat { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #0969da; }
.orcht { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #1a7f37; }
.nett { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 11px; font-weight: 600; fill: #bc4c00; }
.box { fill: #ffffff; stroke: #8c959f; stroke-width: 1.5; }
.future { fill: #ffffff; stroke: #8c959f; stroke-width: 1.5; stroke-dasharray: 6 4; }
.group { fill: #f6f8fa; stroke: #d0d7de; stroke-width: 1.5; }
.pill { fill: #ffffff; stroke: #57606a; stroke-width: 1.5; }
.bus { stroke: #57606a; stroke-width: 4; fill: none; stroke-linecap: round; }
.link { stroke: #57606a; stroke-width: 1.8; fill: none; }
.ctrl { stroke: #8250df; stroke-width: 1.6; fill: none; stroke-dasharray: 5 4; }
.data { stroke: #0969da; stroke-width: 3; fill: none; }
.made { stroke: #8c959f; stroke-width: 1.5; fill: none; stroke-dasharray: 2 3; }
.orch { stroke: #1a7f37; stroke-width: 2; fill: none; stroke-dasharray: 8 4; }
.net { stroke: #bc4c00; stroke-width: 2.4; fill: none; }
.head-ctrl { fill: #8250df; }
.head-data { fill: #0969da; }
.head-orch { fill: #1a7f37; }
.head-net { fill: #bc4c00; }
.made { stroke: #8c959f; stroke-width: 1.5; fill: none; stroke-dasharray: 2 3; }
.head-made { fill: #8c959f; }
</style>
<defs>
<marker id="a-ctrl" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="head-ctrl" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-data" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="5" markerHeight="5" orient="auto-start-reverse"><path class="head-data" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-orch" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path class="head-orch" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-net" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path class="head-net" d="M0 0 L10 5 L0 10 z"/></marker>
<marker id="a-made" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="head-made" d="M0 0 L10 5 L0 10 z"/></marker>
</defs>
<rect class="group" x="40" y="20" width="400" height="144" rx="8"/>
<text class="grp" x="60" y="44">ROUTEURS DE CLUSTER · AS 65100</text>
<rect class="box" x="60" y="66" width="170" height="60" rx="6"/>
<text class="lbl" x="145" y="92" text-anchor="middle">routeur 1</text>
<text class="sub" x="145" y="111" text-anchor="middle">169.254.0.1/28</text>
<rect class="box" x="250" y="66" width="170" height="60" rx="6"/>
<text class="lbl" x="335" y="92" text-anchor="middle">routeur 2</text>
<text class="sub" x="335" y="111" text-anchor="middle">169.254.0.2/28</text>
<text class="sub" x="240" y="150" text-anchor="middle">passerelle 192.168.14.1/24</text>
<rect class="group" x="560" y="20" width="400" height="144" rx="8"/>
<text class="grp" x="580" y="44">VM ROUTE REFLECTOR · AS 65000</text>
<text class="lbl" x="580" y="70">lo1 · 10.255.255.1/32</text>
<text class="sub" x="580" y="87">router-id, cluster-id, source des sessions EVPN</text>
<text class="lbl" x="580" y="111">192.168.14.4/24 · 169.254.0.3/28</text>
<text class="sub" x="580" y="128">principale, et secondaire pour le lien avec les routeurs</text>
<text class="sub" x="580" y="150">hébergée par le cluster lui-même</text>
<path class="ctrl" d="M440 92 L560 92"/>
<text class="ctrlt" x="500" y="84" text-anchor="middle">eBGP · BFD (×2)</text>
<text class="ctrlt" x="500" y="108" text-anchor="middle">annonce lo1 seule</text>
<text class="ctrlt" x="500" y="122" text-anchor="middle">n'accepte rien</text>
<path class="link" d="M145 126 L145 196"/>
<path class="link" d="M335 126 L335 196"/>
<path class="link" d="M760 164 L760 196"/>
<path class="bus" d="M40 196 L960 196"/>
<rect class="pill" x="376" y="177" width="216" height="38" rx="19"/>
<text class="lbl" x="484" y="194" text-anchor="middle">segment underlay · L2</text>
<text class="sub" x="484" y="209" text-anchor="middle">192.168.14.0/24 · 169.254.0.0/28</text>
<rect class="group" x="40" y="262" width="430" height="306" rx="8"/>
<text class="grp" x="60" y="284">HYPERVISEUR 1</text>
<rect class="box" x="274" y="298" width="180" height="46" rx="6"/>
<text class="lbl" x="364" y="317" text-anchor="middle">br-000000</text>
<text class="sub" x="364" y="334" text-anchor="middle">uplink · 192.168.14.11</text>
<rect class="box" x="274" y="366" width="180" height="46" rx="6"/>
<text class="lbl" x="364" y="385" text-anchor="middle">vxlan-&lt;vni&gt;</text>
<text class="sub" x="364" y="402" text-anchor="middle">dans br-&lt;subnet&gt;, sans learning</text>
<rect class="box" x="274" y="434" width="180" height="46" rx="6"/>
<text class="lbl" x="364" y="453" text-anchor="middle">netns du VPC</text>
<text class="sub" x="364" y="470" text-anchor="middle">passerelle, DHCP</text>
<rect class="box" x="274" y="502" width="180" height="46" rx="6"/>
<text class="lbl" x="364" y="521" text-anchor="middle">VM</text>
<text class="sub" x="364" y="538" text-anchor="middle">QEMU / KVM</text>
<path class="link" d="M364 344 L364 366"/>
<text class="sub" x="372" y="359">VTEP</text>
<path class="link" d="M364 412 L364 434"/>
<text class="sub" x="372" y="427">veth</text>
<path class="link" d="M364 480 L364 502"/>
<text class="sub" x="372" y="495">tap</text>
<rect class="box" x="56" y="298" width="180" height="70" rx="6"/>
<text class="lbl" x="146" y="321" text-anchor="middle">FRR</text>
<text class="sub" x="146" y="340" text-anchor="middle">bgpd · AS 64600</text>
<text class="sub" x="146" y="356" text-anchor="middle">advertise-all-vni</text>
<rect class="box" x="56" y="434" width="180" height="46" rx="6"/>
<text class="lbl" x="146" y="453" text-anchor="middle">agent</text>
<text class="sub" x="146" y="470" text-anchor="middle">API REST · Badger</text>
<path class="ctrl" d="M236 352 L255 352 L255 389 L272 389" marker-end="url(#a-ctrl)"/>
<text class="ctrlt" x="255" y="345" text-anchor="middle">FDB</text>
<path class="made" d="M236 457 L272 457" marker-end="url(#a-made)"/>
<text class="sub" x="255" y="450" text-anchor="middle">crée</text>
<rect class="group" x="530" y="262" width="430" height="306" rx="8"/>
<text class="grp" x="656" y="284">HYPERVISEUR 2</text>
<rect class="box" x="546" y="298" width="180" height="46" rx="6"/>
<text class="lbl" x="636" y="317" text-anchor="middle">br-000000</text>
<text class="sub" x="636" y="334" text-anchor="middle">uplink · 192.168.14.12</text>
<rect class="box" x="546" y="366" width="180" height="46" rx="6"/>
<text class="lbl" x="636" y="385" text-anchor="middle">vxlan-&lt;vni&gt;</text>
<text class="sub" x="636" y="402" text-anchor="middle">dans br-&lt;subnet&gt;, sans learning</text>
<rect class="box" x="546" y="434" width="180" height="46" rx="6"/>
<text class="lbl" x="636" y="453" text-anchor="middle">netns du VPC</text>
<text class="sub" x="636" y="470" text-anchor="middle">passerelle, DHCP</text>
<rect class="box" x="546" y="502" width="180" height="46" rx="6"/>
<text class="lbl" x="636" y="521" text-anchor="middle">VM</text>
<text class="sub" x="636" y="538" text-anchor="middle">QEMU / KVM</text>
<path class="link" d="M636 344 L636 366"/>
<text class="sub" x="628" y="359" text-anchor="end">VTEP</text>
<path class="link" d="M636 412 L636 434"/>
<text class="sub" x="628" y="427" text-anchor="end">veth</text>
<path class="link" d="M636 480 L636 502"/>
<text class="sub" x="628" y="495" text-anchor="end">tap</text>
<rect class="box" x="764" y="298" width="180" height="70" rx="6"/>
<text class="lbl" x="854" y="321" text-anchor="middle">FRR</text>
<text class="sub" x="854" y="340" text-anchor="middle">bgpd · AS 64600</text>
<text class="sub" x="854" y="356" text-anchor="middle">advertise-all-vni</text>
<rect class="box" x="764" y="434" width="180" height="46" rx="6"/>
<text class="lbl" x="854" y="453" text-anchor="middle">agent</text>
<text class="sub" x="854" y="470" text-anchor="middle">API REST · Badger</text>
<path class="ctrl" d="M764 352 L745 352 L745 389 L728 389" marker-end="url(#a-ctrl)"/>
<text class="ctrlt" x="745" y="345" text-anchor="middle">FDB</text>
<path class="made" d="M764 457 L728 457" marker-end="url(#a-made)"/>
<text class="sub" x="745" y="450" text-anchor="middle">crée</text>
<path class="link" d="M364 298 L364 196"/>
<path class="link" d="M636 298 L636 196"/>
<path class="ctrl" d="M210 298 L210 246 L357 246"/>
<path class="ctrl" d="M371 246 L612 246 L612 164"/>
<path class="ctrl" d="M854 298 L854 164"/>
<text class="ctrlt" x="384" y="240">iBGP l2vpn evpn · AS 64600</text>
<text class="ctrlt" x="862" y="240">iBGP</text>
<path class="data" d="M458 389 L542 389" marker-start="url(#a-data)" marker-end="url(#a-data)"/>
<text class="datat" x="500" y="378" text-anchor="middle">VXLAN</text>
<text class="datat" x="500" y="406" text-anchor="middle">UDP 4789</text>
<path class="link" d="M40 604 L76 604"/>
<text class="sub" x="84" y="608">lien L2 / interface</text>
<path class="data" d="M220 604 L256 604"/>
<text class="sub" x="264" y="608">plan de données : tunnels VXLAN</text>
<path class="ctrl" d="M470 604 L506 604"/>
<text class="sub" x="514" y="608">plan de contrôle : sessions BGP</text>
<path class="made" d="M716 604 L752 604"/>
<text class="sub" x="760" y="608">créé par l'agent</text>
<text class="sub" x="40" y="640">Les hyperviseurs joignent 10.255.255.1 par leur passerelle 192.168.14.1 : les routeurs l'ont apprise du route reflector en eBGP, sans rien lui renvoyer.</text>
<text class="sub" x="40" y="658">Le route reflector accepte toute session venant de 192.168.14.0/24 (bgp listen range) et réfléchit les routes EVPN entre hyperviseurs.</text>
<text class="sub" x="40" y="676">Chaque FRR en peuple la FDB des VXLAN locaux — intégration de FRR avec les interfaces créées par two : à qualifier (#50, E5).</text>
<text class="sub" x="40" y="694">MTU du segment : 1550 au moins (VXLAN figé à 1500 par l'agent, + 50 octets d'encapsulation) ; 9000 dans le lab.</text>
<text class="sub" x="40" y="712">ASN, loopback et plages : valeurs de production (#50). Adresses en 192.168.14.0/24 : celles du lab. Placement de la VM route reflector : à rédiger.</text>
<rect class="group" x="40" y="20" width="440" height="140" rx="8"/>
<text class="grp" x="60" y="44">ROUTEURS DU CLUSTER · AS 65100</text>
<rect class="box" x="60" y="52" width="190" height="56" rx="6"/>
<text class="lbl" x="155.0" y="77.0" text-anchor="middle">routeur 1</text>
<text class="sub" x="155.0" y="94.0" text-anchor="middle">169.254.0.1/28</text>
<rect class="box" x="270" y="52" width="190" height="56" rx="6"/>
<text class="lbl" x="365.0" y="77.0" text-anchor="middle">routeur 2</text>
<text class="sub" x="365.0" y="94.0" text-anchor="middle">169.254.0.2/28</text>
<text class="sub" x="260" y="132" text-anchor="middle">passerelle de l'underlay en VRRP</text>
<text class="sub" x="260" y="148" text-anchor="middle">annoncent les loopbacks des RR, ne leur renvoient rien</text>
<rect class="group" x="620" y="20" width="540" height="140" rx="8"/>
<text class="grp" x="640" y="44">ROUTE REFLECTORS · AS 65000</text>
<rect class="box" x="640" y="52" width="240" height="56" rx="6"/>
<text class="lbl" x="760.0" y="77.0" text-anchor="middle">route reflector 1</text>
<text class="sub" x="760.0" y="94.0" text-anchor="middle">lo 10.255.255.1/32 · 169.254.0.3/28</text>
<rect class="box" x="900" y="52" width="240" height="56" rx="6"/>
<text class="lbl" x="1020.0" y="77.0" text-anchor="middle">route reflector 2</text>
<text class="sub" x="1020.0" y="94.0" text-anchor="middle">lo 10.255.255.2/32 · 169.254.0.4/28</text>
<text class="sub" x="890" y="132" text-anchor="middle">router-id, cluster-id et source des sessions EVPN : la loopback</text>
<text class="sub" x="890" y="148" text-anchor="middle">un par cluster (vue d'ensemble) ; le lab les réunit dans un seul</text>
<path class="ctrl" d="M480 80 H640" marker-start="url(#a-ctrl)" marker-end="url(#a-ctrl)"/>
<text class="ctrlt" x="560" y="72" text-anchor="middle">eBGP · BFD</text>
<text class="ctrlt" x="560" y="98" text-anchor="middle">loopbacks seules</text>
<line class="bus" x1="40" y1="200" x2="1160" y2="200"/>
<text class="sub" x="600" y="192" text-anchor="middle">segment underlay · L2 · lien routeurs ↔ RR en 169.254.0.0/28</text>
<path class="link" d="M260 160 V200"/>
<path class="link" d="M890 160 V200"/>
<path class="data" d="M200 236 H780"/>
<text class="datat" x="490" y="230" text-anchor="middle">VXLAN · UDP 4789 · de VTEP à VTEP</text>
<path class="data" d="M200 236 V280"/>
<path class="data" d="M780 236 V280"/>
<rect class="group" x="40" y="250" width="540" height="450" rx="8"/>
<text class="grp" x="60" y="274">HYPERVISEUR 1</text>
<rect class="box" x="60" y="280" width="180" height="52" rx="6"/>
<text class="lbl" x="150.0" y="303.0" text-anchor="middle">br-000000</text>
<text class="sub" x="150.0" y="320.0" text-anchor="middle">IP de l'hyperviseur = VTEP</text>
<rect class="box" x="60" y="350" width="180" height="62" rx="6"/>
<text class="lbl" x="150.0" y="370.0" text-anchor="middle">FRR</text>
<text class="sub" x="150.0" y="387.0" text-anchor="middle">bgpd · AS 64600</text>
<text class="sub" x="150.0" y="402.0" text-anchor="middle">advertise-all-vni</text>
<rect class="box" x="60" y="430" width="180" height="52" rx="6"/>
<text class="lbl" x="150.0" y="453.0" text-anchor="middle">agent</text>
<text class="sub" x="150.0" y="470.0" text-anchor="middle">API REST · Badger</text>
<rect class="box" x="60" y="510" width="180" height="56" rx="6"/>
<text class="lbl" x="150.0" y="535.0" text-anchor="middle">vxlan-&lt;vni&gt;</text>
<text class="sub" x="150.0" y="552.0" text-anchor="middle">dans br-&lt;subnet&gt;, sans learning</text>
<rect class="group" x="270" y="280" width="290" height="300" rx="8"/>
<text class="grp" x="290" y="304">NETNS DE LA VPC</text>
<rect class="box" x="285" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="347.5" y="334.0" text-anchor="middle">gw-&lt;subnet&gt;</text>
<text class="sub" x="347.5" y="351.0" text-anchor="middle">gateway .254</text>
<text class="sub" x="347.5" y="366.0" text-anchor="middle">MAC anycast</text>
<rect class="box" x="420" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="482.5" y="334.0" text-anchor="middle">DHCP</text>
<text class="sub" x="482.5" y="351.0" text-anchor="middle">métadonnées</text>
<text class="sub" x="482.5" y="366.0" text-anchor="middle">écoutent sur gw-</text>
<rect class="box" x="285" y="400" width="260" height="52" rx="6"/>
<text class="lbl" x="415.0" y="423.0" text-anchor="middle">br-&lt;subnet&gt;</text>
<text class="sub" x="415.0" y="440.0" text-anchor="middle">adresse d'émission .253</text>
<rect class="box" x="285" y="478" width="260" height="52" rx="6"/>
<text class="lbl" x="415.0" y="501.0" text-anchor="middle">VM</text>
<text class="sub" x="415.0" y="518.0" text-anchor="middle">QEMU / KVM · tap dans le netns</text>
<text class="sub" x="415" y="552" text-anchor="middle">macvlan gw- posé sur br-, confiné à l'hôte (#57)</text>
<rect class="box" x="270" y="610" width="290" height="62" rx="6"/>
<text class="lbl" x="415.0" y="630.0" text-anchor="middle">vrf-&lt;vpc&gt; · L3VNI</text>
<text class="sub" x="415.0" y="647.0" text-anchor="middle">brl3 · vxl3 · veth de transit</text>
<text class="sub" x="415.0" y="662.0" text-anchor="middle">routage entre hyperviseurs (#41)</text>
<path class="link" d="M347 378 V400"/>
<path class="link" d="M240 538 H255 V430 H285"/>
<path class="link" d="M415 452 V478"/>
<text class="sub" x="423" y="469" text-anchor="start">tap</text>
<path class="link" d="M415 580 V610"/>
<text class="sub" x="423" y="600" text-anchor="start">transit</text>
<path class="made" d="M60 538 H50 V306 H60" marker-end="url(#a-made)"/>
<path class="made" d="M240 456 H270" marker-end="url(#a-made)"/>
<path class="link" d="M225 280 V200"/>
<path class="ctrl" d="M240 365 H248 V200"/>
<rect class="group" x="620" y="250" width="540" height="450" rx="8"/>
<text class="grp" x="640" y="274">HYPERVISEUR 2</text>
<rect class="box" x="640" y="280" width="180" height="52" rx="6"/>
<text class="lbl" x="730.0" y="303.0" text-anchor="middle">br-000000</text>
<text class="sub" x="730.0" y="320.0" text-anchor="middle">IP de l'hyperviseur = VTEP</text>
<rect class="box" x="640" y="350" width="180" height="62" rx="6"/>
<text class="lbl" x="730.0" y="370.0" text-anchor="middle">FRR</text>
<text class="sub" x="730.0" y="387.0" text-anchor="middle">bgpd · AS 64600</text>
<text class="sub" x="730.0" y="402.0" text-anchor="middle">advertise-all-vni</text>
<rect class="box" x="640" y="430" width="180" height="52" rx="6"/>
<text class="lbl" x="730.0" y="453.0" text-anchor="middle">agent</text>
<text class="sub" x="730.0" y="470.0" text-anchor="middle">API REST · Badger</text>
<rect class="box" x="640" y="510" width="180" height="56" rx="6"/>
<text class="lbl" x="730.0" y="535.0" text-anchor="middle">vxlan-&lt;vni&gt;</text>
<text class="sub" x="730.0" y="552.0" text-anchor="middle">dans br-&lt;subnet&gt;, sans learning</text>
<rect class="group" x="850" y="280" width="290" height="300" rx="8"/>
<text class="grp" x="870" y="304">NETNS DE LA VPC</text>
<rect class="box" x="865" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="927.5" y="334.0" text-anchor="middle">gw-&lt;subnet&gt;</text>
<text class="sub" x="927.5" y="351.0" text-anchor="middle">gateway .254</text>
<text class="sub" x="927.5" y="366.0" text-anchor="middle">MAC anycast</text>
<rect class="box" x="1000" y="312" width="125" height="66" rx="6"/>
<text class="lbl" x="1062.5" y="334.0" text-anchor="middle">DHCP</text>
<text class="sub" x="1062.5" y="351.0" text-anchor="middle">métadonnées</text>
<text class="sub" x="1062.5" y="366.0" text-anchor="middle">écoutent sur gw-</text>
<rect class="box" x="865" y="400" width="260" height="52" rx="6"/>
<text class="lbl" x="995.0" y="423.0" text-anchor="middle">br-&lt;subnet&gt;</text>
<text class="sub" x="995.0" y="440.0" text-anchor="middle">adresse d'émission .253</text>
<rect class="box" x="865" y="478" width="260" height="52" rx="6"/>
<text class="lbl" x="995.0" y="501.0" text-anchor="middle">VM</text>
<text class="sub" x="995.0" y="518.0" text-anchor="middle">QEMU / KVM · tap dans le netns</text>
<text class="sub" x="995" y="552" text-anchor="middle">macvlan gw- posé sur br-, confiné à l'hôte (#57)</text>
<rect class="box" x="850" y="610" width="290" height="62" rx="6"/>
<text class="lbl" x="995.0" y="630.0" text-anchor="middle">vrf-&lt;vpc&gt; · L3VNI</text>
<text class="sub" x="995.0" y="647.0" text-anchor="middle">brl3 · vxl3 · veth de transit</text>
<text class="sub" x="995.0" y="662.0" text-anchor="middle">routage entre hyperviseurs (#41)</text>
<path class="link" d="M927 378 V400"/>
<path class="link" d="M820 538 H835 V430 H865"/>
<path class="link" d="M995 452 V478"/>
<text class="sub" x="1003" y="469" text-anchor="start">tap</text>
<path class="link" d="M995 580 V610"/>
<text class="sub" x="1003" y="600" text-anchor="start">transit</text>
<path class="made" d="M640 538 H630 V306 H640" marker-end="url(#a-made)"/>
<path class="made" d="M820 456 H850" marker-end="url(#a-made)"/>
<path class="link" d="M805 280 V200"/>
<path class="ctrl" d="M820 365 H828 V200"/>
<text class="ctrlt" x="1150" y="230" text-anchor="end">iBGP l2vpn evpn · AS 64600 (FRR → RR)</text>
<line class="link" x1="60" y1="736" x2="110" y2="736"/>
<text class="sub" x="118" y="740" text-anchor="start">lien L2 / interface</text>
<path class="data" d="M260 736 H310"/>
<text class="sub" x="318" y="740" text-anchor="start">plan de données : tunnels VXLAN</text>
<path class="ctrl" d="M520 736 H570"/>
<text class="sub" x="578" y="740" text-anchor="start">plan de contrôle : sessions BGP</text>
<path class="made" d="M790 736 H840" marker-end="url(#a-made)"/>
<text class="sub" x="848" y="740" text-anchor="start">créé par l'agent</text>
<text class="sub" x="60" y="780" text-anchor="start">Les hyperviseurs joignent les loopbacks des route reflectors par leur passerelle : les routeurs les ont apprises en eBGP, sans rien leur renvoyer.</text>
<text class="sub" x="60" y="798" text-anchor="start">Les route reflectors acceptent toute session venant de l'underlay (bgp listen range) et réfléchissent les routes EVPN entre hyperviseurs ; chaque FRR en peuple la FDB des VXLAN locaux.</text>
<text class="sub" x="60" y="816" text-anchor="start">La gateway d'un subnet a la même IP et la même MAC sur tous les hôtes ; chaque netns émet depuis son adresse d'émission. Les subnets d'une VPC se joignent par son L3VNI.</text>
<text class="sub" x="60" y="834" text-anchor="start">ASN et loopbacks : valeurs de production (#50). Vue d'ensemble (bordures, Internet, orchestration, plusieurs clusters) : schéma précédent.</text>
</svg>

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before After
Before After