Helping people with computers... one answer at a time.
If there is a conflict with your IP address, it could result in only one of the machines on your network working at a time.
The network consists of a cable modem, a hub/router, CAT5 cable in the walls, and two computers. If I disconnect one computer at the hub, the other one works. If I disconnect that one and connect only the other computer, it works. But, when I connect both neither works. I suspect a problem with the two computers getting the same address. Is this likely? How do I trouble shoot this kind of problem?
•
I suspect pretty much what you've indicated: a problem in the IP address assignment. But exactly what problem depends on a few details. Details we can look at.
•
First, let's make sure that the "hub/router" is in fact a router. That's important because most ISPs (and, notoriously, most all cable ISPs) will give you one and only one IP address. If you just put in a hub, then both computers are competing for the single address. Typically the first one to request the IP address will win and be able to work.
The solution there is to get a router. A broadband router will take the single IP address for itself, and then hand out multiple local IP addresses to all the computers connected to it. It'll do some magic (called NAT, for Network Address Translation) to make sure each computer's conversations on the internet are kept straight. Another side effect of using a NAT router is that you are very effectively firewalled and protected from several different internet threats.
So let's say you have a router, or your ISP will hand out multiple IP addresses. Or both. Let's examine what your machines are seeing.
I'll assume Windows XP at this point, but much of this applies to WIndows 2000 and Windows NT, and there are equivalent steps for Windows 9x.
Open a command prompt, and type "ipconfig /all", followed by Enter. You should see something very much like this:
Windows IP Configuration
Host Name . . . . . . . . . . . . : AskLeo
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 3Com 3C918 Integrated Fast Ethernet Controller (3C905B-TX Compatible)
Physical Address. . . . . . . . . : 00-C0-4F-79-84-6A
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.104
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 206.124.128.1
206.124.128.3
Lease Obtained. . . . . . . . . . : Tuesday, July 13, 2004 6:19:55 PM
Lease Expires . . . . . . . . . . : Wednesday, July 14, 2004 6:19:55 PM
We're first going to look at the IP address assigned. This listing, from my own machine, shows an IP address beginning with 192. That's one of the address ranges reserved for private networks. Along with "Dhcp Enabled" being "Yes", this implies that I'm behind a router, and that the router has assigned me my IP address.
If instead you see "0.0.0.0" or an address that begins with "169.", then Windows was unable to get an IP address. "0.0.0.0" is no IP address, and a "169." is an address that Windows will simply make up in order to have an address - but most things won't work.
If you're behind a router and you don't get an IP address, then you need to confirm your physical connection, and more likely your router's configuration. DHCP, the IP-assignment protocol, can be turned off on routers; make sure it's on.
If one of your machines get an internet address beginning with something other than 192 or 169, say "156." instead, and the second machine fails to get an IP address at all, then I'd bet that the first machine is connected directly to the internet, and that router either isn't a router at all, or its DHCP has been turned off.
An interesting test is to go to both machines and note the IP addresses they're using. On the machine that can't connect to the internet, in the Command Prompt, type "ping " followed by the IP address of the working machine. Chances are that will work, and indicates that the physical connections are all working. In fact there's even a good chance that pinging in the other direction, from good to bad, will work if the failing machine has had a 169. address assigned to it.
Article C2120 - July 13, 2004
I have an ISP that cliams they must charge extra for using more then one PC. If I connect a s/w both pc get an IP. which I assume they will charge for if I stayed connected, But if I use a NAT router why would they care 256k is 256k that is all the router will get with DHCP connection and a IP provided to it. Will they look past the router to the internal IP's and charge me for spliting the bandwith I already pay for.?? Thanks
Posted by: Kyle at June 26, 2007 11:45 PM-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It's possible to tell, but only if they monitor your traffic and look for
random clues like machine names in email headers. Depends on how intrusive they
want to be. They will be able to tell that you have a router pretty easily
though. Personally, when I was in your situation I used a router and things
were fine.
Thanks,
Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
iD8DBQFGgulwCMEe9B/8oqERAr9VAKCKp/+2E1O1dKxBlYOzN2twvVwrKQCdEtTH
Posted by: Leo A. Notenboom at June 27, 2007 3:49 PMKrbU+u+JauG9gEpFSto8T/k=
=iS/N
-----END PGP SIGNATURE-----
When I run the "ipconfig /all" command, it will open for a second and then disappear! Why is this happening????
I'm trying to solve a problem with my laptop losing its internet every 5-7 days or so. I just can't understand what is causing this to happen! I thought I'd check out what you suggested but the "ipconfig /all" window won't stay open!
Thanks,
Posted by: Gina at July 22, 2007 6:57 AMGina
When I run the "ipconfig /all" command, it will open for a second and then disappear! Why is this happening????
I'm trying to solve a problem with my laptop losing its internet every 5-7 days or so. I just can't understand what is causing this to happen! I thought I'd check out what you suggested but the "ipconfig /all" window won't stay open!
Thanks,
Gina
This is for Gina and others who go to RUN and type in the IPCONFIG command. I was having the same problem ipconfig would open a window for a second - then close. I went thru start, all programs, accessories, command prompt and it worked fine:).
Posted by: Charlotte Hyatt at August 1, 2007 9:21 PMI have a home network with about 6 computers I went to add a new dell XP pro computer and I am unable to get network access. Network line has been tested as the lap top works there no problem. All network setting are like the others as far a the set up wizzard but still does not get IP. Firwall is off, no zone alarm so ???
I done all the options in IE6 and still no IP tried release and renew nothing.
Posted by: Ken at December 7, 2008 4:49 PM