Configure two NIC cards running Windows XP

Hi to all Network Experts!

My problem is that i could not figure out how to configure my PC with an Internet connection and at the same time LAN connection.
I have 2 NIC cards:
First card is onboard Ethernet Card. This card is used for my LAN Connection.

Second card is a Raltek NIC that i want to use for internet connection.

IP for the 2 NIC Cards:
First Card (LAN Connection): subnet: gateway:

Second Card (for Internet): subnet: gateway:

The internet modem/router is connected to a onboard NIC card .

If I remove the gateway on local LAN IP then I am able to access the internet. But I cannot remove the gateway ( as I have VPN network who uses the gateway
Can anyone help me? please...
Who is Participating?
Pete LongConnect With a Mentor Technical ConsultantCommented:
Hello parshuramb,

Sharing an Internet Connection

To share an Internet connection you have the following options.
1.      Use Windows ICS (internet connection Sharing)
2.      Use Some Proxy Software
3.      If your using Cable/DSL use a dedicated switch/router
4.      If you using Windows 2000 Server use NAT under RRAS

Since Win98SE all versions of windows have been able to use ICS. One PC has an Internet connection and shares it with other Computers (Hosts) on your network. For a full description of ICS see
To set up ICS..
For Win98
For Win ME
For Win 2K
For Win XP
To Troubleshoot ICS

To enable your PC to act as a proxy server you need to install Proxy software, then configure the clients to use a proxy server for their Internet connection.
Business users see
ISA Server
Small Office and Home users see
CC Proxy
EZProxy (15 Days)
Proxy+ (31 Days)

If you have cable or a DSL connection this is the best (though not the cheapest route) to go down. This equipment will plug into your exiting router and do the work for you, you can also get them with built in wireless.

This is what I use (with 54g wireless)
Cheaper option (slower wireless)
Cheapest Option (No Wireless)


jburgaardConnect With a Mentor Commented:
You can only have only one default gateway, but you can have more routes.
That is, if you have a network outside the networks and you must specify how to get there.

At commandprompt our route can be seen by :

To add a route to the network via the card:

hope this helps
Keith AlabasterConnect With a Mentor Enterprise ArchitectCommented:
You do not need to remove the gateway on the internet card, the default gateway should always be pointing to an interface that will handle traffic that you have no idea about and this is invariably the internet interface. So you should remove the gateway on the subnet: gateway: entry.

On the LAN side, what is it you cannot get to?
As per the entry above, static routes (or routing protocols if you use them) should be used to redirect traffic to somewhere other than the default route.

For example, if you have an internal router at that gives you access to another internal subnet (let say, then you would have route -p add mask The -p option makes the machine remember the route after a power cycle.

Fatal_ExceptionConnect With a Mentor Commented:
And, this is good site to follow for your ICS connection, including a diagram...  One of the biggest mistakes people make when implementing an ICS solution is the cabling..  Use Cross Over cables to directly connect like devices, such as a PC to PC solution, and Straight Thru Cables when using a switch to connect..  see the diagrams and follow the logic in this page...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.