问题

我不能ping或连接到CVM


徽章 +1

我可以从我的PC上ping到AHV。我可以通过AHV通过地址172.x.x.x和内部地址192.x.x.x ping到CVM,但是我可以从PC上ping到CVM。


4个答复

UserLevel 2
徽章 +4

你好 @BiLel

请确认从哪里到您无法ping的地方,在所有三种情况下,您都提到您可以ping。请检查您的VLAN配置,并确保CVM配置了正确的子网和网关。

徽章 +1

你好 @sudhir9

就在我的电脑上,我无法ping到CVM!

UserLevel 2
徽章 +4

你好 @BiLel

从AHV分享以下命令的输出

cat/etc/sysconfig/network-scripts/ifcfg-br0 ovs-vsctl显示virsh dumpxml ntnx* |GREP标签

从CVM中,请分享以下命令的输出

cat/etc/sysconfig/network-scripts/ifcfg-eth0

徽章 +1

你好 @sudhir9

输出命令:

cat/etc/sysconfig/network-scripts/ifcfg-br0

#由凤凰生成的自动
设备= BR0
nm_controlled = no
ONBOOT =是
type = ovsintport
DeviceType = OVS
bootproto =无
ipaddr = 172.29.50.245
NetMask = 255.255.255.0
网关= 172.29.50.254
ovSrequires =“”


输出命令:OVS-VSCTL显示

F08B4A68-ABEF-4D27-9D33-4B424052CF5B
桥BR.MX
端口br.mx
接口br.mx
类型:内部
端口“ br.mx.u.br0”
接口“ br.mx.u.br0”
类型:补丁
选项:{peer =“ br0.local.d”}
港口br.mx.d
接口br.mx.d
类型:补丁
选项:{peer = br.microseg.u}
桥梁“ BR0”
端口“ vnet0”
接口“ VNET0”
端口“ vnet2”
接口“ vnet2”
端口“ BR0-DHCP”
接口“ BR0-DHCP”
类型:vxlan
选项:{key =“ 1”,remote_ip =“ 172.29.50.246”}
端口“ BR0”
接口“ BR0”
类型:内部
端口“ br0.u”
接口“ br0.u”
类型:补丁
选项:{peer =“ br.dmx.d.br0”}
端口“ eth0”
接口“ eth0”
端口“ BR0-ARP”
接口“ BR0-ARP”
类型:vxlan
选项:{key =“ 1”,remote_ip =“ 192.168.5.2”}
桥Br.microseg
Br.microseg.u港
接口br.microseg.u
类型:补丁
选项:{peer = br.mx.d}
Br.microseg.D
接口br.microseg.d
类型:补丁
选项:{peer = br.nf.u}
Br.microseg港
接口Br.microseg
类型:内部
桥BR.DMX
端口br.dmx
接口br.dmx
类型:内部
端口“ br.dmx.d.br0”
接口“ br.dmx.d.br0”
类型:补丁
选项:{peer =“ br0.u”}
港口br.dmx.u
接口br.dmx.u
类型:补丁
选项:{peer = br.nf.d}
桥梁“ br0。本地”
端口“ br0.local”
接口“ br0.local”
类型:内部
端口“ br0.local.d”
接口“ br0.local.d”
类型:补丁
选项:{peer =“ br.mx.u.br0”}
桥BR.NF
港口br.nf.d
接口br.nf.d
类型:补丁
选项:{peer = br.dmx.u}
港口br.nf
接口br.nf
类型:内部
港口br.nf.u
接口br.nf.u
类型:补丁
选项:{peer = br.microseg.d}
ovs_version:“ 2.8.9”


输出命令:

virsh dumpxml ntnx* |GREP标签

错误:无法获得域'ntnx-cvm.xml'
错误:找不到域:没有匹配名称'ntnx-cvm.xml'的域


输出命令:

cat/etc/sysconfig/network-scripts/ifcfg-eth0

#由CentosnetworkInterfacesConfig在4月3日14:25:22 2021生成的自动

nozeroconf =“是”
网关=“ 172.29.50.254”
nm_controlled =“ no”
NetMask =“ 255.255.255.0”
ipaddr =“ 172.29.50.246”
设备=“ eth0”
type =“以太网”
onboot =“是”
bootproto =“无”

回复


Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu