Hello,

I have a strange problem with VXLAN encapsulation of MPLS flows.

VXLAN encapsulation is working fine for MPLS flows if the flows are produced at the same switch as the vxlan port, but it is not working if the MPLS flows arrive from neighboring switch.
The encapsulation works fine for IP flows in every case through.

For example,

Adding a vxlan port on the firsst switch through command-
ovs-vsctl add-port *s1* vxlan1 -- set interface vxlan1 type=vxlan options:remote_ip=192.168.1.115 options:key=flow *ofport_request=15*

And directing the incoming mpls flow to this port through openflow-
/*F1:*/ ovs-ofctl add-flow -OOpenFlow13 *s1* eth_type=0x8847,mpls_label=11,actions=*output:15*

MPLS flow routed from a neighboring switch produced from IP through openflow- /*F2: */ovs-ofctl add-flow -OOpenFlow13 *s2* eth_type=0x800,nw_dst=20.0.0.11,actions=*push_mpls=0x8847,set_field:11-\>mpls_label*,output:{to switch s1}

The above configuration is producing following 2 warning messages at the logs for every flow matching at F1:

dpif(handler897)|WARN|system@ovs-system: failed to put[create] (Invalid argument) ufid:f313c154-53b0-45da-9925-84ce6a940b19 recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(3),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),eth(src=66:b3:05:15:8e:8e/00:00:00:00:00:00,dst=0a:5a:ea:03:c1:4b/00:00:00:00:00:00),eth_type(0x8847),mpls(label=11/0xfffff,tc=0/0,ttl=64/0x0,bos=1/0), actions:set(tunnel(tun_id=0x0,dst=192.168.1.119,ttl=64,flags(df|key))),31

dpif(handler897)|WARN|system@ovs-system: execute set(tunnel(tun_id=0x0,dst=192.168.1.119,ttl=64,flags(df|key))),31 failed (Invalid argument) on packet mpls,vlan_tci=0x0000,dl_src=66:b3:05:15:8e:8e,dl_dst=0a:5a:ea:03:c1:4b,mpls_label=11,mpls_tc=0,mpls_ttl=64,mpls_bos=1
 mtu 0

I have been struggling through this for quite a while now, any help on interpretation of error message or any possible cause of error would be really helpful.
I am using Ubuntu16, linux kernel 4.4.21 and ovs 2.5.2
I have also tried ovs 2.7 but vxlan port creation dows not work on it giving error "address family not supported" while creating port.

Thanks and Regards,
Sidhant Hasija


_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to