Help with IP routing

stevovo

Expert Member
Joined
Apr 24, 2008
Messages
1,496
Reaction score
2
Location
Pretoria
On my work PC I have a wireless card and a normal network card. The network card connects to the works network and the wireless card connects to a wireless network that is used only for internet.

Is it possible to use both networks at the same time? Currently I have to disable the wireless card to use the works network and vice versa.

I can upload my 'route print' output if it helps :confused:
 
You should be able to use them simultaneously. You might need to adjust routing accordingly.

You'd probably want your default route to go to your wireless card, and just your work traffic to your LAN card.

In your network settings on the wireless card, ensure that you have a default gateway set. On the LAN card, blank out the default gateway.

This should sort out that all comms will go via your wireless adapter by default.

Any traffic to the same IP network that is configured on your LAN card should automatically go out via that card. If there is more than one IP subnet available behind your LAN card, you will need to manually add the routing for that.

You can do it like this:

route add <destination network> mask <dest mask> <gw ip of your LAN>

You can make the route persistent across reboots if you add in -p before the 'add' command.
 
Top
Sign up to the MyBroadband newsletter
X