diff options
Diffstat (limited to 'micro/reseau/topologie_reseau.mmd')
| -rw-r--r-- | micro/reseau/topologie_reseau.mmd | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/micro/reseau/topologie_reseau.mmd b/micro/reseau/topologie_reseau.mmd new file mode 100644 index 0000000..95d9364 --- /dev/null +++ b/micro/reseau/topologie_reseau.mmd @@ -0,0 +1,78 @@ +%%{init: {'theme': 'base', 'flowchart': {'nodeSpacing': 50, 'rankSpacing': 60}}}%%
+flowchart LR
+ subgraph internet ["Internet"]
+ direction TB
+ ddns["DDNS Namecheap<br/>arauco.online<br/>git.arauco.online<br/>www.arauco.online"]
+ upstream["Forwarders DNS<br/>8.8.8.8 / 8.8.4.4 / 1.1.1.1"]
+ end
+
+ subgraph swisscom ["Routeur Swisscom"]
+ gw["Gateway 192.168.99.1"]
+ nat["NAT ext:2222<br/>-> .51:1220"]
+ end
+
+ subgraph host_if ["araucaria - Interfaces"]
+ direction TB
+ eth0["eth0 .50/24<br/>master br0<br/>00:25:90:e7:47:e4"]
+ eth1["eth1 .51/24<br/>SSH externe<br/>00:25:90:e7:47:e5"]
+ br0["br0 Bridge .50/24"]
+ virbr0["virbr0 .122.1/24<br/>DOWN"]
+ eth0 --- br0
+ end
+
+ subgraph dns_conf ["dnsmasq Config"]
+ dns_svc[":53 sur br0<br/>domain=local<br/>cache=1000<br/>log=/var/log/dnsmasq.log"]
+ end
+
+ subgraph records ["Enregistrements DNS"]
+ direction TB
+ r_araucaria[".50 arauco.online<br/>.50 www.arauco.online<br/>.51 araucaria-eth1"]
+ r_chillka[".55 git.arauco.online<br/>.55 chillka.local"]
+ r_npagnun[".35 npagnun.local<br/>.35 keycloak.arauco.local"]
+ r_huitral[".22 huitral.local"]
+ r_other[".33 lemolemo | .44 toki<br/>.11 copihue | .66 huinca"]
+ end
+
+ subgraph ptr ["PTR Records"]
+ direction TB
+ ptr1["50.99.168.192<br/>araucaria.local"]
+ ptr2["51.99.168.192<br/>araucaria-eth1.local"]
+ end
+
+ subgraph vm_if ["Interfaces VM br0"]
+ direction TB
+ vnet1["vnet1 chillka<br/>52:54:00:0f:28:80"]
+ vnet7["vnet7 npagnun<br/>52:54:00:5e:06:1e"]
+ vnet8["vnet8 huitral<br/>52:54:00:ce:24:7f"]
+ end
+
+ subgraph routes ["Routes"]
+ direction TB
+ rt1["default via .1 eth0"]
+ rt2["default via .1 eth1"]
+ rt3[".0/24 br0 src .50"]
+ rt4[".0/24 eth1 src .51"]
+ end
+
+ ddns --> nat
+ nat -->|"2222->1220"| eth1
+ upstream --> dns_svc
+ dns_svc --> records
+ dns_svc --> ptr
+ br0 --- vnet1
+ br0 --- vnet7
+ br0 --- vnet8
+
+ classDef netStyle fill:#1e3a5f,stroke:#4a90d9,color:#a8d0f0
+ classDef dnsStyle fill:#1e4a4a,stroke:#4a9a9a,color:#a8e0e0
+ classDef extStyle fill:#2a3a4a,stroke:#6a8aaa,color:#b0d0e8
+ classDef routeStyle fill:#3a3a1e,stroke:#9a9a4a,color:#e0e0a8
+ classDef dormStyle fill:#2a2a2a,stroke:#666,color:#999
+
+ class ddns,upstream,nat,gw extStyle
+ class eth0,br0,eth1 netStyle
+ class virbr0 dormStyle
+ class dns_svc,r_araucaria,r_chillka,r_npagnun,r_huitral,r_other dnsStyle
+ class ptr1,ptr2 dnsStyle
+ class vnet1,vnet7,vnet8 netStyle
+ class rt1,rt2,rt3,rt4 routeStyle
|
