0

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.

3
  • 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, 2010 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? Jan 5, 2010 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, 2010 at 14:11

2 Answers 2

1

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.

1
  • 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> Apr 10, 2010 at 9:29
0

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.

You must log in to answer this question.