Solved

VMware ESXi 5.0 Static route to Windows machine

Posted on 2013-11-26
1
1,455 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
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 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…

734 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