To configure Serial Port Communication over Network between two virtual machines, launch the vCenter Server and complete these steps:
Note: ESXi host must be licensed for Enterprise or above.
- Ensure the virtual machine is powered off.
- Right-click the virtual machine and select Edit Settings.
- On the Hardware tab, click Add.
- Select Serial Port and click Next.
- Click Connect via Network
- Click Server.
- In the Port URI field, enter the Uniform Resource Identifier (URI) with the format:
protocol://host:port
For example:
tcp://xxx.xxx.xxx.xxx:5480
where
host is the ESX/ESXi host name or IP address.
port is any unused port on the ESX/ESXi host.
protocol is the protocol used for the connection. It can be:
- tcp - an unencrypted TCP connection (IPv4 or IPv6)
- tcp4 - an unencrypted TCP connection (IPv4 only)
- tcp6 - an unencrypted TCP connection (IPv6 only)
- ssl - the equivalent of tcp+ssl
- tcp+ssl - encrypted SSL over TCP
- tcp4+ssl - SSL over TCP over IPv4
- tcp6+ssl - SSL over TCP over IPv6
- telnet telnet over TCP. The virtual machine and remote system can negotiate and use SSL if the remote system supports the telnet authentication option. If not, the connection uses unencrypted text (plain text)
- telnets telnet over SSL over TCP. In this case, SSL negotiation begins immediately and you cannot use the telnet authentication option.
- Repeat the later steps for the second virtual machine. When you reach the Connect via Network screen, choose Client for the virtual machine.
Note: If the virtual serial port is configured to a direct URI on the ESXi/ESX host, a vMotion of this virtual machine fails.