our network has both a hard ethernet line as well as wireless.
When I am connected to both networks, Vista wants to use the wired network for internet browsing.
Is there any way I can make Vista use the wireless network for internet browsing while still connected to the hard lined network?
I remember doing this before 3 or 4 years ago using route add methods ...
-
-
route add should do the trick.
the problem is the default is set up to the wifi.
do a route remove
then a route add
and your golden -
i never fully understood route add, could you give me an example of what to do?
example, hard lined gateway: 192.168.168.1
wifi gateway: 192.168.0.1
i'll figure out the masks and stuff on the route add, can't get to it now .. but if you can run me a few commands that i might be able to try?
thanks,
Sean -
sure here is what ya do
route print. it displays the current routes for various adress's
you should see one that says 0.0.0.0 this is also known as the default route. whenever any application asks for a connection it will use the interface linked to the 0.0.0.0 route. there are some instances where you have a couple other ones in your LAN or in your case wireless LAN. that way your computer knows which interface to use to hit resources on the various networks
what you can do is modify this to suite what you need
if you want your wifi to be the primary interface for traffic do the following
route delete 0.0.0.0
*this will delete the default route
route print
*verify deleted route
route add 0.0.0.0 mask 255.255.255.0 192.168.0.x(x is what your lappy's wifi adress is) metric 1
that should then re create a route that shoots all traffic out the wifi network.
if you want the wired LAN to be primary then replace the adress above with the one for your ethernet
hopefully this helps
I think you may have to throw a -p switch at the end of it in order for changes to stick past a restart but I do not suggest that as it could "break" and then you have clear the routing table and start again.
with trial and error you should be good to go -
Why would you want to use a wireless connection if you are hard-wired into your network?
-
-
perhaps you dont have internet access on your LAN.
there are a million reasons why. I just dont ask I just give the results
use wireless internet while on hard lined network?
Discussion in 'Networking and Wireless' started by IAmTheDood, Sep 11, 2008.