Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VMware ESXi 5.0 Static route to Windows machine

Posted on 2013-11-26
1
Medium Priority
?
1,495 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

877 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