can not use IP of VM after delete VM Esxi

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

mfaridi

New Member
Oct 18, 2022
2
0
1
I use ESXI 6.5 and run on it more than 45 VMs,
yesterday I delete some of the VMs and I want use their IPs for new VMs, after I create new VM and set this IP for example 192.168.90.77, I use this IP for deleted VMs,
for example I had Linux box by IP 192.168.90.77 and delete it from ESXi , and make new Linux box and set 192.168.90.77 for this new VMs, but from the outside I can not ping 192.168.90.77 and I can not SSH to 192.168.90.77. but when I log to linux box by console and change IP to 192.168.90.78 or 192.168.90.79 or something else, I can ping the new Linux box and I can SSH to linux box and use it.
I do not know what happen, I can not use IP of deleted VM for new VM, if I use IP used by deleted VM for new VM , I can not ping it and SSH to new VM.
I have two vlan on this ESXi
 

Rand__

Well-Known Member
Mar 6, 2014
6,634
1,767
113
from VMware ESXi 6.5 - ESXCLI Command Reference | virten.net
Code:
Usage: esxcli network ip neighbor list [cmd options]

Description:
  list                  List ARP table entries

Cmd options:
  -i|--interface-name=<str>
                        The name of the VMkernel network interface to limit
                        the output of this command to; if unspecified, list
                        neighbors on all interfaces.
  -N|--netstack=<str>   The network stack instance; if unspecified, use the
                        default netstack instance
  -v|--version=<str>    IP version :  [4, 6, all]



Usage: esxcli network ip neighbor remove [cmd options]

Description:
  remove                Remove ARP table entries

Cmd options:
  -i|--interface-name=<str>
                        The name of the VMkernel network interface to remove
                        the neighbor entry from. If not specified, neighbor
                        will be removed from all interfaces
  -a|--neighbor-addr=<str>
                        The IPv4/IPv6 address of the neighbor. (required)
  -N|--netstack=<str>   The network stack instance; if unspecified, use the
                        default netstack instance
  -v|--version=<str>    IP version :  [4, 6] (required)
 
  • Like
Reactions: mfaridi