[ovs-discuss] Ovn network access to public network failed

那达慕 1710032850 at qq.com
Thu Mar 26 00:39:15 UTC 2020


Hello:


	With the ovn network, the instance cannot Ping the public network. When the ovn crontroller is restarted, the public network can be accessed. After the restart is successful, the instance fails to access the public network.


Here is my configuration:


# ovs-vsctl list open
_uuid               : ee21ff31-d7cb-43ef-91a9-1d28cdf03e99
bridges             : [2c2ebdf7-0861-4fc7-a762-07f489309848, e19c98c7-204f-43e1-bd7d-33882a7c874e]
cur_cfg             : 44
datapath_types      : [netdev, system]
db_version          : "7.16.1"
dpdk_initialized    : false
dpdk_version        : "DPDK 18.11.0"
external_ids        : {hostname="h0082020", ovn-bridge-mappings="provider1:br-ext1", ovn-cms-options=enable-chassis-as-gw, ovn-encap-ip="172.16.82.20", ovn-encap-type="geneve,vxlan", ovn-remote="tcp:172.16.82.21:6642", rundir="/var/run/openvswitch", system-id="619716c4-2746-4a39-83ae-cc6847ddbc43"}
iface_types         : [erspan, geneve, gre, internal, "ip6erspan", "ip6gre", lisp, patch, stt, system, tap, vxlan]
manager_options     : []
next_cfg            : 44
other_config        : {}
ovs_version         : "2.11.0"
ssl                 : []
statistics          : {}
system_type         : centos
system_version      : "7"
[root at h0082020 ~]# ovs-vsctl list open
_uuid               : ee21ff31-d7cb-43ef-91a9-1d28cdf03e99
bridges             : [2c2ebdf7-0861-4fc7-a762-07f489309848, e19c98c7-204f-43e1-bd7d-33882a7c874e]
cur_cfg             : 44
datapath_types      : [netdev, system]
db_version          : "7.16.1"
dpdk_initialized    : false
dpdk_version        : "DPDK 18.11.0"
external_ids        : {hostname="h0082020", ovn-bridge-mappings="provider1:br-ext1", ovn-cms-options=enable-chassis-as-gw, ovn-encap-ip="172.16.82.20", ovn-encap-type="geneve,vxlan", ovn-remote="tcp:172.16.82.21:6642", rundir="/var/run/openvswitch", system-id="619716c4-2746-4a39-83ae-cc6847ddbc43"}
iface_types         : [erspan, geneve, gre, internal, "ip6erspan", "ip6gre", lisp, patch, stt, system, tap, vxlan]
manager_options     : []
next_cfg            : 44
other_config        : {}
ovs_version         : "2.11.0"
ssl                 : []
statistics          : {}
system_type         : centos
system_version      : "7"


# sysctl -p
net.ipv4.ip_forward = 1
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.default.rp_filter = 0




 你好,
     使用ovn网络,实例不能ping通公网,当重启ovn-crontroller时,是可以访问公网。然后重启成功后,实例访问公网就失败了。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20200326/e0bd1925/attachment-0001.html>


More information about the discuss mailing list