Hi everyone,
I have a weird one, I have a couple of custom VM stacks duplicated on three physical hosts.
I am now seeing an entry in the IPv4 Routing Table in vSphere Web Client for one of those custom stacks. It is an entry I do not recall ever having set as a static route.
Not only is it very specific (a /32 prefix length) but the Gateway is outside the Network Address range i.e. network address is in the 192.168.x.x class but the gateway is in the 10.x.x.x class. This is not a configuration I have ever used.
I have tried to remove it using esxcli
esxcli network ip route ipv4 remove -N "netstack" -n 192.168.x.x/32 -g 10.x.x.x (I am using the full IP address but have obscured the actual IP for security reasons)
and even if I specify the -N "netstack instance name" option it says unable to find route 192.168.x.x/32 with gateway 10.x.x.x
If I attempt to list the IP Route Table of the specific vmk using esxcli network ip route ipv4 list -N "netstack name" it does not show the new route I am seeing in vSphere only the specific routes I configured manually when I created them.
What worries me is that it is a route to the VPN interface of our firewall and I do not ever recall seeing it before or entering it as an static route. I have read that ICMP redirects can add static routes that cannot be removed.
Internet Control Management Protocol Redirects (broadcom.com)
Any advice on this matter would be greatly appreciated.
@Casey
can't seem to reply to you or use the @ mention as you don't appear on the list. Hence editing this post.
Really appreciate you coming back to me on this with such helpful and specific recommendations. I will check again to be sure but the first command you are suggesting I believe does not return the suspicious route, it only shows in the vSphere GUI. Your step number 4 "If the route doesn't appear in your manual checks but is visible in the vSphere Client, try to remove it by specifying the netstack again"
I have tried and it still can't find it. I am going to try again this afternoon as the logs you mention might help me track this down. :)