Solved

VMware ESXi 5.0 Static route to Windows machine

Posted on 2013-11-26
1
1,428 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
policy routing to fw2 18 53
VMware 6.0 second VCenter question 3 27
nexus filter logs 3 29
Backup and Restore VCenter Linux Appliance methods and scenario best practice ? 4 35
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
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…

863 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

25 Experts available now in Live!

Get 1:1 Help Now