diff --git a/procedure.md b/procedure.md index 2167f240afc8bc0983bbc763fc758adeae8df41a..9231e426cf6c00c6dc727119afd5a62a6fcb86cc 100644 --- a/procedure.md +++ b/procedure.md @@ -2,11 +2,11 @@ ## Architecture : -Routeur 1 (Interface GE 0/0) à Routeur 2( Interface GE 0/0) +Routeur 1 (Interface GE 0/1) à Routeur 2( Interface GE 0/1) -Switch 1 ( interface GE 0/1 ) à Routeur 1 ( interface GE 0/1 ) +Switch 1 ( interface GE 0/0 ) à Routeur 1 ( interface GE 0/0 ) -Switch 2 ( interface GE 0/1 ) à Routeur 2 ( interface GE 0/1 ) +Switch 2 ( interface GE 0/0 ) à Routeur 2 ( interface GE 0/0 ) @@ -47,66 +47,76 @@ Création VLAN 4: Organisation interface vlan 2 : - interface fa 0/25 - (config-if)switchport acces vlan 2 + conf t + (config)vlan 2 + (config-vlan)interface fa 0/25 + (config-if-range)switchport acces vlan 2 exit Organisation interface vlan 3 : - interface range fa 0/1 - 12 - (config-if)switchport acces vlan 3 + conf t + (config)vlan 3 + (config-vlan)interface range fa 0/1 - 12 + (config-if-range)switchport acces vlan 3 exit - +conf t Organisation interface vlan 4 : - interface range fa 0/13 - 24 - (config-if)switchport acces vlan 4 + conf t + (config)vlan 4 + (config-vlan)interface range fa 0/13 - 24 + (config-if-range)switchport acces vlan 4 exit Configuration trunk inter-vlan : - interface fa 0/48 1 (Interface GE 0/0) à Routeur + conf t + (config)interface fa 0/48 1 (Interface GE 0/0) à Routeur + (config-if) switchport mode trunk + (config-if)no shutdownconf t + exit hostname R1 -Creation sous-interface VLAN 2 +Creation sous-interface VLAN 2 (ROUTEUR) enable conf t - (config)interface gig 0/1.3 + (config)interface gig 0/0.3 (config-if)encapsulation dot1Q 2 (config-if)ip address 192.168.40.254 255.255.255.0 (config-if)no shutdown exit -Adressage VLAN: //à faire pour chaque VLAN(exemple VLAN 3 ci-dessous) : - - conf t - (config)interface vlan 3 - (conf-if)ip addresse 192.168.50.3 255.255.255.0 - exit -Creation sous-interface VLAN 3 +Creation sous-interface VLAN 3 (ROUTEUR) enable conf t - (config)interface gig 0/1.1 + (config)interface gig 0/0.1 (config-if)encapsulation dot1Q 3 (config-if)ip address 192.168.50.254 255.255.255.0 (config-if)no shutdown exit -Creation sous-interface VLAN 4 +Creation sous-interface VLAN 4 (ROUTEUR) enable conf t - (config)interface gig 0/1.2 + (config)interface gig 0/0.2 (config-if)encapsulation dot1Q 4 (config-if)ip address 192.168.60.254 255.255.255.0 (config-if)no shutdown exit +Adressage VLAN: //à faire pour chaque VLAN(exemple VLAN 3 ci-dessous) : + + conf t + (config)interface vlan 3 + (conf-if)ip address 192.168.50.3 255.255.255.0 + exit Activation interface @@ -121,22 +131,30 @@ Test : ## Configuration inter-routage // procédure à faire sur le routeur 1 config t - (config)router rip - network 10.0.0.0 - exit - - interface gig0/0 + (config)router rip + (config-router)version 2 + (config-router)network 10.0.0.0 + (config-router)network 192.168.40.0 + (config-router)network 192.168.50.0 + (config-router)network 192.168.60.0 + (config-router)exit + + (config)interface gig0/1 (config-if)ip address 10.0.0.1 255.0.0.0 (config-if)no shutdown ## Configuration inter-routage // procédure à faire sur le routeur 2 - config t - router rip - network 10.0.0.0 - exit - - interface gig0/0 + config t + (config)router rip + (config-router)version 2 + (config-router)network 10.0.0.0 + (config-router)network 192.168.10.0 + (config-router)network 192.168.20.0 + (config-router)network 192.168.30.0 + (config-router)exit + + (config)interface gig0/1 (config-if)ip address 10.0.0.2 255.0.0.0 (config-if)no shutdown