Multiple default gateways warning

2

I'm a little out of my depth on this problem here. I'm getting the warning about multiple default gateways. I'm not understanding where the multiple gateways is coming from. I've gathered the following information

Results from route print enter image description here

Properties from the IP4 enter image description here

And finally a list of my connections enter image description here

Jhorra

Posted 2013-06-26T16:08:30.950

Reputation: 141

When do you get the warning? And what does ipconfig show? – ernie – 2013-06-26T16:34:37.710

I get it when clicking ok on the properties window. – Jhorra – 2013-06-26T16:51:29.567

I assume ipconfig shows multiple default gateways? And I assume you mean when you click "ok" on the properties window after manually setting some of the network properties? – ernie – 2013-06-26T16:53:39.247

Yes, sorry. Since both gateways show the same IP address should I ignore the warning? – Jhorra – 2013-06-26T16:56:53.937

Hard to answer without ipconfig /all output . . . generally, that warning isn't a big deal, unless you've got some unusual network needs (e.g. multi-home). If things are working for you, you can probably safely ignore it. – ernie – 2013-06-26T16:58:27.127

Answers

1

I solved it typing:

netsh wlan start hostednetwork
netsh wlan stop hostednetwork (actually I disabled it from the control panel, but I guess this command does the same)

My hypothesis / explanation:

hostednetwork is the wireless VIRTUAL network. Not sure why, it was configured with the same IP than the WiFi adapter. Then it was stopped (or it crashed!). Restarting it cleaned that duplicate ips problem.

Notice that any network device could have the duplicate IP. Check the manual assigned IPs of the other network devices too.

Anyway, it is just an hypotheis. But it solved the problem!

chelder

Posted 2013-06-26T16:08:30.950

Reputation: 189

0

You have a persistent route added, check Persistant routes table in the image that you placed, I do not remember exactly how to remove it but someone else added this route for you in the past with the command "route add 0.0.0.0 mask 0.0.0.0 192.168.15.1 -persistent"

Tomasillo123

Posted 2013-06-26T16:08:30.950

Reputation: 1

1This is really a comment and not an answer, though it could be helpful information. Please do some research to find how to remove the unnecessary route, then edit your answer to be a complete solution. – Ben N – 2016-01-25T16:52:13.083

-1

On two different interfaces getevey. The message should appear.

two different interfaces getevey

STTR

Posted 2013-06-26T16:08:30.950

Reputation: 6 180

When I saw that I figured because they both had the same IP I was ok, but you're saying that because there are two of them that's causing the problem? If I disable the second connection would that solve the problem? – Jhorra – 2013-06-26T16:32:20.280

This shouldn't matter . . . all this shows is that each interface can be used to get to 0.0.0.0, with a preference of the 192.168.15.134 interface since it has a lower metric. When going over that interface, the gateway 192.168.15.1 is used . . . – ernie – 2013-06-26T16:39:02.573

@Jhorra If the locks are in the settings of two different network cards, an error will occur. Either remove all gateways with network cards by default and add them as permanent routes from the command route. – STTR – 2013-06-26T16:48:46.410