Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NANOG: users

do you know how to dump packet to see vlan info

 

 

NANOG users RSS feed   Index | Next | Previous | View Threaded


annkok2001 at yahoo

Mar 19, 2008, 11:37 AM

Post #1 of 3 (500 views)
Permalink
do you know how to dump packet to see vlan info

Hi all

I am using linux as router to connect to switch

do you know how to dump packet to see vlan info?

Thank you


____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping


Jon.Kibler at aset

Mar 19, 2008, 12:03 PM

Post #2 of 3 (467 views)
Permalink
Re: do you know how to dump packet to see vlan info [In reply to]

ann kok wrote:
> Hi all
>
> I am using linux as router to connect to switch
>
> do you know how to dump packet to see vlan info?
>
> Thank you

You won't see vlan info unless you are on a trunking port.

Jon Kibler
--
Jon R. Kibler
Chief Technical Officer
Advanced Systems Engineering Technology, Inc.
Charleston, SC USA
(843) 849-8214





==================================================
Filtered by: TRUSTEM.COM's Email Filtering Service
http://www.trustem.com/
No Spam. No Viruses. Just Good Clean Email.


billn at billn

Mar 19, 2008, 1:40 PM

Post #3 of 3 (466 views)
Permalink
Re: do you know how to dump packet to see vlan info [In reply to]

You can use the 8021q module in linux, and the vlan tools to run an
interface as a dot1q trunk. I'm not sure off-hand about the other
distributions, but under Debian you just need the 'vlan' package.

modprobe 8021q
ifconfig eth1 up
vconfig add eth1 <vlan id>
ifconfig eth1.<vlan id> <ip address> netmask <netmask>

Configure your switch port to trunk mode, tag your vlans onto it, et
voila.

This will give you a presence in as many broadcast domains as you decide
to tag.

- billn

On Wed, 19 Mar 2008, Jon R. Kibler wrote:

> ann kok wrote:
>> Hi all
>>
>> I am using linux as router to connect to switch
>>
>> do you know how to dump packet to see vlan info?
>>
>> Thank you
>
> You won't see vlan info unless you are on a trunking port.
>
> Jon Kibler
>

NANOG users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.