[ovs-discuss] double the encap
jesse at nicira.com
Tue May 8 08:22:03 PDT 2012
On Mon, May 7, 2012 at 6:48 PM, Brandon Heller <brandonh at stanford.edu> wrote:
> I'd like to configure OVS using OpenFlow+Nicira extensions to push two VLAN
> tags, to load-balance at higher levels of a multi-rooted tree on physical
> switches that only support OpenFlow 1.0 in firmware and so don't support
> ECMP. Double-stacked VLANs aren't strictly necessary; double IP-in-IP or
> VLAN + IP-in-IP would probably work too.
> One possibility may be to use a nicira_header to add a VLAN header with
> OFPAT_SET_VLAN_VID and then output to NXAST_RESUBMIT. The resubmit match
> would then need to encap a VLAN the next time rather than set it, and I
> don't see an action for that other than maybe tunneling.
Resubmitting won't help since it doesn't change the action - the
OpenFlow 1.0 action will just set it the second time. Internally OVS
has the ability to push multiple tags but that's not exposed to the
You could do vlan in GRE or if you took multiple trips through OVS,
GRE in GRE or GRE in vlan.
More information about the discuss