Enabling the appliance to internet access using a static route.
Resolution
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.
Static route(Persistent)
Edit the file : /etc/systemd/network/10-eth0.network and add a section [Route] to the file: