Unable to share Internet connection with static IP addresses

  • Thread starter Thread starter milleniumaire
  • Start date Start date
M

milleniumaire

I have two machines; a desktop and a notepad both connected to a
network using a switch. The desktop is connected to the internet via
ISDN. Both machines are running Windows XP professional.

If I use the network wizards to configure them everything works okay
and I can connect to the internet on the desktop and the notepad
simultaneously (via the desktop connection). File sharing etc works
fine.

So what's the problem?

If, after using the network wizards to get the two machines
communicating, I then manually set the IP addresses as follows:

10.0.0.10 desktop
10.0.0.20 notepad

and introduce a 3rd Linux machine (actually this is a "virtual"
machine running on the notepad alongside windows xp).

10.0.0.30 linux

I create a hosts file on each machine and they can all communicate
with each other so networking is not a problem.

The only problem I have is that the notepad can no longer connect to
the internet through the desktop.

Does anyone know why this might be the case and what I need to do to
fix it?

Regards.

Paul.
 
I have two machines; a desktop and a notepad both connected to a
network using a switch. The desktop is connected to the internet via
ISDN. Both machines are running Windows XP professional.

If I use the network wizards to configure them everything works okay
and I can connect to the internet on the desktop and the notepad
simultaneously (via the desktop connection). File sharing etc works
fine.

So what's the problem?

If, after using the network wizards to get the two machines
communicating, I then manually set the IP addresses as follows:

10.0.0.10 desktop
10.0.0.20 notepad

and introduce a 3rd Linux machine (actually this is a "virtual"
machine running on the notepad alongside windows xp).

10.0.0.30 linux

I create a hosts file on each machine and they can all communicate
with each other so networking is not a problem.

The only problem I have is that the notepad can no longer connect to
the internet through the desktop.

Does anyone know why this might be the case and what I need to do to
fix it?

Regards.

Paul.

Have you enabled Internet Connection Sharing on the desktop? XP's
version of ICS doesn't support changing the IP addresses of the
computers on the local area network from the default 192.168.0.x
range, and it might not work correctly if you do.

If you assign static IP addresses to the clients, you must assign
default gateway and DNS server addresses, as Richie said.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
Thanks for your help Steve and Richie, you were spot on. I set the
gateway and preferred DNS addresses on my Notepad to the Desktop IP
address (10.0.0.10) and the notepad can now use the Desktop Internet
connection.

It appears that I didn't need to change the range of IP addresses to
192.168.0.x but I will keep an eye on it!

Regards.

Paul.
 
Back
Top