Switch VLAN Tagged / Untagg / PVID

Fermé
Steve - 14 juin 2016 à 12:01
brupala Messages postés 109896 Date d'inscription lundi 16 juillet 2001 Statut Membre Dernière intervention 27 juillet 2024 - 15 juin 2016 à 16:42
Bonjour,

Je suis sur le manuel d'un switch TPLink et j'ai besoin de conseil sur la gestion des vlans.


Voici ce que je vois dans ce manuel:

(1) Untagged: The untagged port can be added in multiple VLANs. If a VLAN-tagged packet
arrives at a port and the VLAN ID in its VLAN tag does not match any of the VLAN the
ingress port belongs to, this packet will be dropped. The packets forwarded by the
untagged port are untagged.


(2) Tagged: The tagged port can be added in multiple VLANs. If a VLAN-tagged packet
arrives at a port and the VLAN ID in its VLAN tag does not match any of the VLAN the
ingress port belongs to, this packet will be dropped. When the VLAN-tagged packets are
forwarded by the Tagged port, its VLAN tag will not be changed.

(3) PVID: (Port VLAN ID) is the default VID of the port. When the switch receives an un-VLAN-tagged
packet, it will add a VLAN tag to the packet according to the PVID of its received port and forward
the packets.

En créant un vlan, on désigne les ports de celui-ci avec la notion Tagged ou Untagged. Mais cela ne suffit pas à faire communiquer les équipements au sein d'un range de port d'un meme vlan, il faut aussi mettre le PVID dans une autre page de l'interface.

Du coup, je comprend ceci:

Vlan1=id 1
Vlan2=id 2
Vlan3=id 3


PC non taggé -> Port switch avec PVID 1 et Untagg 1 + 2 + 3=> paquet retransmis: id 1
PC non taggé -> Port switch avec PVID 1 et tagged 1 + 2 + 3=> paquet retransmis: id 1

PC taggé id 2 -> Port switch avec PVID 1 et Untagg 1 + 2 + 3=> trame retransmis: id 1
PC taggé id 3 -> Port switch avec PVID 1 et Untagg 1 + 2 + 3=> trame retransmis: id 3

Et pour les autres config, c'est blocage.

Vous êtes d'accord ?

Merci






1 réponse

brupala Messages postés 109896 Date d'inscription lundi 16 juillet 2001 Statut Membre Dernière intervention 27 juillet 2024 13 687
Modifié par brupala le 14/06/2016 à 23:16
Salut,
TPlink semble réinventer les notions de PVID et de vlan non taggé.
En principe, les PVID ne concernent que les trames non taggées, les trames taggées n'ont pas à changer de vlan.
Après, si le vlan taggé n'est pas valide sur le port, c'est normal que la trame passe à la trappe.
une trame non taggée doit prendre le PVID exclusivement.
PC taggé id 2 -> Port switch avec PVID 1 et Untagg 1 + 2 + 3=> trame retransmis: id 1
ça ne doit pas exister, la trame doit rester en vlan2
et ... Voili  Voilou  Voila !
0
À moins que ça soit une sorte décapsulation de vlan type dot1q ?

J'ai déjà vu les notions du tplink sur la marque netgear.
0
brupala Messages postés 109896 Date d'inscription lundi 16 juillet 2001 Statut Membre Dernière intervention 27 juillet 2024 13 687 > Steve
15 juin 2016 à 16:42
désencapsulation ?
ce n'est pas une raison pour changer le numéro de vlan sans prévenir, même si c'est en interne.
Soit on jette la trame, soit on la laisse passer avec son vlan.
LA conversion du tag de vlan doit être explicite sur un port.
Quand on veut modifier un numéro de vlan, on le transporte plutôt en QinQ
0