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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows XP and Internet Sharing 1

Status
Not open for further replies.

rhm54

MIS
Sep 5, 2002
59
US
I have a Windows 2000 Box that Connects to the internet through a domain on Ethernet adapter 1 with IP Address 10.5.13.16. I have a Laptop that I connect to the Windows 2000 on Ethernet adapter 2 which gives the 2000 box IP Address 169.254.231.153 and the XP Box 169.254.39.99.

The Windows XP Laptop is on (Protect1) Workgroup and the Windows 2000 Box is on a Domain (NTDOMAIN). I do not want to add the Laptop to the NTDOMAIN because I use the laptop at home in my home network.

I can see each computer from the other but I cannot get the XP Box to connect to the internet.

All Help is appreciated.
 
It is likely an error in the default Gateway and/or the DNS settings on the Win2k host.

Frankly, I believe the ICS with Win2k Host busted, and would use a hardware broadband router in your circumstance. But, it can work. The first step is to get ICS running on the Win2k Host in perfect order. Helmig's site offers some valuable advice. Essentially you need to force the Host not to use APIA 169.xxx.xxx.xx addressing, and hand out these addresses to the client through its DHCP service. When the Host is at 192.168.0.1, and hands out appropriate subnet addresses to the clients the issue will disappear. See Helmig's step-by-step notes here:
You could benefit from using Windows XP's alternate IP addressing scheme, and from writing a small batch file to use the NETSH facility. I include notes for doing both here as I believe it could help.


 
Ok I have changed the Windows 2000 Ethernet adapter 2 information to the following. IP Address 192.168.0.1 Subnet 255.255.255.0 and Gateway to 10.5.0.1 which is the domain Gateway.

The XP Box is as follows using alternate configuration

Ip 192.168.0.54
Subnet 255.255.255.0
Gateway 192.168.0.1

The Two computers are still able to share files but not the internet connection.
 
Hold on.

You cannot assign a Gateway address that is outside your subnet.

You cannot use ICS if there is anywhere in the connection path for a workstation or host a DNS server, a DHCP server, a WINS server, a DC, BDC or PDC or BPDC.

 
So What you are saying is that since the 2000 box connects to a DCHP Server then there is no way for me to use ICS? Or are you saying that all I need to do is make the Subnets match?
 
From the Win2k "Help and Support" feature:

"You should not use this feature in an existing network with other Windows 2000 Server domain controllers, DNS servers, gateways, DHCP servers, or systems configured for static IP addresses. If you are running Windows 2000 Server, and one or more of these components exist, you must use network address translation to achieve the same result."

Your second question had to do with matching subnets. You cannot have a Gateway address on a different subnet.

Honestly the best answer is to use a hardware router. To use a device such as this in the presence of an existing DHCP server and/or other router, see this recent explanation from Tom's Hardware Guide:
While I think it possible to use ICS, I would use either the hardware router or a different proxy sofwware package to handle the chore. Wingate would work: , as would Sygate's Office product and:
freeware, and good:

But you are wasting your time trying to get ICS to work. I hope my links about using NETSH and alternate IP addressing helps at least your notebook.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top