nanog mailing list archives
Re: do you know how to dump packet to see vlan info
From: Bill Nash <billn () billn net>
Date: Wed, 19 Mar 2008 13:40:20 -0700 (MST)
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 youYou won't see vlan info unless you are on a trunking port. Jon Kibler
Current thread:
- do you know how to dump packet to see vlan info ann kok (Mar 19)
- Re: do you know how to dump packet to see vlan info Jon R. Kibler (Mar 19)
- Re: do you know how to dump packet to see vlan info Bill Nash (Mar 19)
- Re: do you know how to dump packet to see vlan info Jon R. Kibler (Mar 19)