Avatar of wannabecraig
wannabecraig
Flag 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?
VMwareWindows Server 2012

Avatar of undefined
Last Comment
wannabecraig

8/22/2022 - Mon
Muhammad Mulla

Try a restart in between removing the NIC and re-adding it.
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
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
David Sankovsky

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
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?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
wannabecraig

ASKER
Sorry, I see the hidden devices now.