How do we configure two (2) LAN cards on one computer. One LAN card is connected to the internet via the DSL through a router, configured as DHCP. The other LAN card is to be connected via our office's IP/VPN (for email and other office online processes). I know it could be done, but I do not know how. By the way, the operating system is Windows XP.

  • What is it you want to do? Direct email/office processes to one card, and all other traffic to the other card? – RJFalconer Jan 5 '10 at 13:43
  • are you trying to route traffic thru this computer (from the office to the internet) or just allow this computer access to two different networks? – quack quixote Jan 5 '10 at 14:06
  • Yes, direct email/office processes to one card and all other traffic to the other card. That is exactly what I want. Thanks in advance. – PatDiazJr Jan 5 '10 at 14:11

I think you need to use XP's route tables to redirect packets based on their destination address.
Packets directed to your office you want to pick up and route via your office nic.

This is done with XPs route command.

The basic syntax is

 route ADD <destination> <subnet mask> <gateway (vpn dhcp server)> <metrix> IF <interface number>

There's some tutorials floating around here and there.

  • If the routes need to survive a reboot then it's a good idea to make them persistent by using the -p switch: route -p ADD <destination> <subnet mask> <gateway (vpn dhcp server)> <metrix> IF <interface number> – Jonathan Webb Apr 10 '10 at 9:29

I've never had any trouble at all doing this. Windows seems to handle it quite gracefully. When your computer has two network cards, you get an icon for each one in the Network Connections window, and you can configure them separately. Traffic intended for one network (say a web server on the intranet) goes through the appropriate network card automatically.

If you're having specific trouble, let us know with a little more detail, including error messages and whatever behaviour you're seeing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy