Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

How do I get Internet Connection Sharing to work?

I'm trying to share a modem in the server with other machines on the LAN. I followed the instructions on MS web page, which is just to go into the Properties for the dial-up connection, then on the Sharing tab, set "Enable Internet Connection Sharing for this connection".

But it didn't work - the other machines couldn't see the connection. Plus, it caused the other machines not to see a shared folder on the server, so I had to disable the ICS and reboot the server to get back to normal.

Anyone know what needs to be done to make this work? Thanks!
0
oldbie
Asked:
oldbie
  • 4
  • 2
  • 2
  • +4
1 Solution
 
losgadasCommented:
Check the following article:

http://support.microsoft.com/support/kb/articles/Q238/1/35.ASP

Also, make sure you have only one host in your lan for ICS.  And also make sure you have two NICs installed.
0
 
oldbieAuthor Commented:
Why do I need two NICs? It's an internal modem with a phone line to it.
0
 
oldbieAuthor Commented:
Also, this is Windows 2000 we're talking about. Does it matter that the website you gave me is for Win98SE?
0
How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

 
petemccCommented:
You don?t need two NICs (unless your connected via DSL), you need two interfaces on the host machine, one to the internet and one for your LAN.  The client boxes need to have DHCP enabled. ICS is gonna set the LAN adapter on the host machine  to 192.168.0.1 and assign IP addresses to the host machines in that range (192.168.0.XXX). If you are using hard addresses you?ll lose connectivity when you enable ICS. You can?t have AD, be a  DHCP or DNS server or be a domain controller on the ICS host!
Here?s a link to a W2K specific article on ICS.

http://www.zdnet.com/sp/stories/issue/0,4537,2595940,00.html
or:
http://support.microsoft.com/support/kb/articles/Q237/2/54.ASP

If  you want to share to more than 10 clients, or need hard addresses,  NAT is available on W2Kserver  and would be a better choice

0
 
leystanCommented:
the machine you have connected to the internet is the gateway. set the other machines to use this connected machine as the gateway.

try this:
1. After you have enabled ICS on one of the machines
2. Go to another machine on the network
3. Right click on My Network Places and select Properties
4. Right click on the LAN connection and select Properties
5. Highlight TCP/IP in the Components window
6. Click the Properties button
7. In the Default gateway field enter the IP of the machine that is running the ICS

I don't remember if you have to reboot the machine....

that should be it.
0
 
mattykCommented:
I know a lot of folks who have had problems with Internet sharing in the past.  Give this a try instead (it's free)

http://www.analogx.com/contents/download/network/proxy.htm

-matty
0
 
daggodtCommented:
Hello!
You have to use the server with as a proxy server.
It doesn't mather if you're using a cable modem/modem or a T1-line.

You have to install a proxy server program on the server. I think winproxy is a great program(http://download.ositis.com/downloads/Winproxy.exe).
Install that prog on the server and use following settings on the machines:

server:
Static IP: (e.g. 198.162.0.1)
automatic startup for the winproxy prog

clients:
different Static IPs on each machine- start with 198.162.0.2
Use proxy server-setting in all internet-progs
(www:IP=198.162.0.2:80   , SOCKS5:IP=198.162.0.2:1080  or 198.162.0.2:8080)
Also you can use 198.168.0.1 as gateway

This should solve the internetproblems you have...

Good luck!

-Daggodt-
0
 
matt023Commented:
petemcc, "You can't have AD, be a  DHCP or DNS server or be a domain controller on the ICS host!"
-- you can have these services on the ICS machine.  the warning is that ICS changes the IP address of the machine to 192.168.0.1 and clients will lose connectivity to these services once ICS is enabled.  You can re-configure the clients to point to the new IP address.

DHCP is not recommended to be installed on the machine because ICS creates a DHCP allocator which functions as a mini-DHCP server.  With DHCP service installed on the same machine as the ICS, there will be 2 DHCP services.

Technically, all you have to do is:

1. enable ICS
2. reconfigure all your clients' ip addresses to be within the 192.168.0.x range.
3. configure the clients' default gateway to point to the ICS machine.
4. Do not configure the browser to use proxy.  Just direct connection.
0
 
petemccCommented:
matt023,
 You make a good point and it's true ICS is acting as a DHCP allocator without the full functionality of a DHCP server. But if you were running those services and ICS on the same box wouldn't you get conflicts on the internet connection which is generally DHCP enabled and resolving externally? The literature I have read plus my own experience has shown that other DHCP services can cause difficulties with internet connection sharing.

Pete  
0
 
matt023Commented:
you are right with the DHCP port binding conflicts. I didn't know that ICS also installs a DNS proxy.  I had enabled ICS on a DC with DNS running in the past and everything was running fine.  This is what happens when MS tries to make everything easy and automatic.  It causes confusion and problems.  Whatever happened to running a plain old NAT daemon on a UNIX or Linux server.  So simple, so straight forward.
0
 
oldbieAuthor Commented:
mattyk, I installed the proxy program you pointed me to, and it works OK, but it doesn't cause the server to dial the ISP, when a station tries to get online. (It's a simple 56k modem dial-up line.) Is there a way to force that to happen? I can't have everyone logging in to the server to dial the ISP!

Thanks.
0
 
oldbieAuthor Commented:
Sorry I took forever to award points for this! The AnalogX proxy was a pretty good solution.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 2
  • 2
  • +4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now