I can not ping or connect to CVM | Nutanix Community
Skip to main content

I can ping to AHV from my pc. I can ping to CVM from AHV via address 172.x.x.x  and internal address 192.x.x.x But I Can Ping To CVM From My PC.

Hello @Bilel 

Please confirm from where to where you can’t ping, in all 3 scenario you have mentioned you can ping.  Please check your vlan configuration, and make sure CVM have the correct subnet and gateway configured. 


Hi @Sudhir9 

Just from my pc, I cannot ping to CVM  !


Hello @Bilel  

From AHV please share the output of the below command 

cat /etc/sysconfig/network-scripts/ifcfg-br0 ovs-vsctl show virsh dumpxml NTNX* | grep tag

From CVM Please share the output of below command

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

 


Hi @Sudhir9 

Output Command :

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

# Auto generated by phoenix
DEVICE=br0
NM_CONTROLLED=no
ONBOOT=yes
TYPE=OVSIntPort
DEVICETYPE=ovs
BOOTPROTO=none
IPADDR=172.29.50.245
NETMASK=255.255.255.0
GATEWAY=172.29.50.254
OVSREQUIRES=""

 


Output Command :  ovs-vsctl show

f08b4a68-abef-4d27-9d33-4b424052cf5b
    Bridge br.mx
        Port br.mx
            Interface br.mx
                type: internal
        Port "br.mx.u.br0"
            Interface "br.mx.u.br0"
                type: patch
                options: {peer="br0.local.d"}
        Port br.mx.d
            Interface br.mx.d
                type: patch
                options: {peer=br.microseg.u}
    Bridge "br0"
        Port "vnet0"
            Interface "vnet0"
        Port "vnet2"
            Interface "vnet2"
        Port "br0-dhcp"
            Interface "br0-dhcp"
                type: vxlan
                options: {key="1", remote_ip="172.29.50.246"}
        Port "br0"
            Interface "br0"
                type: internal
        Port "br0.u"
            Interface "br0.u"
                type: patch
                options: {peer="br.dmx.d.br0"}
        Port "eth0"
            Interface "eth0"
        Port "br0-arp"
            Interface "br0-arp"
                type: vxlan
                options: {key="1", remote_ip="192.168.5.2"}
    Bridge br.microseg
        Port br.microseg.u
            Interface br.microseg.u
                type: patch
                options: {peer=br.mx.d}
        Port br.microseg.d
            Interface br.microseg.d
                type: patch
                options: {peer=br.nf.u}
        Port br.microseg
            Interface br.microseg
                type: internal
    Bridge br.dmx
        Port br.dmx
            Interface br.dmx
                type: internal
        Port "br.dmx.d.br0"
            Interface "br.dmx.d.br0"
                type: patch
                options: {peer="br0.u"}
        Port br.dmx.u
            Interface br.dmx.u
                type: patch
                options: {peer=br.nf.d}
    Bridge "br0.local"
        Port "br0.local"
            Interface "br0.local"
                type: internal
        Port "br0.local.d"
            Interface "br0.local.d"
                type: patch
                options: {peer="br.mx.u.br0"}
    Bridge br.nf
        Port br.nf.d
            Interface br.nf.d
                type: patch
                options: {peer=br.dmx.u}
        Port br.nf
            Interface br.nf
                type: internal
        Port br.nf.u
            Interface br.nf.u
                type: patch
                options: {peer=br.microseg.d}
    ovs_version: "2.8.9"

 


Output command :

virsh dumpxml NTNX* | grep tag

 

error: failed to get domain 'NTNX-CVM.xml'
error: Domain not found: no domain with matching name 'NTNX-CVM.xml'


 

Output command:

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

 

# Auto generated by CentosNetworkInterfacesConfig on Sat Apr  3 14:25:22 2021

NOZEROCONF="yes"
GATEWAY="172.29.50.254"
NM_CONTROLLED="no"
NETMASK="255.255.255.0"
IPADDR="172.29.50.246"
DEVICE="eth0"
TYPE="Ethernet"
ONBOOT="yes"
BOOTPROTO="none"

 

 


Reply