Fichier a telecharger: vtp_clean.pkt
Logiciel: packet tracer
VTP:
Domaine : egilia
Password : learning
SW_0=server
SW_1=transparent
SW_2=client
Notes:
- VLAN 5 : impair, 192.168.5.0/26
VLAN 6 : pair, 192.168.6.0/28
VLAN 10 : admin, 192.168.10.0/24 - router(config)# ip dhcp pool MyPool
-dhcp)# network 192.168.0.0 255.255.255.0
# default-router 192.168.0.254
# domain-name MyDomain
# dns-server 8.8.8.8 8.8.4.4
# lease 3
****************************************************
Correction
****************************************************La configuration des switchs doivent se faire suivant l'ordre ci-dessous:
0.- SW_X, X=[0-2]
``````````````````
Avant d'ajouter un nouveau switch sur un reseau, il est fortement conseille d'effacer tout ce qu'il y a dessus.
SW_X#delete flash:
Delete filename []?vlan.dat
SW_X#erase startup-config SW_X# reload
1.- Configuration de VTP
``````````````````````````
Mode par defaut des switchs: Server
SW_X#show vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 255
Number of existing VLANs : 5
VTP Operating Mode : Server
VTP Domain Name :
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x7D 0x5A 0xA6 0x0E 0x9A 0x72 0xA0 0x3A
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid interface found)
SW_0(config)#vtp domain egilia
SW_0(config)#vtp password learning
SW_1(config)#vtp domain egilia
SW_1(config)#vtp mode transparent
SW_1(config)#vtp password learning
SW_2(config)#vtp mode client
SW_2(config)#vtp domain egilia
SW_2(config)#vtp password learning
2.- Creation des VLAN sur le Server
````````````````````````````````````
SW_0(config)#vlan 5
SW_0(config-vlan)#name impair
SW_0(config-vlan)#vlan 6
SW_0(config-vlan)#name pair
SW_0(config-vlan)#vlan 10
SW_0(config-vlan)#name admin
3.- Configuration de nos liens Trunk
````````````````````````````````````
SW_0(config)# int range f0/1 - 2
SW_0(config-if-range)# switchport mode trunk
SW_1(config)# int range f0/1 - 2
SW_1(config-if-range)# switchport mode trunk
SW_2(config-if)#int F0/2
SW_2(config-if)# switchport mode trunk
4.- Creation des VLAN sur le Transparent
``````````````````````````````````````````
SW_1(config)#vlan 5
SW_1(config-vlan)#name impair
SW_1(config-vlan)#vlan 6
SW_1(config-vlan)#name pair
SW_1(config-vlan)#vlan 10
SW_1(config-vlan)#name admin
5.- Définir les interfaces Client
```````````````````````````````
SW_X: (X=[0-2])
SW_X(config)# int f0/5
SW_X(config-if)# switchport mode access
SW_X(config-if)#switchport access vlan 5
SW_X(config)# int f0/6
SW_X(config-if)# switchport mode access
SW_X(config-if)#switchport access vlan 6
SW_X(config)# int f0/10
SW_X(config-if)# switchport mode access
SW_X(config-if)#switchport access vlan 10
6.- Configuration du routage InterVLAN
`````````````````````````````````````````
R0(config)# int f0/0
R0(config-if)# no shut
R0(config-if)# exit
R0(config)# int f0/0.5
R0(config-subif)#encapsulation dot1Q 5
R0(config-subif)# ip address 192.168.5.62 255.255.255.192
R0(config-subif)#exit
R0(config)# int f0/0.6
R0(config-subif)#encapsulation dot1Q 6
R0(config-subif)#ip address 192.168.6.14 255.255.255.240
R0(config-subif)#exit
R0(config)# int f0/0.10
R0(config-subif)#encapsulation dot1Q 10
R0(config-subif)#ip address 192.168.10.254 255.255.255.0
7.- Configuration des DHCP
`````````````````````````````
R0(config)# ip dhcp pool vlan5
R0(dhcp-config)# network 192.168.5.0 255.255.255.192
R0(dhcp-config)#default-router 192.168.5.62
R0(config)# ip dhcp pool vlan6
R0(dhcp-config)#network 192.168.6.0 255.255.255.240
R0(dhcp-config)#default-router 192.168.6.14
R0(dhcp-config)# exit
R0(config)# ip dhcp pool vlan10
R0(dhcp-config)#network 192.168.10.0 255.255.255.0
R0(dhcp-config)#default-router 192.168.10.254
R0(dhcp-config)# exit
Fichier contenant la correction a telecharger: vtp_correction.pkt
Aucun commentaire:
Enregistrer un commentaire