do you know how to dump packet to see vlan info

2008-03-19 Thread ann kok

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


Re: do you know how to dump packet to see vlan info

2008-03-19 Thread Jon R. Kibler

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.



Re: do you know how to dump packet to see vlan info

2008-03-19 Thread Bill Nash



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