PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Noms de domaine > comp.protocols.tcp-ip > VLAN - Ping related question - PLEASE
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.protocols.tcp-ip TCP and IP network protocols.

VLAN - Ping related question - PLEASE

Réponse
 
LinkBack Outils de la discussion
Vieux 14/10/2007, 22h21   #1
cpptutor2000@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut VLAN - Ping related question - PLEASE

Could some networking guru please provide some hints to my question? I
am trying to test some tagged VLAN features. The machines that I am
using use Ethernet II. From what I know about tagged VLANs and
Ethernet II/802.1Q/1P, there ought to be a 4-byte tag field after the
source address in the Ethernet frame, containing the (TPID, PRIORITY,
CFI and VID). To test my set up, I am capturing and examining packets
with Wireshark, and 'pinging' each machine.

In all the packets I have examined (both going in and out of the
machines with VLAN supposedly activated), I do not see this 4-byte tag
field as mentioned above. I have ensured from the NIC card interface
that the 802.1Q/1P tagging is switched on the machines. I have re-
created the network 3 - 4 times, but I do not see the 4-bytes at all.

Is there something extra I need to do? I want to confirm there is
something wrong with the NIC cards, or there is some configuration
problem. Any would be greatly appreciated. Thanks in advance for
your .

  Réponse avec citation
Vieux 18/10/2007, 09h53   #2
Jorgen Grahn
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: VLAN - Ping related question - PLEASE

On Sun, 14 Oct 2007 14:21:10 -0700, cpptutor2000@yahoo.com <cpptutor2000@yahoo.com> wrote:
> Could some networking guru please provide some hints to my question? I
> am trying to test some tagged VLAN features. The machines that I am
> using use Ethernet II. From what I know about tagged VLANs and
> Ethernet II/802.1Q/1P, there ought to be a 4-byte tag field after the
> source address in the Ethernet frame, containing the (TPID, PRIORITY,
> CFI and VID). To test my set up, I am capturing and examining packets
> with Wireshark, and 'pinging' each machine.
>
> In all the packets I have examined (both going in and out of the
> machines with VLAN supposedly activated), I do not see this 4-byte tag
> field as mentioned above. I have ensured from the NIC card interface
> that the 802.1Q/1P tagging is switched on the machines. I have re-
> created the network 3 - 4 times, but I do not see the 4-bytes at all.


Yes, but does the VLAN *work*? I.e. can you ping between IP addresses
on the VLAN? If so, why worry?

> Is there something extra I need to do? I want to confirm there is
> something wrong with the NIC cards, or there is some configuration
> problem. Any would be greatly appreciated. Thanks in advance for
> your .


I have noticed (on Linux) that tcpdump (and Wireshark, etc) tend not to
capture the VLAN header. It is stripped away on lower level than where
libpcap picks up the frames. A coworker of mine had to disable some
kind of optimization in the NIC or the driver to see the VLAN headers.

I can agree that this is a bit unfortunate from a debugging point of
view (and for curious people like you and me), but on the other hand
you have statistics on the interfaces and other tools like that. Plus
the fact that you can trust "tcpdump -iname_of_the_vlan_if" to only
pick up packets on that VLAN.

-Jorgen

--
// Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu
\X/ snipabacken.dyndns.org> R'lyeh wgah'nagl fhtagn!
  Réponse avec citation
Vieux 19/10/2007, 13h30   #3
pxcdan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: VLAN - Ping related question - PLEASE


>
> > Is there something extra I need to do? I want to confirm there is
> > something wrong with the NIC cards, or there is some configuration
> > problem. Any would be greatly appreciated. Thanks in advance for
> > your .

>
> I have noticed (on Linux) that tcpdump (and Wireshark, etc) tend not to
> capture the VLAN header. It is stripped away on lower level than where
> libpcap picks up the frames. A coworker of mine had to disable some
> kind of optimization in the NIC or the driver to see the VLAN headers.
>


RealTek cards seem to always preserve the tag for you to see, Intel
cards always seem to discard. If you want to test, set your source
and destination in separate VLANs and see if the Ping still works, if
it does, VLAN probably is not enabled, if it does not, then your VLAN
is there, you just can't see the tag.

Cheers,
Dan

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h22.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10901 seconds with 11 queries