How do you configure ESX 3.02 to work with multiple default gateways?
Posted on 2009-05-05
I am working with VMware's ESX 3.02 Servers. I have 4 in a cluster, and their respective IP's are 192.168.7.240-243, subnet mask is 255.255.255.0, and gateway is 192.168.7.5. In my environment, I have VLANs dedicated to production (192.168.7.X), and Staging (192.168.203.X and 192.168.13.X).
I am trying to get a VM Guest OS on our staging domain to work properly. I have taken a second NIC from one of the ESX Hosts, and ran the CAT 5 from the VLAN port for the 192.168.203.X network to it. When I tried to create an IP address for the NIC in the networking area I can create one for the 192.168.203.X network, however it will not let me have multiple default gateways. Trying to make it work with 192.168.203.X is not working this way.
My second attempt, I left the VLAN 203 cable in the NIC, and configured the NIC for 192.168.7.X IP, and left the default gateway 192.168.7.5. When I configured the VM on the Staging NIC, it would allow me to place it on the 192.168.203.X network; however, it will only communicate with that network. It will not ping anything on the 192.168.7.X or 192.168.13.X networks.
This is where I am stuck. I need to know how to properly configure the ESX server so that the VM will communicate with all of the networks in my datacenter. If you have any experience with this please let me know what I need to do.