new1234.jpg
Home > VMware > VMware: Adding multiple gateways to Service Console network (1008464)

VMware: Adding multiple gateways to Service Console network (1008464)

The following scenario describes requirements for multiple subnets:

  • You have separate subnets and for each subnet there is service console.
  • You use each subnet for file copying or other purposes.
  • The network consists of three subnets. Each subnet has its own gateway.   
        For example, VMware Converter can access ESX to store newly converted virtual machines.

If routes are added in rc.local as per Adding static route to ESX host for extra Service Console when service network restart is executed, all added routes disappear.

To create a route file for multiple subnets on the service console network TCP/IP stack:

1. Log in to the ESX host command line as root.

2. Run the following command to generate and edit the route file:
nano /etc/sysconfig/network-scripts/ route-vswifX
Where X represent interface number.

3. Input the entries as per the following sample:
GATEWAY0=10.21.51.1
NETMASK0=255.255.255.0
ADDRESS0=192.168.55.0
GATEWAY1=10.21.51.2
NETMASK1=255.255.255.0
ADDRESS1=192.168.50.0
GATEWAY2=10.21.51.3
NETMASK2=255.255.255.0
ADDRESS2=10.10.40.0

4. If gateway does not provide proper connectivity as expected, replace GATEWAY X with GATEWAY X=0.0.0.0.

Restart the network and new routes are added.

Check out the complete knowledge base article after the jump

Source: 1008464
Categories: VMware Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.