How to do it...

The following procedure will help you create a custom TCP/IP stack and configure it for use with a VMkernel interface.

  1. Connect to the ESXi host via SSH or via a server remote console access method.
  2. Use the following two-command syntax to create a custom TCP/IP stack:
# esxcli network ip netstack add -N <Custom Name of the Network Stack>

There is no GUI method to create a custom TCP/IP stack as of vSphere 6.5:

  1. Issue the following command to list the network stacks created:
# esxcli network ip netstack list
  1. Select the ESXi host from the vCenter inventory and navigate to Configure | Networking | TCP/IP configuration | Custom stacks to view the newly created custom TCP/IP stack:
  1. The next step will be to create a VMkernel interface and map it to the newly created TCP/IP stack. To learn how to create VMkernel interfaces, read the recipe Creating VMkernel interfaces on a vSphere Standard Switch:
This is an important step, because without a VMkernel interface mapped to the TCP/IP stack you will not be allowed to configure a default gateway on it.  

The stack mapping to a VMkernel interface cannot be changed after the interface has been created. If such a change is required then you will need to recreate the VMkernel interface:

  1. Now, click on the pencil icon  to edit the stack configuration:
  1. On the Edit TCP/IP Stack Configuration window, go to the DNS configuration screen and supply the DNS server IP addresses and search domains information:
  1. Go to the Routing screen and supply the VMkernel gateway address for this stack:
  1. The Advanced screen will allow you to choose a Congestion control algorithm and the Max. number of connections. However, in most cases, you are not required to modify these settings. Click OK to close the Edit TCP/IP Stack Configuration window:
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.202.167