From 230632579ec91880478b9f75053bee95b50e61b5 Mon Sep 17 00:00:00 2001
From: Nils MOREAU--THOMAS <nils.moreau--thomas@etu.univ-nantes.fr>
Date: Tue, 13 Jun 2023 06:51:23 +0000
Subject: [PATCH] Update notereseau.txt

---
 notereseau.txt | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/notereseau.txt b/notereseau.txt
index dc0a08d..7ebf6f4 100644
--- a/notereseau.txt
+++ b/notereseau.txt
@@ -20,7 +20,7 @@ service network-manager restart
 
 ========================================
 
-Pour Client et DHCP
+Pour DHCP,Client et Routeur
 modprobe 8021q
 ip link add link jaune name VLAN_169 type vlan id 169
 
@@ -30,17 +30,15 @@ ip a add 172.20.169.1/24 dev VLAN_169
 DHCP 
 ip a add 172.20.169.2/24 dev VLAN_169
 
-Pour les deux | on active l'interface vlan
+Pour DHCP,Client et Routeur | on active l'interface vlan
 ip link set up dev VLAN_169
 
 ========================================
 
-Pour le routeur 
+Pour le Routeur 
 ip link add link jaune name VLAN_169 type vlan id 169
-ip a add 192.168.0.169.1/24 dev VLAN_169
-ip r add 192.168.0.0/24 dev bleue
-echo 1 > /proc/sys/net/ipv4/ip_forward
-ip r add 172.20.169.0/24 dev VLAN_169
+ip a add 172.20.169.3/24 dev VLAN_169
+ip a add 192.168.0.169.1/24 dev bleue
 echo 1 > /proc/sys/net/ipv4/ip_forward
 
 Pour Client et DHCP
-- 
GitLab