{"id":189,"date":"2026-01-08T09:32:41","date_gmt":"2026-01-08T08:32:41","guid":{"rendered":"https:\/\/jguille.promeo-capnumerique.fr\/?page_id=189"},"modified":"2026-02-06T15:50:34","modified_gmt":"2026-02-06T14:50:34","slug":"ppe-1","status":"publish","type":"page","link":"https:\/\/jguille.promeo-capnumerique.fr\/?page_id=189","title":{"rendered":"PPE 1"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p><strong>Mise en place d\u2019un r\u00e9seau segment\u00e9<\/strong>&nbsp;<\/p>\n\n\n\n<p>VLAN \u2013 Routage Inter-VLAN \u2013 DHCP \u2013 Redondance&nbsp;<\/p>\n\n\n\n<p><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p><strong>1. INTRODUCTION DU PROJET<\/strong>&nbsp;<br><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p>Dans ce projet, il s\u2019agit de concevoir et configurer un r\u00e9seau professionnel pour une entreprise industrielle de taille moyenne souhaitant moderniser son infrastructure r\u00e9seau.&nbsp;<br>L\u2019objectif principal est de mettre en place une infrastructure r\u00e9seau&nbsp;<strong>s\u00e9curis\u00e9e<\/strong>,&nbsp;<strong>performante<\/strong>&nbsp;et&nbsp;<strong>tol\u00e9rante aux pannes<\/strong>.&nbsp;<\/p>\n\n\n\n<p><strong>Objectifs de l\u2019entreprise :<\/strong>&nbsp;<\/p>\n\n\n\n<p>\u2022 S\u00e9parer les services internes en plusieurs sous-r\u00e9seaux (VLAN) afin d\u2019am\u00e9liorer la s\u00e9curit\u00e9.&nbsp;<br>\u2022 Permettre la communication entre les diff\u00e9rents VLAN gr\u00e2ce au routage inter-VLAN.&nbsp;<br>\u2022 Automatiser l\u2019attribution des adresses IP \u00e0 l\u2019aide du protocole DHCP.&nbsp;<br>\u2022 Assurer la continuit\u00e9 du service avec un routeur de secours.&nbsp;<br>\u2022 Pr\u00e9senter clairement le fonctionnement du r\u00e9seau et du protocole DHCP (DORA).&nbsp;<\/p>\n\n\n\n<p><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p><strong>2. PROBL\u00c9MATIQUE<\/strong>&nbsp;<br><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p>L\u2019entreprise est une usine de taille moyenne souhaitant optimiser son infrastructure r\u00e9seau. Elle d\u00e9sire segmenter son r\u00e9seau afin de s\u00e9parer les postes de production, des ressources humaines et de la finance, tout en garantissant une continuit\u00e9 de service en cas de panne du routeur principal.&nbsp;<\/p>\n\n\n\n<p><strong>Services de l\u2019entreprise :<\/strong>&nbsp;<\/p>\n\n\n\n<p>\u2022 Service Production \u2013 VLAN 10&nbsp;<br>\u2022 Service Ressources Humaines \u2013 VLAN 20&nbsp;<br>\u2022 Service Finance \u2013 VLAN 30&nbsp;<\/p>\n\n\n\n<p>Tous les postes sont connect\u00e9s au m\u00eame switch.&nbsp;<\/p>\n\n\n\n<p><strong>Probl\u00e8me actuel :<\/strong>&nbsp;<\/p>\n\n\n\n<p>Le r\u00e9seau n\u2019est pas segment\u00e9, il est peu s\u00e9curis\u00e9 et ne dispose d\u2019aucune solution de redondance. En cas de panne du routeur, l\u2019ensemble de l\u2019entreprise est paralys\u00e9.&nbsp;<\/p>\n\n\n\n<p><strong>Objectifs du projet :<\/strong>&nbsp;<\/p>\n\n\n\n<p>\u2022 S\u00e9curiser le r\u00e9seau gr\u00e2ce \u00e0 la segmentation.&nbsp;<br>\u2022 Garantir une disponibilit\u00e9 permanente par la redondance des routeurs.&nbsp;<\/p>\n\n\n\n<p><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p><strong>3. FONCTIONNEMENT DU DHCP \u2013 M\u00c9THODE DORA<\/strong>&nbsp;<br><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p>Lorsqu\u2019un poste d\u00e9marre, il utilise le protocole DHCP afin d\u2019obtenir automatiquement une adresse IP. Ce processus repose sur quatre \u00e9tapes appel\u00e9es&nbsp;<strong>DORA<\/strong>&nbsp;:&nbsp;<\/p>\n\n\n\n<p><strong>1. Discover<\/strong>&nbsp;<br>Le poste envoie une requ\u00eate DHCP Discover en broadcast afin de rechercher un serveur DHCP.&nbsp;<\/p>\n\n\n\n<p><strong>2.&nbsp;Offer<\/strong>&nbsp;<br>Le serveur DHCP propose une adresse IP disponible au poste client.&nbsp;<\/p>\n\n\n\n<p><strong>3. Request<\/strong>&nbsp;<br>Le poste accepte l\u2019adresse IP propos\u00e9e en envoyant une requ\u00eate DHCP&nbsp;Request.&nbsp;<\/p>\n\n\n\n<p><strong>4.&nbsp;Acknowledge<\/strong>&nbsp;<br>Le serveur DHCP confirme l\u2019attribution d\u00e9finitive de l\u2019adresse IP.&nbsp;<br>Ce m\u00e9canisme permet une attribution automatique, rapide et fiable des adresses IP.&nbsp;<\/p>\n\n\n\n<p><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p><strong>4. REDONDANCE DU R\u00c9SEAU<\/strong>&nbsp;<br><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p>Afin d\u2019assurer une continuit\u00e9 de service, l\u2019entreprise met en place une solution de redondance des routeurs.&nbsp;<\/p>\n\n\n\n<p><strong>Fonctionnement normal :<\/strong>&nbsp;<br>\u2022 Le routeur R1 assure le routage inter-VLAN et la distribution DHCP.&nbsp;<br>\u2022 Le routeur R2 reste passif mais pr\u00eat \u00e0 intervenir.&nbsp;<\/p>\n\n\n\n<p><strong>En cas de panne du routeur R1 :<\/strong>&nbsp;<br>\u2022 Le routeur R2 active le service DHCP.&nbsp;<br>\u2022 Le routage inter-VLAN reste fonctionnel.&nbsp;<br>\u2022 Les postes continuent d\u2019obtenir une adresse IP.&nbsp;<br>Cette solution \u00e9vite une panne totale du r\u00e9seau et garantit la productivit\u00e9 des services.&nbsp;<\/p>\n\n\n\n<p><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p><strong>5. ARCHITECTURE ET MAT\u00c9RIELS UTILIS\u00c9S<\/strong>&nbsp;<br><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p><strong>Mat\u00e9riel utilis\u00e9 :<\/strong>&nbsp;<\/p>\n\n\n\n<p>\u2022 Un switch Cisco 2960&nbsp;<br>\u2022 Deux routeurs Cisco 1941&nbsp;<\/p>\n\n\n\n<p>\u2013 R1 : routeur principal&nbsp;<br>\u2013 R2 : routeur de secours&nbsp;<\/p>\n\n\n\n<p>\u2022 Six postes clients r\u00e9partis sur trois VLAN&nbsp;<br>\u2022 Liaisons&nbsp;FastEthernet&nbsp;ou&nbsp;GigabitEthernet&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"901\" height=\"513\" src=\"https:\/\/jguille.promeo-capnumerique.fr\/wp-content\/uploads\/2026\/02\/image-3.png\" alt=\"\" class=\"wp-image-288\" srcset=\"https:\/\/jguille.promeo-capnumerique.fr\/wp-content\/uploads\/2026\/02\/image-3.png 901w, https:\/\/jguille.promeo-capnumerique.fr\/wp-content\/uploads\/2026\/02\/image-3-300x171.png 300w, https:\/\/jguille.promeo-capnumerique.fr\/wp-content\/uploads\/2026\/02\/image-3-768x437.png 768w\" sizes=\"auto, (max-width: 901px) 100vw, 901px\" \/><\/figure>\n\n\n\n<p><strong>R\u00e9partition des VLAN :<\/strong>&nbsp;<\/p>\n\n\n\n<p>\u2022 VLAN 10 : PC1, PC2&nbsp;<br>\u2022 VLAN 20 : PC3, PC4&nbsp;<br>\u2022 VLAN 30 : PC5, PC6&nbsp;<\/p>\n\n\n\n<p>Les deux routeurs sont connect\u00e9s au switch via des liens configur\u00e9s en&nbsp;trunk. Ils utilisent des sous-interfaces afin de transporter plusieurs VLAN sur une seule interface physique.&nbsp;<\/p>\n\n\n\n<p><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p><strong>6. CONFIGURATION R\u00c9SEAU<\/strong>&nbsp;<br><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p><strong>Configuration du switch :<\/strong>&nbsp;<\/p>\n\n\n\n<p>Cr\u00e9ation des VLAN, affectation des ports aux VLAN correspondants et configuration des liens&nbsp;trunk&nbsp;vers les routeurs.&nbsp;<\/p>\n\n\n\n<p><strong>Configuration du routeur R1 :<\/strong>&nbsp;<\/p>\n\n\n\n<p>Mise en place des sous-interfaces pour le routage inter-VLAN et activation du service DHCP.&nbsp;<\/p>\n\n\n\n<p><strong>Configuration du routeur R2 :<\/strong>&nbsp;<\/p>\n\n\n\n<p>Configuration identique au routage de R1 avec activation du DHCP uniquement en cas de panne du routeur principal.&nbsp;<\/p>\n\n\n\n<p><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p><strong>7. TESTS R\u00c9ALIS\u00c9S<\/strong>&nbsp;<br><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p>\u2022 Chaque poste obtient une adresse IP correcte selon son VLAN.&nbsp;<br>\u2022 La communication entre les diff\u00e9rents VLAN est&nbsp;fonctionnel.&nbsp;<br>\u2022 Une panne du routeur R1 est simul\u00e9e.&nbsp;<br>\u2022 Le routeur R2 assure la continuit\u00e9 du service sans interruption du r\u00e9seau.&nbsp;<\/p>\n\n\n\n<p><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p><strong>8. CONCLUSION<\/strong>&nbsp;<br><strong>______________________________________________<\/strong>&nbsp;<\/p>\n\n\n\n<p>Ce projet permet la mise en place d\u2019un r\u00e9seau structur\u00e9, s\u00e9curis\u00e9 et fiable.&nbsp;<\/p>\n\n\n\n<p>La segmentation par VLAN am\u00e9liore la s\u00e9curit\u00e9, le routage inter-VLAN permet&nbsp;de bloquer&nbsp;la communication entre les services, le DHCP automatise la configuration r\u00e9seau et la redondance des routeurs garantit une continuit\u00e9 de service.&nbsp;<\/p>\n\n\n\n<p><strong>ANNEXE \u2013 Commandes Cisco<\/strong>&nbsp;<\/p>\n\n\n\n<p><strong>PPE 1 : VLAN, Routage Inter-VLAN, DHCP et Redondance<\/strong>&nbsp;<br>&nbsp;<br><strong>Annexe 1 \u2013 Configuration du switch (VLAN et&nbsp;Trunk)<\/strong>&nbsp;<br><strong>Cr\u00e9ation des VLAN<\/strong>&nbsp;<br>vlan 10&nbsp;<br>name VLAN10&nbsp;<br>vlan 20&nbsp;<br>name VLAN20&nbsp;<br>vlan 30&nbsp;<br>name VLAN30&nbsp;<br>&nbsp;<br><strong>Affectation des ports aux VLAN (mode&nbsp;access)<\/strong>&nbsp;<br><strong>VLAN 10 \u2013 Production<\/strong>&nbsp;<br>interface fa0\/1&nbsp;<br>switchport mode access&nbsp;<br>switchport&nbsp;access&nbsp;vlan 10&nbsp;<br><strong>VLAN 20 \u2013&nbsp;Ressources&nbsp;Humaines<\/strong>&nbsp;<br>interface fa0\/2&nbsp;<br>switchport mode access&nbsp;<br>switchport access&nbsp;vlan&nbsp;20&nbsp;<br><strong>VLAN 30 \u2013 Finance<\/strong>&nbsp;<br>interface fa0\/3&nbsp;<br>switchport mode access&nbsp;<br>switchport&nbsp;access&nbsp;vlan 30&nbsp;<br>&nbsp;<br><strong>Configuration des liens&nbsp;Trunk&nbsp;vers les routeurs<\/strong>&nbsp;<br><strong>Lien vers R1<\/strong>&nbsp;<br>interface fa0\/24&nbsp;<br>switchport mode trunk&nbsp;<br><strong>Lien vers R2<\/strong>&nbsp;<br>interface fa0\/23&nbsp;<br>switchport mode trunk&nbsp;<br>&nbsp;<br><strong>Annexe 2 \u2013 Configuration du routeur R1&nbsp;<\/strong>&nbsp;<br><strong>Cr\u00e9ation des sous-interfaces (Routage Inter-VLAN)<\/strong>&nbsp;<br>&nbsp;<br><strong>VLAN 10<\/strong>&nbsp;<br>interface g0\/0.10&nbsp;<br>encapsulation dot1Q 10&nbsp;<br>ip&nbsp;address&nbsp;192.168.10.1 255.255.255.0&nbsp;<\/p>\n\n\n\n<p><strong>VLAN 20<\/strong>&nbsp;<br>interface g0\/0.20&nbsp;<br>encapsulation dot1Q 20&nbsp;<br>ip&nbsp;address&nbsp;192.168.20.1 255.255.255.0&nbsp;<br><strong>VLAN 30<\/strong>&nbsp;<br>interface g0\/0.30&nbsp;<br>encapsulation dot1Q 30&nbsp;<br>ip&nbsp;address&nbsp;192.168.30.1 255.255.255.0&nbsp;<br>&nbsp;<br><strong>Configuration du service DHCP sur R1<\/strong>&nbsp;<br><strong>Pool DHCP VLAN 10<\/strong>&nbsp;<br>ip&nbsp;dhcp&nbsp;pool VLAN10&nbsp;<br>network 192.168.10.0 255.255.255.0&nbsp;<br>default-router 192.168.10.1&nbsp;<br><strong>Pool DHCP VLAN 20<\/strong>&nbsp;<br>ip&nbsp;dhcp&nbsp;pool VLAN20&nbsp;<br>network 192.168.20.0 255.255.255.0&nbsp;<br>default-router 192.168.20.1&nbsp;<br><strong>Pool DHCP VLAN 30<\/strong>&nbsp;<\/p>\n\n\n\n<p>ip&nbsp;dhcp&nbsp;pool VLAN30&nbsp;<br>network 192.168.30.0 255.255.255.0&nbsp;<br>default-router 192.168.30.1&nbsp;<br>&nbsp;<br><strong>Annexe 3 \u2013 Configuration du routeur R2<\/strong>&nbsp;<br><strong>Sous-interfaces (adresses IP diff\u00e9rentes de R1)<\/strong>&nbsp;<br><strong>VLAN 10<\/strong>&nbsp;<br>interface g0\/0.10&nbsp;<br>encapsulation dot1Q 10&nbsp;<br>ip&nbsp;address&nbsp;192.168.10.2 255.255.255.0&nbsp;<br><strong>VLAN 20<\/strong>&nbsp;<br>interface g0\/0.20&nbsp;<br>encapsulation dot1Q 20&nbsp;<br>ip address 192.168.20.2 255.255.255.0&nbsp;<br><strong>VLAN 30<\/strong>&nbsp;<br>interface g0\/0.30&nbsp;<br>encapsulation dot1Q 30&nbsp;<br>ip address 192.168.30.2 255.255.255.0&nbsp;<br>&nbsp;<br><strong>DHCP de secours sur R2 (Redondance&nbsp;manuelle)<\/strong>&nbsp;<br><strong>Pool DHCP VLAN 10 \u2013 Backup<\/strong>&nbsp;<\/p>\n\n\n\n<p>ip&nbsp;dhcp&nbsp;pool VLAN10-BACKUP&nbsp;<br>network 192.168.10.0 255.255.255.0&nbsp;<br>default-router 192.168.10.2&nbsp;<br><strong>Pool DHCP VLAN 20 \u2013 Backup<\/strong>&nbsp;<br>ip&nbsp;dhcp&nbsp;pool VLAN20-BACKUP&nbsp;<br>network 192.168.20.0 255.255.255.0&nbsp;<br>default-router 192.168.20.2&nbsp;<br><strong>Pool DHCP VLAN 30 \u2013 Backup<\/strong>&nbsp;<br>ip&nbsp;dhcp&nbsp;pool VLAN30-BACKUP&nbsp;<br>network 192.168.30.0 255.255.255.0&nbsp;<br>default-router 192.168.30.2&nbsp;<br>&nbsp;<br><strong>Gestion du service DHCP (failover&nbsp;manuel)<\/strong>&nbsp;<br><strong>D\u00e9sactivation du DHCP sur R2 (fonctionnement&nbsp;normal)<\/strong>&nbsp;<br>no service&nbsp;dhcp&nbsp;<\/p>\n\n\n\n<p><strong>Activation du DHCP sur R2 (en cas de panne de R1)<\/strong>&nbsp;<br>service dhcp&nbsp;<br>&nbsp;<br><strong>Annexe 4 \u2013 Tests de fonctionnement<\/strong>&nbsp;<br><strong>Configuration des postes clients<\/strong>&nbsp;<\/p>\n\n\n\n<p>Configuration IP : DHCP&nbsp;<br><strong>R\u00e9sultats attendus<\/strong>&nbsp;<br>VLAN 10 \u2192 192.168.10.x \/ passerelle 192.168.10.1&nbsp;<br>VLAN 20 \u2192 192.168.20.x \/ passerelle 192.168.20.1&nbsp;<br>VLAN 30 \u2192 192.168.30.x \/ passerelle 192.168.30.1&nbsp;<\/p>\n\n\n\n<p>En cas de panne de R1 :&nbsp;<br>Activation du DHCP sur R2&nbsp;<br>Attribution d\u2019adresses IP via 192.168.x.2&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mise en place d\u2019un r\u00e9seau segment\u00e9&nbsp; VLAN \u2013 Routage Inter-VLAN \u2013 DHCP \u2013 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-189","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/jguille.promeo-capnumerique.fr\/index.php?rest_route=\/wp\/v2\/pages\/189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jguille.promeo-capnumerique.fr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/jguille.promeo-capnumerique.fr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/jguille.promeo-capnumerique.fr\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jguille.promeo-capnumerique.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=189"}],"version-history":[{"count":7,"href":"https:\/\/jguille.promeo-capnumerique.fr\/index.php?rest_route=\/wp\/v2\/pages\/189\/revisions"}],"predecessor-version":[{"id":289,"href":"https:\/\/jguille.promeo-capnumerique.fr\/index.php?rest_route=\/wp\/v2\/pages\/189\/revisions\/289"}],"wp:attachment":[{"href":"https:\/\/jguille.promeo-capnumerique.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}