Skip to content
Snippets Groups Projects
Commit ec06d72a authored by Haroun Yahia Esraa's avatar Haroun Yahia Esraa
Browse files

v2

parent 56f2b834
Branches
No related tags found
No related merge requests found
# Procedure # Procedure
Architecture : ## 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 )
## Switch ## Switch :
...@@ -18,98 +18,114 @@ Switching (Version : Switch 2960) : ...@@ -18,98 +18,114 @@ Switching (Version : Switch 2960) :
Nommer switch Nommer switch
hostname S1 hostname S1Adressage VLAN: //à faire pour chaque VLAN(exemple VLAN 3 ci-dessous) :
Sécurisé avec mot de passe sur switch :
conf t conf t
enable password "mot de passe" (config)interface vlan 3
(conf-if)ip address 192.168.20.3 255.255.255.0
exit exit
Création VLAN 10: Sécurisé avec mot de passe sur switch :
vlan 10 conf t
name Comptabilite (config)enable password "mot de passe"
exit exit
Création VLAN 20: Création VLAN 2:
vlan 10/20 (config)vlan 2
name Production (config-vlan)name Admin
exit exit
Adressage VLAN: //à faire pour chaque VLAN(exemple VLAN 3 ci-dessous) :
conf t
(config)interface vlan 3
(conf-if)ip address 192.168.20.3 255.255.255.0
exit
Création VLAN 3:
Création VLAN 30: (config) vlan 3
(config-vlan)name Comptabilite
vlan 10/20/30
name Direction
exit exit
Organisation interface vlan 10 Création VLAN 4:
interface range fa 0/1 - 6 (config)vlan 4
switchport acces vlan 10 (config-vlan) name Production
exit exit
Organisation interface vlan 20
interface range fa 0/7 - 12 Organisation interface vlan 2 :
switchport acces vlan 20
conf t
(config)vlan 2
(config-vlan)interface fa 0/25
(config-if-range)switchport acces vlan 2
exit exit
Organisation interface vlan 30 Organisation interface vlan 3 :
interface FA 0/24 conf t
switchport acces vlan 30 (config)vlan 3
(config-vlan)interface range fa 0/1 - 12
(config-if-range)switchport acces vlan 3
exit exit
Configuration trunk inter-vlan Organisation interface vlan 4 :
interface gig 0/1 conf t
switchport mode trunk (config)vlan 4
no shutdown (config-vlan)interface range fa 0/13 - 24
(config-if-range)switchport acces vlan 4
exit
## Routeur Configuration trunk inter-vlan :
Nommer routeur conf t
(config)interface fa 0/48 1 (Interface GE 0/0) à Routeur
(config-if) switchport mode trunk
(config-if)no shutdown
exit
hostname R1 ## Routeur :
Creation sous-interface VLAN 10 Creation sous-interface VLAN 2 (ROUTEUR)
enable enable
conf t conf t
interface gig 0/1.1 (config)interface gig 0/0.3
encapsulation dot1Q 10 (config-if)encapsulation dot1Q 2
ip address 192.168.10.254 255.255.255.0 (config-if)ip address 192.168.10.254 255.255.255.0
no shutdown (config-if)no shutdown
exit exit
Creation sous-interface VLAN 20 Creation sous-interface VLAN 3 (ROUTEUR)
enable enable
conf t conf t
interface gig 0/1.2 (config)interface gig 0/0.1
encapsulation dot1Q 20 (config-if)encapsulation dot1Q 3
ip address 192.168.20.254 255.255.255.0 (config-if)ip address 192.168.50.254 255.255.255.0
no shutdown (config-if)no shutdown
exit exit
Creation sous-interface VLAN 30
Creation sous-interface VLAN 4 (ROUTEUR)
enable enable
conf t conf t
interface gig 0/1.3 (config)interface gig 0/0.2
encapsulation dot1Q 30 (config-if)encapsulation dot1Q 4
ip address 192.168.30.254 255.255.255.0 (config-if)ip address 192.168.60.254 255.255.255.0
no shutdown (config-if)no shutdown
exit exit
Activation interface Activation interface
interface giga 0/1 interface giga 0/1
no shutdown (config-if)no shutdown
Test : Test :
...@@ -119,34 +135,30 @@ Test : ...@@ -119,34 +135,30 @@ Test :
## Configuration inter-routage // procédure à faire sur le routeur 1 ## Configuration inter-routage // procédure à faire sur le routeur 1
config t config t
router rip (config)router rip
network 192.168.10.0 (config-router)version 2
network 192.168.20.0 (config-router)network 10.0.0.0
network 192.168.30.0 (config-router)network 192.168.10.0
network 192.168.40.0 (config-router)network 192.168.20.0
network 192.168.50.0 (config-router)network 192.168.30.0
network 192.168.60.0 (config-router)exit
exit
(config)interface gig0/1
interface gig0/0 (config-if)ip address 10.0.0.1 255.0.0.0
ip address 10.0.0.1 255.0.0.0 (config-if)no shutdown
no shutdown
## Configuration inter-routage // procédure à faire sur le routeur 2 ## Configuration inter-routage // procédure à faire sur le routeur 2
config t config t
router rip (config)router rip
network 192.168.10.0 (config-router)version 2
network 192.168.20.0 (config-router)network 10.0.0.0
network 192.168.30.0 (config-router)network 192.168.40.0
network 192.168.40.0 (config-router)network 192.168.50.0
network 192.168.50.0 (config-router)network 192.168.60.0
network 192.168.60.0 (config-router)exit
exit
(config)interface gig0/1
interface gig0/0 (config-if)ip address 10.0.0.2 255.0.0.0
ip address 10.0.0.2 255.0.0.0 (config-if)no shutdown
no shutdown
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment