Solved

Really Urgent Routing Query Please Help

Posted on 2006-10-23
12
202 Views
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 :

WAN :
IP               : 195.172.181.2, SubnetMask : 255.255.255.240, Gateway      : 195.172.181.1, DNS : 212.135.1.36, 195.40.1.36

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 :

LAN :
IP      : 192.168.5.240, SubnetMask : 255.255.254.0, 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: 192.168.5.222, SubnetMask : 255.255.254.0, Gateway : 192.168.5.240, DNS : 192.168.5.240.

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.
0
Comment
Question by:backpedal1
  • 3
  • 3
  • 2
  • +4
12 Comments
 
LVL 12

Expert Comment

by:pjtemplin
ID: 17788099
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".
0
 

Author Comment

by:backpedal1
ID: 17788131
How do I enable that ?
0
 
LVL 12

Expert Comment

by:pjtemplin
ID: 17788140
Look in the properties of the EXTERNAL network card.
0
 
LVL 12

Expert Comment

by:Chris Staunton
ID: 17788145
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 

Cheers,

Shoota
 

0
 
LVL 11

Expert Comment

by:elbereth21
ID: 17788150
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 255.255.255.0)

Elbereth.
0
 

Author Comment

by:backpedal1
ID: 17788244
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 ?
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:backpedal1
ID: 17788271
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 ?
0
 
LVL 12

Expert Comment

by:pjtemplin
ID: 17788335
Insert a router so you can do NAT.

"I hafta" doesn't work in this situation.
0
 
LVL 1

Accepted Solution

by:
MedwayPorts earned 500 total points
ID: 17788946
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



0
 
LVL 24

Expert Comment

by:SunBow
ID: 17789224
> 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
0
 
LVL 6

Expert Comment

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

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/netsh_routing.mspx?mfr=true

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

Expert Comment

by:marce_lito
ID: 17790208
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SonicWALL SIP Transformation Problem 4 50
Cisco ASA inside & outside to same switch 3 39
Identify bottom to remote server 2 31
nexus filter logs 3 24
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now