Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Basically, we have a number of machines with two network cards. One is wireless, one is not.

The wireless is connected to the internet, while the other one is connected to a route and a bunch of internal computers.

Is there a way to set the machine to use the wireless when accessing any IP except 192.168.. and if the ip accessed is 192.168.. to use the other connection?

All these workstations (over 40) are running Windows 7, and we added a special wifi-4G NIC to some computers that need faster internet speeds (we are running two T1s, so the 4g is faster).

share|improve this question
3  
definitely going to need the os if you want a direct answer –  Graham.Fraser Feb 2 '13 at 1:35
    
There should be nothing special you need to do. The default route should carry Internet traffic to the connection that has Internet access. The network router, added automatically, should carry traffic for the internal network to the interface connected to that network. (If not, add a static route.) –  David Schwartz Feb 2 '13 at 2:01
    
Ugh, get business-class cable or DSL (in addition to the T1s if need be. I'm in the same boat as you (being stuck with T1 connections)... and man, do I ever hate T1`s. –  HopelessN00b Feb 4 '13 at 13:12
add comment

closed as off topic by Aaron Copley, EEAA, mdpc, Khaled, Dave M Feb 2 '13 at 17:45

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 2 down vote accepted

you can specify a static route on the host. Assuming the network is 192.168.0.0/24 you would add the following:

route add 192.168.0.0 gw

Depending on the distro would determine where you add it for persistence.

share|improve this answer
    
thanks bud, that should work. however, the 192 network also has internet access. How can I stop the workstation from accessing the internet through that network. ideally I'd like to define a static route to the wifi for all ips except 192.168.0.0/24. is there a good method for doing this? –  TechnIckS Feb 4 '13 at 1:39
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.