Solved

VMware ESXi 5.0 Static route to Windows machine

Posted on 2013-11-26
1
1,425 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
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now