[ovs-dev] [PATCH RFC] netdev-linux: support lwtunnel vxlan interfaces
Jiri Benc
jbenc at redhat.com
Thu Oct 1 16:12:12 UTC 2015
On Thu, 1 Oct 2015 18:08:51 +0200, Jiri Benc wrote:
> This is for IPv4 only at this point. Only vxlan is recognized for now.
>
> The usage is as follows:
>
> ip l a type vxlan metadata dstport 4789
> ovs-vsctl add-port ovsbridge vxlan0
^ should be "ovs0"
> Now, the encapsulation can be specified using ovs-ofctl, e.g.:
>
> ovs-ofctl add-flow ovs0 'in_port=2 actions=set_field:2->tun_id,set_field:192.168.1.1->tun_dst,1'
> ovs-ofctl add-flow ovs0 'in_port=1,tun_id=2 actions=2'
>
> Note that this depends on iproute2 patches that are not merged yet to create
> the metadata based vxlan interface.
--
Jiri Benc
More information about the dev
mailing list