[ovs-discuss] Does OVS 2.13.2 support STT IPv6 encap?

Fengqi Li (李丰启) lifengqi at inspur.com
Tue Nov 24 10:07:12 UTC 2020


Hi.

I'm working with OVS 2.13.2&OVN20.02,I want to use IPv6 tunnel-encap and
here is my configure step:

1、create ovs bridge and tunnel port(vtep)

2、bring up vtep and get vtep's IPv6 addr(ovn-encap-ip)

3、set ovs's external_id:ovn-encap-ip to vtep's IPv6 addr

 

[root at node]# ovs-vsctl list op

uuid:cfd99965-eb2a-44d4-93b6 -b4ecbf848635 

bridges: [7bb3b5e8-0d69-4468-a859-88298c16f9d2,
cb2b5166-4d0b-44b6-b005-f7c7c8659c34, d5fa96b9-fb64-490d-9120e912d17e6c]

cur cfg: 257

datapath_types : [netdev, system]

datapaths:{}

db_version: "8.2.0"

dpdk_initialized : false

dpdk_version: DPDK 19.11.3"

external_ids : {hostname=node-191, ovn-bridge-br-ovn,
ovn-bridge-mappings="default:br-provider,public:br-provider",
ovn-cms-options=enable-chassis-as-gw,
ovn-encap-ip="fe80::e0d8:67ff:fe55:7d19", ovn-encap-type=stt,
ovn-remote="tcp:100.7.34.48:6642",
ovn-transport-zones=a397bfee2d4711ebac4186d7cd40f75a,
rundir="/var/run/openvswitch",
system-id="d5029981-b99f-45ce-a885-b79aeddea23c"}

iface_types: [erspan, geneve, gre, internal, ip6erspan, ip6gre, lisp, patch,
stt, system, tap, vxlan]

manager_options : [f6619ada-bf7c-40e9-a698-e4c326cb5da2]

next_cfg:257

other_config:{stats-update-interval="10000", vlan-limit="2"}

ovs_version:"2.13.2"

ssl:[]

statistics:{}

system_type:{}

system_version:{}

 

ovs-vsctl show

....

Bridge br-ovn

    fail_mode: secure

    Port br-ovn

        Interface br-ovn

       type: internal

    Port vn5e8406140

        Interface vn5e8406140 

    Port ovn-22f98e 

        Interface ovn-22f98e-0

           type: stt

           options: {csum="true", key=flow,
remote_ip="fe80::20bd:7ff:fe9d:402f"}

ovs version: "2.13.2"

 

when I set OVS's tunnel type(ovn-encap-type) to VXLAN or geneve,the tunnel
works fun;but when i change OVS's tunnel type to STT,I got following error:

ovs-vswitchd.log:

...

dpif(handler122)|WARN|system at ovs-system:failed to put[create] (Invalid
arguemnt) ufid:792c1ed4-2dc1-498c-8609-1dbdd0848b0b recirc_id(0),dp_hash(0),
skb_prority(0)

,tunnel(tun_id=0x10002000003,src=127.0.0.1,ttl=64,tp_src=61369,tp_dst=7471,f
lags(csum|key)),in_port(2),skb_mark(0),ct_state(0),ct_zone(0),ct_mark(0),ct_
slabel(0),

eth(src=00:16:3e:89:5f:30,dst=00:16:3e:f3:8f:b0),eth_type(0x0800),ipv4(src=1
2.12.12.5,dst=12.12.12.29,proto=1,tos=0,ttl=64,frag=no),icmp(type=8,code=0)

....

 

message:

...

kernel:openvwitch:netlink:IPv4 tunnel dst address is zero

...

 

Does OVS 2.13.2 support STT IPv6 encap?

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20201124/f92c7b98/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3600 bytes
Desc: not available
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20201124/f92c7b98/attachment.p7s>


More information about the discuss mailing list