Skip to content
Snippets Groups Projects
Commit 9f546659 authored by Al Massati Bilal's avatar Al Massati Bilal
Browse files

Rangement V Finale

parent ea2ea1e5
Branches
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ Nommer switch
Switch>enable
Switch#conf t
Switch#(config)#hostname S1
Switch(config)#hostname S1
S1(config)#exit
S1#
......@@ -72,7 +72,7 @@ Organisation interface vlan 3 :
S1#conf t
S1(config)#vlan 3
S1(config-vlan)#interface range fa 0/1 - 12
S1(config-vlan)#interface range fa0/1 - 12
S1(config-if-range)#switchport access vlan 3
S1(config)#exit
......@@ -80,14 +80,14 @@ Organisation interface vlan 4 :
S1#conf t
S1(config)#vlan 4
S1(config-vlan)#interface range fa 0/13 - 24
S1(config-vlan)#interface range fa0/13 - 24
S1(config-if-range)#switchport access vlan 4
S1(config)#exit
Configuration trunk inter-vlan :
S1#conf t
S1(config)#interface fa 0/48 1 (Interface GE 0/0) à Routeur
S1(config)#interface fa0/48 (interface gig0/0) à Routeur
S1(config-if)#switchport mode trunk
S1(config-if)#no shutdown
S1(config-if)#exit
......@@ -111,8 +111,8 @@ Sécuriser avec un mot de passe sur routeur :
Creation sous-interface VLAN 2 (ROUTEUR)
R1#conf t
R1(config)#interface gig 0/0.3
R1(config-if)#encapsulation dot1Q 2
R1(config)#interface gig0/0.1
R1(config-subif)#encapsulation dot1Q 2
R1(config-subif)#ip address 192.168.40.254 255.255.255.0
R1(config-subif)#ip helper-address 192.168.40.150
R1(config-subif)#no shutdown
......@@ -121,8 +121,8 @@ Creation sous-interface VLAN 2 (ROUTEUR)
Création sous-interface VLAN 3 (ROUTEUR)
R1(config)#interface gig 0/0.1
R1(config-if)#encapsulation dot1Q 3
R1(config)#interface gig0/0.2
R1(config-subif)#encapsulation dot1Q 3
R1(config-subif)#ip address 192.168.50.254 255.255.255.0
R1(config-subif)#ip helper-address 192.168.40.150
R1(config-subif)#no shutdown
......@@ -131,8 +131,8 @@ Création sous-interface VLAN 3 (ROUTEUR)
Création sous-interface VLAN 4 (ROUTEUR)
R1(config)#interface gig 0/0.2
R1(config-if)#encapsulation dot1Q 4
R1(config)#interface gig0/0.3
R1(config-subif)#encapsulation dot1Q 4
R1(config-subif)#ip address 192.168.60.254 255.255.255.0
R1(config-subif)#ip helper-address 192.168.40.150
R1(config-subif)#no shutdown
......@@ -189,7 +189,7 @@ Test :
Sur routeur 1 :
R1#conf t
R1(config)#ip nat inside source static 192.168.40.254 10.0.0.1
R1(config)#ip nat inside source static 192.168.10.254 10.0.0.1
### A faire sur chaque sous-interface Vlan:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment