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). _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
