VMware vCenter Server 8.0VMware vCenter Server 7.0VMware vCenter Server
Issue/Introduction
Enabling the appliance to internet access using a static route.
Environment
VMware vCenter Server 7.x
VMware vCenter Server 8.x
Resolution
NOTE: Ensure to take a no memory snapshot of the vCenter server if it is standalone or powered off snapshot of the vCenter server if they are in linked mode.
Static route(Not persistent)
Login to the vCenter Server using SSH and use below commands to add routing: route add -net <TargetNetwork> netmask <NetmaskAddress> gw <GatewayAddress> dev <interface> Example: route add -net 192.168.x.x netmask 255.255.0.0 gw 10.20.x.x dev eth0
Note: After adding the route using the above command, it will be not persistent and can be deleted from the routing table post the VCSA reboot. To make it persistent, please follow Static route(Persistent) steps below.