Network is unreachable

Symptom

User receives a "network is unreachable" message on sending a ping request.

Cause

The ping packet did not get sent, because the switch cannot find an interface with a route that leads to the destination for one of the following reasons:
  • A configuration error, such as an interface having an incorrect IP address or subnet defined.

  • DHCP having failed to assign an address at all.

  • The user meant to ping out the management vrf, but forgot to add vrf mgmt to the ping command.

Action

Adjust the switch configuration to ensure that a route to the destination network exists.