Solved

VMware ESXi 5.0 Static route to Windows machine

Posted on 2013-11-26
1
1,448 Views
Last Modified: 2013-12-02
I have temporarily moved a Windows server with Veeam from one location to another. The two locations have different subnets. In Windows I am able to add a static route using the Windows host IP as the gateway.

i.e. route add 10.1.20.0 mask 255.255.255.0 10.2.20.15

Then on the other Veeam transport Windows server and the DC I add a static route to the temporarily moved server.

i.e. route add 10.2.20.15 mask 255.255.255.255 10.1.20.101

This works great, but Veeam needs to communicate with our VMware host. I have tried adding a similar routing statement in ESXi, but it will not work.

Tried: esxcfg-route -a 10.2.20.15 255.255.255.255 10.1.20.108

Is VMware able to route through its own adapter like Windows can? How would I setup routing so that I do not have to change the IP of the Windows server that is temporarily moved here?
0
Comment
Question by:obarnett
1 Comment
 
LVL 23

Accepted Solution

by:
Mysidia earned 500 total points
ID: 39679868
Sorry,  the scenario you are trying to configure on ESXi is not supported by ESXi.
You can use the "esxcfg-route"  command to create a static  Network route.

ESXi does not properly support host routes or overlapping static routes;   the static routes you add are for networks only, not hosts,  and  routing in ESXi,  may be unpredictable if you have overlapping static entries  (multiple route entries that match an IP address).

(ESXi static route config also does not support selecting a specific outgoing interface, or source IP,  for a gateway address,  if  you  have multiple  VMkernel ports on the same subnet).


I recommend you handle this on a router attached to the LAN;   the routing could be achieved using a Proxy ARP server  (ip proxy-arp) on the interface,   or   Local-Area Mobility  features of Cisco IOS.

See; "ip arp mobile" https://supportforums.cisco.com/thread/10043


If there  is another host, say a Linux system on the LAN with two NICs capable of routing to the moved server's IP,  you could also create a static  PUB  (published) ARP entry, for the server's IP address,  with  the  subnet's  default gateway, as the published MAC address.


arp  -s  (IP)   (Hardware address)   netmask 255.255.255.255 pub

after accordingly issuing
sysctl net.ipv4.conf.ethXXX.proxy_arp = 1
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question