Creating custom VMkernel TCP/IP stacks
A VMkernel includes more than one TCP/IP stack. There are three system stacks—VMotion, provisioning, and default. However, you are also allowed to create custom TCP/IP stacks. In this recipe, we will learn how to set up and use custom TCP/IP stacks.
Getting ready
To be able to create custom TCP/IP stacks you need the following data handy:
- Name of the TCP/IP stack
- DNS addresses
- Gateway address of the subnet the TCP/IP stack will be a part of. You will only be able to set a default gateway address after you map a VMkernel interface to the custom stack.
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.
- Connect to the ESXi host via SSH or via a server remote console access method.
- 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...