To configure vMotion using TCP/IPv4, you must perform two tasks:
- Remove any configured static routes from the hosts.
- Configure the vMotion network stack to use TCP/IPv4.
- Configure the default gateway if the vMotion traffic is being routed.
Remove Configured Static Routes
To remove configured static routes, from the vCLI, use vicfg-route connection_options --del subnet gateway to remove the static routes from each host.
Where:
- connection_options is used to specify a variety of connection options. For more information, see Getting Started with vSphere Command-Line Interfaces.
- Use subnet and gateway to specify the subnet and the gateway, respectively. For example, to remove the subnet 192.168.100.0/24 using gateway 192.168.0.1 from the host host.example.com, use vicfg-route --server=host.example.com --del 102.168.100.0/24 192.168.0.1.
Configure the vMotion Network Stack
To configure the vMotion network stack using the vSphere Web Client:
- Select the host in the vSphere Web Client inventory.
- On the Manage tab, click Networking.
- Select Virtual Switches.
- Click the Add host networking ( ) icon.
- Select VMkernel Network Adapter and click Next.
- Select New standard switch and click Next.
- Select Active Adapters and click the plus icon to add a new adapter.
- Select a vmnic and click OK.
- Click Next.
- From the TCP/IP stack dropdown, select vMotion and click Next.
- On the IPv4 settings page, configure the IPv4 settings and click Next.
- Review the settings and click Finish.
A new vMotion TCP/IP stack is created.
Configure The Default Gateway
To ensure that a gateway is configured for the new stack:
- Select the host in the vSphere Web Client Inventory.
- On the Manage tab, click Networking.
- Click TCP/IP configuration.
- Under TCP/IP Stacks, select vMotion.
- To edit the stack configuration, click the pencil icon.
- Click Routing, and enter the gateway address. You must set the gateway when the VMkernel adapter has a static IP address to avoid problems with routing.
Additional Information
For translated versions of this article, see: