[ovs-dev] [PATCH] FAQ: Expand on how one would implement VLAN handling via flows.

Ben Pfaff blp at nicira.com
Wed Feb 6 16:43:05 UTC 2013


Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 FAQ |   18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/FAQ b/FAQ
index ce5df27..8689950 100644
--- a/FAQ
+++ b/FAQ
@@ -795,11 +795,19 @@ A: The configuration for VLANs in the Open vSwitch database (e.g. via
    or through other means, then you have to implement VLAN handling
    yourself.
 
-   You can use "normal switching" as a component of your OpenFlow
-   actions, e.g. by putting "normal" into the lists of actions on
-   ovs-ofctl or by outputting to OFPP_NORMAL from an OpenFlow
-   controller.  This will only be suitable for some situations,
-   though.
+   In some situations, you can use "normal switching" as a component
+   of your OpenFlow actions, e.g. by putting "normal" into the lists
+   of actions on ovs-ofctl or by outputting to OFPP_NORMAL from an
+   OpenFlow controller.  In situations where this is not suitable, you
+   can implement VLAN handling yourself, e.g.:
+
+       - If a packet comes in on an access port, and the flow table
+         needs to send it out on a trunk port, then the flow can add
+         the appropriate VLAN tag with the "mod_vlan_vid" action.
+
+       - If a packet comes in on a trunk port, and the flow table
+         needs to send it out on an access port, then the flow can
+         strip the VLAN tag with the "strip_vlan" action.
 
 Q: I configured ports on a bridge as access ports with different VLAN
    tags, like this:
-- 
1.7.10.4




More information about the dev mailing list