We help IT Professionals succeed at work.

two default gateways in VM server

206 Views
Last Modified: 2015-09-17
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?
Comment
Watch Question

Muhammad MullaSystems Administrator

Commented:
Try a restart in between removing the NIC and re-adding it.
David SankovskySenior SysAdmin
CERTIFIED EXPERT

Commented:
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!
VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
David SankovskySenior SysAdmin
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
How do I remove hidden devices?  Do I ahve to do it from the command?
Is there somewhere I can see them before removing?

Author

Commented:
Sorry, I see the hidden devices now.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.