Windows 7 Set metric to use 2 different network interfaces at the same time
up vote
1
down vote
favorite
I'm looking for a way to use at the same time wired and wireless interfaces.
My situation:
- 1 Gbit ethernet interface (10.100.x.x)
- 1 WiFi 802.11 b/g/n interface (192.168.x.x)
- The PC is part of a domain (10.100.x.x) and I logon using a LDAP user.
I want to use the Ethernet interface to connect to the domain and navigate through LAN, but every time I need to access the internet, I want to use the WiFi.
The Ethernet interface is configured for the domain, so there's a DHCP that assigns every setting, from PC IP address to default gateway IP and DNS.
I tried almost everything...
- "Advanced settings" on "Network Connection Panel" to change the
interfaces order. - Route table to adjust interfaces and gateways metrics.
- "Network Adapter Advanced Settings" to uncheck the automatic metric
and set a manual value.
When both my interfaces are activated this is my Route table
:
IPv4 Tabella route
===========================================================================
Route attive:
Indirizzo rete Mask Gateway Interfaccia Metrica
0.0.0.0 0.0.0.0 10.100.1.1 10.100.1.55 276
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.208 281
10.100.1.0 255.255.255.0 On-link 10.100.1.55 276
10.100.1.55 255.255.255.255 On-link 10.100.1.55 276
10.100.1.255 255.255.255.255 On-link 10.100.1.55 276
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.10.0 255.255.255.0 On-link 192.168.10.208 281
192.168.10.208 255.255.255.255 On-link 192.168.10.208 281
192.168.10.255 255.255.255.255 On-link 192.168.10.208 281
192.168.184.0 255.255.255.0 On-link 192.168.184.1 276
192.168.184.1 255.255.255.255 On-link 192.168.184.1 276
192.168.184.255 255.255.255.255 On-link 192.168.184.1 276
192.168.222.0 255.255.255.0 On-link 192.168.222.1 276
192.168.222.1 255.255.255.255 On-link 192.168.222.1 276
192.168.222.255 255.255.255.255 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 192.168.184.1 276
224.0.0.0 240.0.0.0 On-link 10.100.1.55 276
224.0.0.0 240.0.0.0 On-link 192.168.10.208 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.222.1 276
255.255.255.255 255.255.255.255 On-link 192.168.184.1 276
255.255.255.255 255.255.255.255 On-link 10.100.1.55 276
255.255.255.255 255.255.255.255 On-link 192.168.10.208 281
===========================================================================
Route permanenti:
Nessuna
The best I was able to obtain was to set a manual metric value to the Ethernet interface so the metric of gateway increased till a value greater than the WiFi gateway. This way lead me to gain access to the Internet by the WiFi gateway (as I wanted) BUT I loose my network connections access so I cannot access my domain resources (server, shares, printers...).
Using the procedure described above I finally have this Route table
:
IPv4 Tabella route
===========================================================================
Route attive:
Indirizzo rete Mask Gateway Interfaccia Metrica
0.0.0.0 0.0.0.0 10.100.1.1 10.100.1.55 356
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.208 281
10.100.1.0 255.255.255.0 On-link 10.100.1.55 356
10.100.1.55 255.255.255.255 On-link 10.100.1.55 356
10.100.1.255 255.255.255.255 On-link 10.100.1.55 356
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.10.0 255.255.255.0 On-link 192.168.10.208 281
192.168.10.208 255.255.255.255 On-link 192.168.10.208 281
192.168.10.255 255.255.255.255 On-link 192.168.10.208 281
192.168.184.0 255.255.255.0 On-link 192.168.184.1 276
192.168.184.1 255.255.255.255 On-link 192.168.184.1 276
192.168.184.255 255.255.255.255 On-link 192.168.184.1 276
192.168.222.0 255.255.255.0 On-link 192.168.222.1 276
192.168.222.1 255.255.255.255 On-link 192.168.222.1 276
192.168.222.255 255.255.255.255 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 192.168.184.1 276
224.0.0.0 240.0.0.0 On-link 10.100.1.55 356
224.0.0.0 240.0.0.0 On-link 192.168.10.208 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.222.1 276
255.255.255.255 255.255.255.255 On-link 192.168.184.1 276
255.255.255.255 255.255.255.255 On-link 10.100.1.55 356
255.255.255.255 255.255.255.255 On-link 192.168.10.208 281
===========================================================================
Route permanenti:
Nessuna
Here the WiFi gateway (192.168.x.x) has lower metrics than ethernet one, so I can go to the WAN with that but I cannot access my network resources anymore.
It seems that with that route table, every LAN connection tries to pass through WiFi interface.
I tried to change and delete the 0.0.0.0 0.0.0.0 10.100.1.1 10.100.1.55 276
route but nothing appened...
windows-7 networking wireless-networking lan routing
add a comment |
up vote
1
down vote
favorite
I'm looking for a way to use at the same time wired and wireless interfaces.
My situation:
- 1 Gbit ethernet interface (10.100.x.x)
- 1 WiFi 802.11 b/g/n interface (192.168.x.x)
- The PC is part of a domain (10.100.x.x) and I logon using a LDAP user.
I want to use the Ethernet interface to connect to the domain and navigate through LAN, but every time I need to access the internet, I want to use the WiFi.
The Ethernet interface is configured for the domain, so there's a DHCP that assigns every setting, from PC IP address to default gateway IP and DNS.
I tried almost everything...
- "Advanced settings" on "Network Connection Panel" to change the
interfaces order. - Route table to adjust interfaces and gateways metrics.
- "Network Adapter Advanced Settings" to uncheck the automatic metric
and set a manual value.
When both my interfaces are activated this is my Route table
:
IPv4 Tabella route
===========================================================================
Route attive:
Indirizzo rete Mask Gateway Interfaccia Metrica
0.0.0.0 0.0.0.0 10.100.1.1 10.100.1.55 276
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.208 281
10.100.1.0 255.255.255.0 On-link 10.100.1.55 276
10.100.1.55 255.255.255.255 On-link 10.100.1.55 276
10.100.1.255 255.255.255.255 On-link 10.100.1.55 276
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.10.0 255.255.255.0 On-link 192.168.10.208 281
192.168.10.208 255.255.255.255 On-link 192.168.10.208 281
192.168.10.255 255.255.255.255 On-link 192.168.10.208 281
192.168.184.0 255.255.255.0 On-link 192.168.184.1 276
192.168.184.1 255.255.255.255 On-link 192.168.184.1 276
192.168.184.255 255.255.255.255 On-link 192.168.184.1 276
192.168.222.0 255.255.255.0 On-link 192.168.222.1 276
192.168.222.1 255.255.255.255 On-link 192.168.222.1 276
192.168.222.255 255.255.255.255 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 192.168.184.1 276
224.0.0.0 240.0.0.0 On-link 10.100.1.55 276
224.0.0.0 240.0.0.0 On-link 192.168.10.208 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.222.1 276
255.255.255.255 255.255.255.255 On-link 192.168.184.1 276
255.255.255.255 255.255.255.255 On-link 10.100.1.55 276
255.255.255.255 255.255.255.255 On-link 192.168.10.208 281
===========================================================================
Route permanenti:
Nessuna
The best I was able to obtain was to set a manual metric value to the Ethernet interface so the metric of gateway increased till a value greater than the WiFi gateway. This way lead me to gain access to the Internet by the WiFi gateway (as I wanted) BUT I loose my network connections access so I cannot access my domain resources (server, shares, printers...).
Using the procedure described above I finally have this Route table
:
IPv4 Tabella route
===========================================================================
Route attive:
Indirizzo rete Mask Gateway Interfaccia Metrica
0.0.0.0 0.0.0.0 10.100.1.1 10.100.1.55 356
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.208 281
10.100.1.0 255.255.255.0 On-link 10.100.1.55 356
10.100.1.55 255.255.255.255 On-link 10.100.1.55 356
10.100.1.255 255.255.255.255 On-link 10.100.1.55 356
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.10.0 255.255.255.0 On-link 192.168.10.208 281
192.168.10.208 255.255.255.255 On-link 192.168.10.208 281
192.168.10.255 255.255.255.255 On-link 192.168.10.208 281
192.168.184.0 255.255.255.0 On-link 192.168.184.1 276
192.168.184.1 255.255.255.255 On-link 192.168.184.1 276
192.168.184.255 255.255.255.255 On-link 192.168.184.1 276
192.168.222.0 255.255.255.0 On-link 192.168.222.1 276
192.168.222.1 255.255.255.255 On-link 192.168.222.1 276
192.168.222.255 255.255.255.255 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 192.168.184.1 276
224.0.0.0 240.0.0.0 On-link 10.100.1.55 356
224.0.0.0 240.0.0.0 On-link 192.168.10.208 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.222.1 276
255.255.255.255 255.255.255.255 On-link 192.168.184.1 276
255.255.255.255 255.255.255.255 On-link 10.100.1.55 356
255.255.255.255 255.255.255.255 On-link 192.168.10.208 281
===========================================================================
Route permanenti:
Nessuna
Here the WiFi gateway (192.168.x.x) has lower metrics than ethernet one, so I can go to the WAN with that but I cannot access my network resources anymore.
It seems that with that route table, every LAN connection tries to pass through WiFi interface.
I tried to change and delete the 0.0.0.0 0.0.0.0 10.100.1.1 10.100.1.55 276
route but nothing appened...
windows-7 networking wireless-networking lan routing
1
Why are you trying to use metrics? Why not set a route to (10.100.x.x/16) via the wired NIC and the only default gateway via wireless?
– Hennes
Aug 6 '16 at 12:39
Regarding dual network setup, (one for Internet, one for corporate/work), also see this question: superuser.com/questions/450493/…. (Same network principles apply to windows as well).
– Hennes
Aug 6 '17 at 11:14
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm looking for a way to use at the same time wired and wireless interfaces.
My situation:
- 1 Gbit ethernet interface (10.100.x.x)
- 1 WiFi 802.11 b/g/n interface (192.168.x.x)
- The PC is part of a domain (10.100.x.x) and I logon using a LDAP user.
I want to use the Ethernet interface to connect to the domain and navigate through LAN, but every time I need to access the internet, I want to use the WiFi.
The Ethernet interface is configured for the domain, so there's a DHCP that assigns every setting, from PC IP address to default gateway IP and DNS.
I tried almost everything...
- "Advanced settings" on "Network Connection Panel" to change the
interfaces order. - Route table to adjust interfaces and gateways metrics.
- "Network Adapter Advanced Settings" to uncheck the automatic metric
and set a manual value.
When both my interfaces are activated this is my Route table
:
IPv4 Tabella route
===========================================================================
Route attive:
Indirizzo rete Mask Gateway Interfaccia Metrica
0.0.0.0 0.0.0.0 10.100.1.1 10.100.1.55 276
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.208 281
10.100.1.0 255.255.255.0 On-link 10.100.1.55 276
10.100.1.55 255.255.255.255 On-link 10.100.1.55 276
10.100.1.255 255.255.255.255 On-link 10.100.1.55 276
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.10.0 255.255.255.0 On-link 192.168.10.208 281
192.168.10.208 255.255.255.255 On-link 192.168.10.208 281
192.168.10.255 255.255.255.255 On-link 192.168.10.208 281
192.168.184.0 255.255.255.0 On-link 192.168.184.1 276
192.168.184.1 255.255.255.255 On-link 192.168.184.1 276
192.168.184.255 255.255.255.255 On-link 192.168.184.1 276
192.168.222.0 255.255.255.0 On-link 192.168.222.1 276
192.168.222.1 255.255.255.255 On-link 192.168.222.1 276
192.168.222.255 255.255.255.255 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 192.168.184.1 276
224.0.0.0 240.0.0.0 On-link 10.100.1.55 276
224.0.0.0 240.0.0.0 On-link 192.168.10.208 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.222.1 276
255.255.255.255 255.255.255.255 On-link 192.168.184.1 276
255.255.255.255 255.255.255.255 On-link 10.100.1.55 276
255.255.255.255 255.255.255.255 On-link 192.168.10.208 281
===========================================================================
Route permanenti:
Nessuna
The best I was able to obtain was to set a manual metric value to the Ethernet interface so the metric of gateway increased till a value greater than the WiFi gateway. This way lead me to gain access to the Internet by the WiFi gateway (as I wanted) BUT I loose my network connections access so I cannot access my domain resources (server, shares, printers...).
Using the procedure described above I finally have this Route table
:
IPv4 Tabella route
===========================================================================
Route attive:
Indirizzo rete Mask Gateway Interfaccia Metrica
0.0.0.0 0.0.0.0 10.100.1.1 10.100.1.55 356
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.208 281
10.100.1.0 255.255.255.0 On-link 10.100.1.55 356
10.100.1.55 255.255.255.255 On-link 10.100.1.55 356
10.100.1.255 255.255.255.255 On-link 10.100.1.55 356
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.10.0 255.255.255.0 On-link 192.168.10.208 281
192.168.10.208 255.255.255.255 On-link 192.168.10.208 281
192.168.10.255 255.255.255.255 On-link 192.168.10.208 281
192.168.184.0 255.255.255.0 On-link 192.168.184.1 276
192.168.184.1 255.255.255.255 On-link 192.168.184.1 276
192.168.184.255 255.255.255.255 On-link 192.168.184.1 276
192.168.222.0 255.255.255.0 On-link 192.168.222.1 276
192.168.222.1 255.255.255.255 On-link 192.168.222.1 276
192.168.222.255 255.255.255.255 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 192.168.184.1 276
224.0.0.0 240.0.0.0 On-link 10.100.1.55 356
224.0.0.0 240.0.0.0 On-link 192.168.10.208 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.222.1 276
255.255.255.255 255.255.255.255 On-link 192.168.184.1 276
255.255.255.255 255.255.255.255 On-link 10.100.1.55 356
255.255.255.255 255.255.255.255 On-link 192.168.10.208 281
===========================================================================
Route permanenti:
Nessuna
Here the WiFi gateway (192.168.x.x) has lower metrics than ethernet one, so I can go to the WAN with that but I cannot access my network resources anymore.
It seems that with that route table, every LAN connection tries to pass through WiFi interface.
I tried to change and delete the 0.0.0.0 0.0.0.0 10.100.1.1 10.100.1.55 276
route but nothing appened...
windows-7 networking wireless-networking lan routing
I'm looking for a way to use at the same time wired and wireless interfaces.
My situation:
- 1 Gbit ethernet interface (10.100.x.x)
- 1 WiFi 802.11 b/g/n interface (192.168.x.x)
- The PC is part of a domain (10.100.x.x) and I logon using a LDAP user.
I want to use the Ethernet interface to connect to the domain and navigate through LAN, but every time I need to access the internet, I want to use the WiFi.
The Ethernet interface is configured for the domain, so there's a DHCP that assigns every setting, from PC IP address to default gateway IP and DNS.
I tried almost everything...
- "Advanced settings" on "Network Connection Panel" to change the
interfaces order. - Route table to adjust interfaces and gateways metrics.
- "Network Adapter Advanced Settings" to uncheck the automatic metric
and set a manual value.
When both my interfaces are activated this is my Route table
:
IPv4 Tabella route
===========================================================================
Route attive:
Indirizzo rete Mask Gateway Interfaccia Metrica
0.0.0.0 0.0.0.0 10.100.1.1 10.100.1.55 276
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.208 281
10.100.1.0 255.255.255.0 On-link 10.100.1.55 276
10.100.1.55 255.255.255.255 On-link 10.100.1.55 276
10.100.1.255 255.255.255.255 On-link 10.100.1.55 276
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.10.0 255.255.255.0 On-link 192.168.10.208 281
192.168.10.208 255.255.255.255 On-link 192.168.10.208 281
192.168.10.255 255.255.255.255 On-link 192.168.10.208 281
192.168.184.0 255.255.255.0 On-link 192.168.184.1 276
192.168.184.1 255.255.255.255 On-link 192.168.184.1 276
192.168.184.255 255.255.255.255 On-link 192.168.184.1 276
192.168.222.0 255.255.255.0 On-link 192.168.222.1 276
192.168.222.1 255.255.255.255 On-link 192.168.222.1 276
192.168.222.255 255.255.255.255 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 192.168.184.1 276
224.0.0.0 240.0.0.0 On-link 10.100.1.55 276
224.0.0.0 240.0.0.0 On-link 192.168.10.208 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.222.1 276
255.255.255.255 255.255.255.255 On-link 192.168.184.1 276
255.255.255.255 255.255.255.255 On-link 10.100.1.55 276
255.255.255.255 255.255.255.255 On-link 192.168.10.208 281
===========================================================================
Route permanenti:
Nessuna
The best I was able to obtain was to set a manual metric value to the Ethernet interface so the metric of gateway increased till a value greater than the WiFi gateway. This way lead me to gain access to the Internet by the WiFi gateway (as I wanted) BUT I loose my network connections access so I cannot access my domain resources (server, shares, printers...).
Using the procedure described above I finally have this Route table
:
IPv4 Tabella route
===========================================================================
Route attive:
Indirizzo rete Mask Gateway Interfaccia Metrica
0.0.0.0 0.0.0.0 10.100.1.1 10.100.1.55 356
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.208 281
10.100.1.0 255.255.255.0 On-link 10.100.1.55 356
10.100.1.55 255.255.255.255 On-link 10.100.1.55 356
10.100.1.255 255.255.255.255 On-link 10.100.1.55 356
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.10.0 255.255.255.0 On-link 192.168.10.208 281
192.168.10.208 255.255.255.255 On-link 192.168.10.208 281
192.168.10.255 255.255.255.255 On-link 192.168.10.208 281
192.168.184.0 255.255.255.0 On-link 192.168.184.1 276
192.168.184.1 255.255.255.255 On-link 192.168.184.1 276
192.168.184.255 255.255.255.255 On-link 192.168.184.1 276
192.168.222.0 255.255.255.0 On-link 192.168.222.1 276
192.168.222.1 255.255.255.255 On-link 192.168.222.1 276
192.168.222.255 255.255.255.255 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.222.1 276
224.0.0.0 240.0.0.0 On-link 192.168.184.1 276
224.0.0.0 240.0.0.0 On-link 10.100.1.55 356
224.0.0.0 240.0.0.0 On-link 192.168.10.208 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.222.1 276
255.255.255.255 255.255.255.255 On-link 192.168.184.1 276
255.255.255.255 255.255.255.255 On-link 10.100.1.55 356
255.255.255.255 255.255.255.255 On-link 192.168.10.208 281
===========================================================================
Route permanenti:
Nessuna
Here the WiFi gateway (192.168.x.x) has lower metrics than ethernet one, so I can go to the WAN with that but I cannot access my network resources anymore.
It seems that with that route table, every LAN connection tries to pass through WiFi interface.
I tried to change and delete the 0.0.0.0 0.0.0.0 10.100.1.1 10.100.1.55 276
route but nothing appened...
windows-7 networking wireless-networking lan routing
windows-7 networking wireless-networking lan routing
edited Jul 3 '17 at 10:12
Arghavan
1193
1193
asked Jul 17 '13 at 15:23
Cheshire Cat
10614
10614
1
Why are you trying to use metrics? Why not set a route to (10.100.x.x/16) via the wired NIC and the only default gateway via wireless?
– Hennes
Aug 6 '16 at 12:39
Regarding dual network setup, (one for Internet, one for corporate/work), also see this question: superuser.com/questions/450493/…. (Same network principles apply to windows as well).
– Hennes
Aug 6 '17 at 11:14
add a comment |
1
Why are you trying to use metrics? Why not set a route to (10.100.x.x/16) via the wired NIC and the only default gateway via wireless?
– Hennes
Aug 6 '16 at 12:39
Regarding dual network setup, (one for Internet, one for corporate/work), also see this question: superuser.com/questions/450493/…. (Same network principles apply to windows as well).
– Hennes
Aug 6 '17 at 11:14
1
1
Why are you trying to use metrics? Why not set a route to (10.100.x.x/16) via the wired NIC and the only default gateway via wireless?
– Hennes
Aug 6 '16 at 12:39
Why are you trying to use metrics? Why not set a route to (10.100.x.x/16) via the wired NIC and the only default gateway via wireless?
– Hennes
Aug 6 '16 at 12:39
Regarding dual network setup, (one for Internet, one for corporate/work), also see this question: superuser.com/questions/450493/…. (Same network principles apply to windows as well).
– Hennes
Aug 6 '17 at 11:14
Regarding dual network setup, (one for Internet, one for corporate/work), also see this question: superuser.com/questions/450493/…. (Same network principles apply to windows as well).
– Hennes
Aug 6 '17 at 11:14
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Try these two commands:
route delete 0.0.0.0 10.100.1.1
route add 10.0.0.0 mask 255.0.0.0 10.100.1.1
If that works, put them in a batch file in your StartUp folder to automatically run every time you log in. This should do the job.
There's noroute 0.0.0.0 10.0.0.0
in my route tables, but I think you probably meanroute delete 0.0.0.0 10.100.1.1
... anyway I already tried to delete that route and add the other you suggest but it didn't work.
– Cheshire Cat
Jul 18 '13 at 5:59
When you say "it didn't work", what do you mean? Did you get an error message from the correctly-specifiedroute delete
command? Did the routing table change in any way as a result?
– Monty Harder
Jul 19 '13 at 19:20
The routing table has changed according to my commands but when I open the browser and try to go to WAN (any website) I'm asked to connect to the domain proxy server with my user/pwd, so I understand that the traffic is going out through my 10.100.x.x ethernet. I already checked the browser Internet Options and there's nothing wrong, indeed if I disable the 10.10.x.x ethernet interface and try to go out with the same browser and the same configuration, it works and the traffic go out with 192.160.x.x WiFi interface without asking proxy authentication.
– Cheshire Cat
Jul 23 '13 at 13:09
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f620943%2fwindows-7-set-metric-to-use-2-different-network-interfaces-at-the-same-time%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Try these two commands:
route delete 0.0.0.0 10.100.1.1
route add 10.0.0.0 mask 255.0.0.0 10.100.1.1
If that works, put them in a batch file in your StartUp folder to automatically run every time you log in. This should do the job.
There's noroute 0.0.0.0 10.0.0.0
in my route tables, but I think you probably meanroute delete 0.0.0.0 10.100.1.1
... anyway I already tried to delete that route and add the other you suggest but it didn't work.
– Cheshire Cat
Jul 18 '13 at 5:59
When you say "it didn't work", what do you mean? Did you get an error message from the correctly-specifiedroute delete
command? Did the routing table change in any way as a result?
– Monty Harder
Jul 19 '13 at 19:20
The routing table has changed according to my commands but when I open the browser and try to go to WAN (any website) I'm asked to connect to the domain proxy server with my user/pwd, so I understand that the traffic is going out through my 10.100.x.x ethernet. I already checked the browser Internet Options and there's nothing wrong, indeed if I disable the 10.10.x.x ethernet interface and try to go out with the same browser and the same configuration, it works and the traffic go out with 192.160.x.x WiFi interface without asking proxy authentication.
– Cheshire Cat
Jul 23 '13 at 13:09
add a comment |
up vote
0
down vote
Try these two commands:
route delete 0.0.0.0 10.100.1.1
route add 10.0.0.0 mask 255.0.0.0 10.100.1.1
If that works, put them in a batch file in your StartUp folder to automatically run every time you log in. This should do the job.
There's noroute 0.0.0.0 10.0.0.0
in my route tables, but I think you probably meanroute delete 0.0.0.0 10.100.1.1
... anyway I already tried to delete that route and add the other you suggest but it didn't work.
– Cheshire Cat
Jul 18 '13 at 5:59
When you say "it didn't work", what do you mean? Did you get an error message from the correctly-specifiedroute delete
command? Did the routing table change in any way as a result?
– Monty Harder
Jul 19 '13 at 19:20
The routing table has changed according to my commands but when I open the browser and try to go to WAN (any website) I'm asked to connect to the domain proxy server with my user/pwd, so I understand that the traffic is going out through my 10.100.x.x ethernet. I already checked the browser Internet Options and there's nothing wrong, indeed if I disable the 10.10.x.x ethernet interface and try to go out with the same browser and the same configuration, it works and the traffic go out with 192.160.x.x WiFi interface without asking proxy authentication.
– Cheshire Cat
Jul 23 '13 at 13:09
add a comment |
up vote
0
down vote
up vote
0
down vote
Try these two commands:
route delete 0.0.0.0 10.100.1.1
route add 10.0.0.0 mask 255.0.0.0 10.100.1.1
If that works, put them in a batch file in your StartUp folder to automatically run every time you log in. This should do the job.
Try these two commands:
route delete 0.0.0.0 10.100.1.1
route add 10.0.0.0 mask 255.0.0.0 10.100.1.1
If that works, put them in a batch file in your StartUp folder to automatically run every time you log in. This should do the job.
edited Jul 19 '13 at 19:23
answered Jul 17 '13 at 16:16
Monty Harder
11
11
There's noroute 0.0.0.0 10.0.0.0
in my route tables, but I think you probably meanroute delete 0.0.0.0 10.100.1.1
... anyway I already tried to delete that route and add the other you suggest but it didn't work.
– Cheshire Cat
Jul 18 '13 at 5:59
When you say "it didn't work", what do you mean? Did you get an error message from the correctly-specifiedroute delete
command? Did the routing table change in any way as a result?
– Monty Harder
Jul 19 '13 at 19:20
The routing table has changed according to my commands but when I open the browser and try to go to WAN (any website) I'm asked to connect to the domain proxy server with my user/pwd, so I understand that the traffic is going out through my 10.100.x.x ethernet. I already checked the browser Internet Options and there's nothing wrong, indeed if I disable the 10.10.x.x ethernet interface and try to go out with the same browser and the same configuration, it works and the traffic go out with 192.160.x.x WiFi interface without asking proxy authentication.
– Cheshire Cat
Jul 23 '13 at 13:09
add a comment |
There's noroute 0.0.0.0 10.0.0.0
in my route tables, but I think you probably meanroute delete 0.0.0.0 10.100.1.1
... anyway I already tried to delete that route and add the other you suggest but it didn't work.
– Cheshire Cat
Jul 18 '13 at 5:59
When you say "it didn't work", what do you mean? Did you get an error message from the correctly-specifiedroute delete
command? Did the routing table change in any way as a result?
– Monty Harder
Jul 19 '13 at 19:20
The routing table has changed according to my commands but when I open the browser and try to go to WAN (any website) I'm asked to connect to the domain proxy server with my user/pwd, so I understand that the traffic is going out through my 10.100.x.x ethernet. I already checked the browser Internet Options and there's nothing wrong, indeed if I disable the 10.10.x.x ethernet interface and try to go out with the same browser and the same configuration, it works and the traffic go out with 192.160.x.x WiFi interface without asking proxy authentication.
– Cheshire Cat
Jul 23 '13 at 13:09
There's no
route 0.0.0.0 10.0.0.0
in my route tables, but I think you probably mean route delete 0.0.0.0 10.100.1.1
... anyway I already tried to delete that route and add the other you suggest but it didn't work.– Cheshire Cat
Jul 18 '13 at 5:59
There's no
route 0.0.0.0 10.0.0.0
in my route tables, but I think you probably mean route delete 0.0.0.0 10.100.1.1
... anyway I already tried to delete that route and add the other you suggest but it didn't work.– Cheshire Cat
Jul 18 '13 at 5:59
When you say "it didn't work", what do you mean? Did you get an error message from the correctly-specified
route delete
command? Did the routing table change in any way as a result?– Monty Harder
Jul 19 '13 at 19:20
When you say "it didn't work", what do you mean? Did you get an error message from the correctly-specified
route delete
command? Did the routing table change in any way as a result?– Monty Harder
Jul 19 '13 at 19:20
The routing table has changed according to my commands but when I open the browser and try to go to WAN (any website) I'm asked to connect to the domain proxy server with my user/pwd, so I understand that the traffic is going out through my 10.100.x.x ethernet. I already checked the browser Internet Options and there's nothing wrong, indeed if I disable the 10.10.x.x ethernet interface and try to go out with the same browser and the same configuration, it works and the traffic go out with 192.160.x.x WiFi interface without asking proxy authentication.
– Cheshire Cat
Jul 23 '13 at 13:09
The routing table has changed according to my commands but when I open the browser and try to go to WAN (any website) I'm asked to connect to the domain proxy server with my user/pwd, so I understand that the traffic is going out through my 10.100.x.x ethernet. I already checked the browser Internet Options and there's nothing wrong, indeed if I disable the 10.10.x.x ethernet interface and try to go out with the same browser and the same configuration, it works and the traffic go out with 192.160.x.x WiFi interface without asking proxy authentication.
– Cheshire Cat
Jul 23 '13 at 13:09
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f620943%2fwindows-7-set-metric-to-use-2-different-network-interfaces-at-the-same-time%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Why are you trying to use metrics? Why not set a route to (10.100.x.x/16) via the wired NIC and the only default gateway via wireless?
– Hennes
Aug 6 '16 at 12:39
Regarding dual network setup, (one for Internet, one for corporate/work), also see this question: superuser.com/questions/450493/…. (Same network principles apply to windows as well).
– Hennes
Aug 6 '17 at 11:14