Link to home
Get AccessLog in
Avatar of wannabecraig
wannabecraigFlag for Ireland

asked on

two default gateways in VM server

I've set up a 2012 server on ESX 5.5. Initially it had a E100 intel adapter on it but I change it to a VMXnet3. Since then it shows two default gateways.  the first is 0.0.0.0 and the second it the correct one.  I've removed and added the card again but the same happens.

I've taken he DG IP out and it still shows 0.0.0.0.  How can I get rid of this extra DG?
Avatar of Muhammad Mulla
Muhammad Mulla
Flag of United Kingdom of Great Britain and Northern Ireland image

Try a restart in between removing the NIC and re-adding it.
Avatar of David Sankovsky
you can use the route delete command.

for example, if my route list looked like this:

Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0          0.0.0.0         10.7.0.1  Default
          0.0.0.0          0.0.0.0          192.168.71.28  Default

And I'd want to delete the 2nd route, I'd start CMD as an admministrator (With elevated permissions)

and then type route delete 0.0.0.0 mask 0.0.0.0 192.168.71.28

Hope that helps!
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This content is only available to members.
To access this content, you must be a member of Experts Exchange.
Get Access
SOLUTION
Link to home
membership
This content is only available to members.
To access this content, you must be a member of Experts Exchange.
Get Access
Avatar of wannabecraig

ASKER

How do I remove hidden devices?  Do I ahve to do it from the command?
Is there somewhere I can see them before removing?
Sorry, I see the hidden devices now.