[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] can't match vlan packet in OVS
From:       blp () nicira ! com (Ben Pfaff)
Date:       2015-04-27 17:15:45
Message-ID: 20150427171545.GA29666 () nicira ! com
[Download RAW message or body]

On Mon, Apr 27, 2015 at 10:58:01AM +0000, Duankebo (Frank) wrote:
> I have a VM(virtual machine) connected to an OVS vSwitch through a port. I set the \
> port's vlan tag(1 in the following example). So when VM send out a packet, vSwitch \
> will  attach a vlan tag(vlan id = 1) to the packet. But It seems the vlan tag is \
> attached only when the packet is sent out by vSwitch to physical network.   I want \
> to add some openflow entries to OVS, which need to match packet by what network it \
> come from, I use dl_vlan to mach in the openflow entries,  Unfortunately, the match \
> doesn't work, because the vlan tag has not be attached yet. Are there some other \
> ways to match a specific vlan packet in the vSwitch?

You can match on the input port (in_port).


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic