[103156] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Bill Nash)
Wed Mar 19 16:41:26 2008

Date: Wed, 19 Mar 2008 13:40:20 -0700 (MST)
From: Bill Nash <billn@billn.net>
To: ann kok <annkok2001@yahoo.com>
cc: nanog@merit.edu
In-Reply-To: <47E16394.6080101@aset.com>
Errors-To: owner-nanog@merit.edu



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
>

home help back first fref pref prev next nref lref last post