Can’t connect to vCenter from ACI APIC

Having a problem trying to setup your VMM domain on my APIC when trying to connect to vCenter on a different subnet using out of band management? Here’s what we’ve recently run into:


Can’t ping from APIC to vCenter IP, but you can ping from vCenter to APIC, therefore you can’t setup your VMM domain in the APIC.


By default the APIC sets up the infrastructure network (the network the leaf and spine switches use to communicate) to use the subnet. You can easily change this, but if you accept the default and happen to be using a subnet for your vCenter the APIC will not route it out of the oobmgmt interface. It tries to route out of the infrastructure interface (often called bond.xxxxx) due to the longest prefix match rule because they both start with 10.x.x.x. You can force a ping to go out the oobmgmt management by using:

ping -I oobmgmt <ip_address_of_vCenter>

This should work because you’re forcing it out the correct interface. Often times we would add a route to the routing table to force it out a certain way, but we don’t have root access on the APIC to do this. Also, this isn’t necessarily a best practices way to handle things.

The easiest way to fix this solution is to change the infrastructure IP s to something not being used.


0 thoughts on “Can’t connect to vCenter from ACI APIC”

  1. Michel van Kessel


    I had both inband and outband mgmt configured, both with a default gateway. This gave problems, because I had to route to the vCenter. After removing the inband mgmt interface on the APIC I was able to reach vCenter.

    So what is best practice here? use outband mgmt only? I cannot reach vCenter on the inband netwerk (still have no idea why)

    [email protected]:~> ip route
    default via dev bond0.801
    default via dev oobmgmt metric 16 dev oobmgmt proto kernel scope link src via dev bond0.800 src dev bond0.800 scope link src dev bond0.801 proto kernel scope link src dev bond0.801 scope link src

Leave a Comment

Your email address will not be published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top