VMware: Adding a static route to an ESX host for an extra service console

First you can add a route with putty or console:

route add -net 172.16.254.0 netmask 255.255.255.0 gw 10.20.1.222

image

After restart your route is gone, so you need to add a static route.

Add the following line to /etc/rc.local so that route is set on boot:

/sbin/route add -net 172.16.254.0 netmask 255.255.255.0 gw 10.20.1.222

image

Route settings:

image

Source: VMware KB

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has 15+ years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *