We help IT Professionals succeed at work.

Really Urgent Routing Query Please Help

Medium Priority
Last Modified: 2010-03-19
I have a PC with 2 NIC Cards, (Call it PC1).  The First NIC Card is connected to a DSL Modem.  The IP Details are :

IP               :, SubnetMask :, Gateway      :, DNS :,

The PC can connected to the Internet without any problems.

Its second NIC Card, (LAN) is connected to a switch and has the IP details :

IP      :, SubnetMask :, Gateway : <blank>, DNS : <blank>

I have another seperate PC, (PC2), attached to the same switch as the LAN NIC on PC 1.  Its IP details are:  IP:, SubnetMask :, Gateway :, DNS :

Both PC's can ping each other but I want PC2 to be able to get internet access "through" PC1, but it cannot.  I think I need to add some sort of route command but I dont know what.  Can somone tell me how I achieve the result I am after.

Both PC's are Windows XP Service Pack 2.  Windows Firewall is switched off on both PC's and I'm aware of the security problems but I need to do this as a test please.
Watch Question

Top Expert 2006

Have you enabled Internet Connection Sharing?  You'll need that.

BTW, it's "NIC", not "NIC card".  You've already said "card" by saying the "C" in "NIC".


How do I enable that ?
Top Expert 2006

Look in the properties of the EXTERNAL network card.
Chris StauntonSr. Infrastructure Engineer

As stated above you will need Internet Connection Sharing setup on PC1, MS even has a video on how to set this up, please watch it here http://support.microsoft.com/kb/306126 



Hi backpedal1,
by the way, if you use Internet Connection Sharing (ICS), you won't be able to assign the IP address to the second machine manually: it will have to be assigned dinamically from the DHCP service of ICS and will HAVE to be in the 192.168.0.x subnet (subnet



Is this the only way to do this.  Ideally I would like to control my own IP information.  Can I not achieve the same result through adding routing commands to the PC's ?


For a number of reasons I cannot use ICS, I need to control my own IP details and we have a Domain controller, and another DHCP server on the network.  Any other ideas ?
Top Expert 2006

Insert a router so you can do NAT.

"I hafta" doesn't work in this situation.
i did something similar once using a free piece of proxy software

this may have been it im not 1005 sure http://www.lavasoftware.net/en/content/ezproxy/overview.htm

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

> Can I not achieve the same result through adding routing commands

Routing commands identify direction of flow, not the sharing of addresses, which must be unique on internet

if you don't want to enable ics, then you have to enable nat using netsh:


i haven't done this myself, but i know that it theoretically should work... do a search on EE about NAT and netsh

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.