IP address conflict problem

noswal

Executive Member
Joined
Jun 26, 2004
Messages
6,172
Reaction score
9
Location
Stranded, on Earth
I have two pc's connected with a cable, one xp laptop with an address of 196.168.0.1 and a 98 desktop with an address of 196.168.0.2

I can send files back and forth from each but the associated address that the laptop has as seen from the desktop is 192.168.0.4 and says its unreachable, ie >ping laptop (computers name) and it says its ip is 192.... etc. instead of 196...

how do I change it to 196....?
 
Last edited:
Two things might be wrong here (that I can think of!)

1) Reboot the 98 PC - it may have a "remembered" connection. Also, try and recreate the network shares if any (mapped drives).

2) Did you modify the "hosts" file. If not, something else may have. (if not technical, search for a file called hosts.* (not sure of the win98 extension - 2000+ has no extension). Open in notepad and look for an entry that is the laptop name, followed by an IP address. Type a "#" - no quotes - at the beginning of the line. The "#" is a REM marker - if something breaks, you can remove the "#" or change the IP to the correct one.

EDIT: You COULD always force the IP by modifying the hosts file as well. Add a line (laptop name) 192.168.0.1 as the last line in the file and save. Voila!
 
Moederloos said:
2) Did you modify the "hosts" file. If not, something else may have. (if not technical, search for a file called hosts.* (not sure of the win98 extension - 2000+ has no extension). Open in notepad and look for an entry that is the laptop name, followed by an IP address. Type a "#" - no quotes - at the beginning of the line. The "#" is a REM marker - if something breaks, you can remove the "#" or change the IP to the correct one.


Solved! - though not a "something else" but a "someone else" who came around to "fix" it
and was numerically dyslexic :rolleyes:


thanks
 
An IP address contains a network portion and a host portion. The subnet mask indicates which part of the IP address is the network portion. In your case, the subnet mark is probably 255.255.255.0 (well, it should be that), which meant the first three numbers of the IP address is the network address portion of the IP address. All directly attached devices (including via a switch/hub) should have the same network address portion, so in your case should be 192.168.0.x.

The address ranges 10.x.x.x, 172.16.x.x, 192.168.x.x and 169.254.x.x has been reserved for use in internal TCP/IP networks, which are not connected to the internet or which are connected via NAT. The are called non-routable addresses, since routers on the internet will discard packets using them. The correct addresses for you to use should therefore start with 192.168.
 
noswal said:
I have two pc's connected with a cable, one xp laptop with an address of 196.168.0.1 and a 98 desktop with an address of 196.168.0.2

I can send files back and forth from each but the associated address that the laptop has as seen from the desktop is 192.168.0.4 and says its unreachable, ie >ping laptop (computers name) and it says its ip is 192.... etc. instead of 196...

how do I change it to 196....?


Ping the Ip address and not the name and see what it does. [ie. Ping 196.168.0.2]
 
Top
Sign up to the MyBroadband newsletter
X