You can edit a VMkernel virtual network adapter on a vSphere distributed switch to change the IP settings, such as IP address, subnet mask, default gateway, and DNS configuration. You can also select whether the virtual adapter is used for vMotion or fault tolerance logging.
Launch the vSphere Client and log in to a vCenter Server system.
- Log in to the vSphere Client and select a host in the inventory pane.
- On the host Configuration tab, click Networking.
- Select the vSphere Distributed Switch view.
- Click Manage Virtual Adapters.
- Select the VMkernel adapter to modify and click Edit.
- Under Network Connection, select vSphere Distributed Switch and Port Group or Port to add this virtual adapter to.
- Select Use this virtual adapter for vMotion to enable this port group to advertise itself to another host as the network connection that vMotion traffic should be sent through.
You can enable this property for only one vMotion and IP storage port group for each host. If this property is not enabled for any port group, migration with vMotion to this host is not possible.
- (Optional) Select Use this virtual adapter for fault tolerance logging.
- (Optional) Select Use this virtual adapter for management traffic.
- Under IP Settings, specify the IP Address and Subnet Mask, or select Obtain IP settings automatically .
- Click Edit to set the VMkernel Default Gateway for VMkernel services, such as vMotion, NAS, and iSCSI.
On the DNS Configuration tab, the name of the host appears in the name field by default. The DNS server addresses that were specified during installation are also preselected, as is the domain.
On the Routing tab, a gateway is needed for connectivity to machines not on the same IP subnet as the VMkernel.
Static IP settings is the default.
- Use the up and down arrows to set the MTU for the VMkernel adapter.
- Click OK.