[ovs-discuss] How to see if the physical host is seeing VLAN tagged packets correctly leaving/arriving on the eth0 interface?

陈文龙 qzchenwl at gmail.com
Fri Jul 30 00:12:29 UTC 2010


Thanks!

2010/7/30 Ben Pfaff <blp at nicira.com>

> On Wed, Jul 28, 2010 at 10:24 PM, 陈文龙 <qzchenwl at gmail.com> wrote:
> > The physical host is running OvS.
> > ovs-vsctl add-br br0
> > ovs-vsctl add-port br0 tap1.0 tag=100
> > How to see if the packet from/to tap1.0 is tagged right?
>
> You could use tcpdump on a trunk port, e.g.:
>    tcpdump -pne -i eth0 vlan 100
> presuming that eth0 is a trunk port also on br0.
>
> (Be sure to include the "vlan 100" keywords on the tcpdump command line.
> tcpdump is not very good about dealing with vlans and needs a bit of
> help.)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100730/bc23937d/attachment-0001.html>


More information about the discuss mailing list