Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet Connection Sharing 1

Status
Not open for further replies.

oWrWe

Technical User
Dec 18, 2003
10
MU
Hi all,

I've just set up a LAN at home, and on 1 PC, I've got a modem. I've gone through the Windows 2000 Pro help, and it says Internet Connection Sharing is possible. It has given guidelines, but I still cannot connect to the Internet via the LAN.

I've set my network address to DHCP, I've used TCP/IP, I've cleared all the check boxes in the Internet Connection options, still nothing.

Any suggestions?
 
What kind of connection is the LAN making to the 'net, DSL/Cable Modem/Dial-Up Modem?

If using a DSL Gateway Router, ICS is not needed as the connection doesn't have to be shared, the Router takes care of the IP needs. I have WinXP Pro, WinXP HE, Win2000 Pro, and Win98SE on a Belkin DSL Gateway router and ICS wasn't needed.
 
Should be dead easy - just enable sharing on the internet connection (if its a dial-up modem, this will be the properties for the dial-up connection for your ISP, if its broadband, will be properties for the ethernet/USB connection for it) on the 'host' machine and set client machine(s) to pick up IP addresses automatically.

If sharing not working after this:-

is internet available on host?
can you ping host from client?
what does ipconfig /all from command prompt give you on both machines?
 
Blujacket, Dial-up.

bcastner, thx for the link. But still does not work... :(

Wolluf, I've done exactly what you said.
1. I have internet connection via dial up on the host.
2. I can ping each machine from the other.
3. ipconfig /all gives 2 adapter settings on host:
Ethernet adapter:
IP: 192.168.0.1
Subnet: 255.255.255.0
Gateway: -
PPP adapter:
IP: 202.123.17.220
subnet: 255.255.255.255
gateway: 202.123.17.220

ipconfig /all gives this on client:
IP: 192.168.0.2
Subnet: 255.255.255.0
Gateway: 192.168.0.1.

Internet still not available on client... :(
 
If you are using a router, they may have their own "Internet Connection Sharing" program to use. Same goes for a switch.. Also, there may be different setups for different providers.
I have (but don't use) a switch that has ICS software, but if you are on AOL, you can't set it to autodial from the client computer.
I would check with the manufacturer of the router/switch. Let us know if you are using a switch, hub, router, or just connecting one computer to the other direct. (I didn't notice this above, so forgive me if you already have).
Being someone new to ICS and networking computers like this, I may not have an answer. However, the more information you give us, the better chances are one of the experts will.

One other thing to try.. Go into cmd.exe (where you pinged your host on your client). Ping and see if it pings (make sure you're connected to the internet on the host first). If that doesn't work, try pinging 216.239.41.99 (this is one of google's IP addresses). If you get a reply that way, then part of your problem is a DNS issue. Let us know the results of the pings. This way, we'll know if it's an issue of the client not being able to get the host to dial up, or if the host is blocking the client altogether.

A last consideration.. Do you have your firewall configured to allow the connection? It could be something as simple as that also.
Hope this gives you some places to look, and helps out.
Patrick.
 
oWrWe - so what happens on the client machine when host machine is connected to the internet and you start your client machine's browser?

Have you got any other network protocols installed (eg netbeui?). Have you changed any other network settings/installed any network oriented software?

You could try running to share the connection.

I'm a bit at a loss - never had any problems setting up this type of ICS. I don't know if bcastner's got any more ideas (he has rather more networking expertise than me!)
 
"PPP adapter:
IP: 202.123.17.220
subnet: 255.255.255.255
gateway: 202.123.17.220
"

Tell me a little more about your modem. Do you have a make, model?

Tell me a little more about your connection type and your ISP.
 
Wouldn't it be safe to assume (and I'm not sure how to make it do this) that his second machine needs to be configured for the PPP adapter? and not the router? Or that he needs a Gateway assigned on the router?
I'm basing this on, the fact that I have a router and no ICS on my machine.. My ipconfigs are both configured to the router.

Also, I'm basing this on, the fact that in his first IPconfig, the 192.168.0.l has no gateway assigned to it, and in his second ipconfig, his computer uses that for the gateway.. Wouldn't that be what's locking him out? Since in effect, he has no gateway to the PPP adapter? or the internet, for that matter?
Patrick.

I'm including a copy of portions of my IPconfig to show my meaning.
Ethernet adapter Local Area Connection
IP Address. . . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
I've got a router on my computer, without ICS running.. So I don't have the PPP adapter.. On my other computer, the IP is 192.168.1.101 Subnet Mask 255.255.255.0 and Default Gateway is 192.168.1.1 also.

 
For the ICS Host the Gateway entry is either blank, or 127.0.0.1.
 
Also, "I've cleared all the check boxes in the Internet Connection options, still nothing." does not sound right to me. On the ICS Host, you normally want to check all the boxes, not clear them.

 
Ok, looks like my problem is not simple at all!

I've got 2 PC, link with a cross over patch cable, 100Mbps.

Both PC are running Win2k Pro, SP3.

Protocols used:
TCP/IP
NetBEUI

The host has a Creative 56Kpbs modem. I just want the other PC to have internet

via that modem. On Win95, I had a software to act as gateway. On Win2k, I

thought there would be a means of sharing the connection without the use of

external softwares.

I've checked the Windows help. I've check some websites. I've done exactly

what's supposed:

On the host, Share the dial-up. Enable on-demand connection.
IP: 192.168.0.1 (Static)
Subnet: 255.255.255.0
Gateway: -
I've got PC-Cillin 2002 running on the host. I've enabled the LAN adapter on

the PC-Cillin personal firewall. I've even tried enabling the WAN adapter (only

available when the modem is connected).


On the client, configure Internet Options -> Connection -> Lan setting ->

uncheck all boxes.
IP: 192.168.0.2 (Static)
Subnet: 255.255.255.0
Gateway: 192.168.0.1
No PC-Cillin on client

Pinging each other works.

When the host is connected, on the client, I try to ping the PPP adapter (like

yesterday, the ipconfig I posted). It works. However, when I try to run

for example, it says server not found!

I think the gateway (the host) took care of the subnet communication, ie, from

the 192.168.0 to the 202.123.17. However, it seems that the ISP DNS gateway

cannot be reached?

PPP adapter:
IP: 202.123.17.26
Subnet 255.255.255.255
Gateway: 202.123.17.26
DNS: 202.123.2.6, 202.123.2.11
NetBIOS over Tcpip: disabled

Any comments?

bcastner: on the client, I've cleared all check boxes! not the host...
 
ARG! Bcastner: all checkboxes were cleared on the host as well! I've checked the Detect automatic settings, and it WORKS!!!!!!!!!!!!!!!!!!! THANKS!
 
1. There is no reason to have a firewall on the LAN side of things.

2. You can remove netbui.

3. The key thing: when you set up ICS using DHCP (and not static IPs) it does more than set appropriate IPs and Gateway addresses. It makes specific DNS registrations, changes to the Workgroup naming, and HOSTS entries that assigning the addresses through static IPs fail to do. You can of course do this yourself of course:
 
bcastner, I've used static IP coz I'm playing games on the LAN, and they use TCP/IP.

Using DHCP, I can't find each other coz their IP addresses given by the DHCP service running on the PC are totally different and can't communicate with each other. Using the link above, I've set the DNS and gateway. And it's working fine.

Anyway, thanks for all!
 
I've always thought the Windows ICS to be a pain. I came across a program called Proxy+. I find it to be a little more friendly than Windows ICS.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top