A non-transitory computer readable storage medium, including instructions stored thereon for supporting SMP-based connectivity checks across virtual router ports in a high performance computing environment, which when read and executed by one or more computers cause the one or more computers to perform steps comprising:
- providing, one or more computers include a microprocessor;
- providing a first subnet, the first subnet comprising
- a switch of the first subnet comprising a plurality of switch ports and a subnet management agent (SMA) of the first subnet, wherein a switch port of the switch of the first subnet is configured as a router port of the first subnet,
- a plurality of host channel adapters of the first subnet, each host channel adapter comprising at least one host channel adapter port, and
- a subnet manager of the first subnet;
- and
- providing a second subnet, the second subnet comprising
- a switch of the second subnet comprising a plurality of switch ports, wherein a switch port of the switch of the second subnet is configured as a router port of the second subnet;
- interconnecting the first subnet with the second subnet via the router port of the first subnet;
- sending, by the subnet manager of the first subnet, a first request packet to the router port of the first subnet;
- creating, by a SMA of the first subnet operating as a proxy, a new request packet, and
- forwarding, by the SMA of the first subnet operating as the proxy, the new request packet to the second subnet.