Vlans sur switch 3550
Résolu
sorento02
Messages postés
3
Date d'inscription
Statut
Membre
Dernière intervention
-
MIchael Tagui Messages postés 60 Date d'inscription Statut Membre Dernière intervention -
MIchael Tagui Messages postés 60 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
voila je dois creer deux Vlans sur un swicth 3550, affecter 2 pc à chaque Vlan et pinguer les 2 machines des Vlans, j'ai créé mes vlans et j'ai affeché les portes aux vlans:
interface FastEthernet 0/4
switchport access vlan 2
exit
interface FastEthernet 0/7
switchport access vlan 2
exit
interface FastEthernet 0/8
switchport access vlan 3
exit
interface FastEthernet 0/11
switchport access vlan 3
exit
j'ai ensuite activé mes Vlans
vlan 2
state active
name Vlan2
exit
vlan 3
state active
name Vlan3
exit
mnt mon probleme que je veux pinguer 2 machines des Vlans, comment puis-je affecter les adresses aux Vlans, aux machines des Vlans et aux interface du swicth ? (C'est un switch-routeur donc le routage est possible avec ce switch)
Merci d'avance !!!!
voila je dois creer deux Vlans sur un swicth 3550, affecter 2 pc à chaque Vlan et pinguer les 2 machines des Vlans, j'ai créé mes vlans et j'ai affeché les portes aux vlans:
interface FastEthernet 0/4
switchport access vlan 2
exit
interface FastEthernet 0/7
switchport access vlan 2
exit
interface FastEthernet 0/8
switchport access vlan 3
exit
interface FastEthernet 0/11
switchport access vlan 3
exit
j'ai ensuite activé mes Vlans
vlan 2
state active
name Vlan2
exit
vlan 3
state active
name Vlan3
exit
mnt mon probleme que je veux pinguer 2 machines des Vlans, comment puis-je affecter les adresses aux Vlans, aux machines des Vlans et aux interface du swicth ? (C'est un switch-routeur donc le routage est possible avec ce switch)
Merci d'avance !!!!
A voir également:
- Vlans sur switch 3550
- Android switch - Accueil - Android
- Smart switch pc - Télécharger - Divers Bureautique
- Switch off - Télécharger - Divers Utilitaires
- Logiciel switch - Télécharger - Conversion & Extraction
- Switch qwerty azerty - Guide
5 réponses
LAISSE MOI TE POSER D'ABORD CETTE QUESTION: AS TU DONNE DES IP ADDRESSES AUX MACHINES? ET JE REPONDRAIS A TA QUESTION.
noon pas encore ! je veux d'abord donner aux Vlans, si par exemple je donne l'adresse 192.168.0.0 au 1er Vlan, je donnerai l'adresse 192.168.0.1 à ma machine
Oui c possible d'affecter des address ip aux VLANs, voici la commande:
Switch(config)#VLAN 45 (pour creer un vlan 45 en 1ere position)
Switch(config-vlan)#EXIT (pour sortir du mode config vlan)
Switch(config)#INTERFACE VLAN 45 (te permettra d'entrer dans l'interface VLAN k tu viens de creer)
Switch(config-if)#IP ADDRESS 100.100.100.1 255.0.0.0 (pour affecter une addresse IP au vlan 45).
Si tu as un problem n'hesite pas a nous faire savoir.
Switch(config)#VLAN 45 (pour creer un vlan 45 en 1ere position)
Switch(config-vlan)#EXIT (pour sortir du mode config vlan)
Switch(config)#INTERFACE VLAN 45 (te permettra d'entrer dans l'interface VLAN k tu viens de creer)
Switch(config-if)#IP ADDRESS 100.100.100.1 255.0.0.0 (pour affecter une addresse IP au vlan 45).
Si tu as un problem n'hesite pas a nous faire savoir.
Voici toutes les commandes pour finir ton exercise si tu as encore des doutes:
Switch>
Switch>
Switch>en
Switch#
Switch#
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Switch(config)#vlan 2
Switch(config-vlan)#vlan 3
Switch(config-vlan)#
Switch(config-vlan)#exit
Switch(config)#
Switch(config)#int range fa0/4-7
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 2
Switch(config-if-range)#
Switch(config-if-range)#exit
Switch(config)#int range fa0/8-11
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 3
Switch(config-if-range)#exit
Switch(config)#int vlan 2
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to up
Switch(config-if)#
Switch(config-if)#ip address 192.168.10.1 255.255.255.0
Switch(config-if)#int vlan 3
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan20, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed state to up
Switch(config-if)#ip address 172.16.10.1 255.255.0.0
Switch(config-if)#
Switch(config-if)#no shut
Switch(config-if)
Switch(config-if)#int vlan 2
Switch(config-if)#no shut
Switch(config-if)#exit
Switch(config)#ip routing
Switch(config)#
Switch(config)#do ping 172.16.10.1 (pour tester la connection entre le switch et le vlan 3)
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/16/16 ms ( les cinq points d'exclamation montrent que le ping est a 100% de reussite)
Switch(config)#do ping 192.168.10.1 (pour tester la connection entre le switch et le vlan 2)
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/19/31 ms ( !!!!! ping reussit a 100%)
j'espere k le reste te sera facile !!!!!.
Switch>
Switch>
Switch>en
Switch#
Switch#
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Switch(config)#vlan 2
Switch(config-vlan)#vlan 3
Switch(config-vlan)#
Switch(config-vlan)#exit
Switch(config)#
Switch(config)#int range fa0/4-7
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 2
Switch(config-if-range)#
Switch(config-if-range)#exit
Switch(config)#int range fa0/8-11
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 3
Switch(config-if-range)#exit
Switch(config)#int vlan 2
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to up
Switch(config-if)#
Switch(config-if)#ip address 192.168.10.1 255.255.255.0
Switch(config-if)#int vlan 3
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan20, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed state to up
Switch(config-if)#ip address 172.16.10.1 255.255.0.0
Switch(config-if)#
Switch(config-if)#no shut
Switch(config-if)
Switch(config-if)#int vlan 2
Switch(config-if)#no shut
Switch(config-if)#exit
Switch(config)#ip routing
Switch(config)#
Switch(config)#do ping 172.16.10.1 (pour tester la connection entre le switch et le vlan 3)
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/16/16 ms ( les cinq points d'exclamation montrent que le ping est a 100% de reussite)
Switch(config)#do ping 192.168.10.1 (pour tester la connection entre le switch et le vlan 2)
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/19/31 ms ( !!!!! ping reussit a 100%)
j'espere k le reste te sera facile !!!!!.
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question