December 28, 2010

A networking puzzle

OK, geniuses, let's see if you can figure out this little problem that just happened to me. I figured it out, and it's solved now, but it's obscure.

Here are the players in the game:

Regulus -- the Qube, through which everything flows.
Railgun -- the new combined ethernet/wifi hub
Zako -- the old SMC ethernet hub
Deneb -- the Windows Home Server
Alcyone -- the super notebook.
Saten -- the Slate
Arcturus -- the Compaq notebook I run uTorrent on

Alcyone connects by wire to Railgun.
Saten connects by wifi to Railgun.
Railgun connects by wire to Zako.
Zako also connects by wire to Arcturus and Regulus
Regulus also connects to the cable modem.

All the other machines use NAT on Regulus to access the internet.

My torrents suddenly turned off and stopped running. That's where the problem first appeared. Arcturus could access Deneb as a file server just fine, and it could load my private start page off of Regulus, but it had no other network connectivity. DNS always failed, and IE couldn't load anything off the net.

Meanwhile, Alcyone was working just fine. Saten had no problems.

Then I tried rebooting Alcyone -- and it no longer had internet connections, even though it could access Deneb just fine.

Here are some things that made no difference: power cycling Zako. Power cycling Regulus. Power cycling Arcturus.

I also tried disconnecting the ether net on Arcturus and enabling its wifi. It was exactly the same: it could access Deneb, but not the internet.

Here's what did fix it: Power cycling Deneb, and once it was back  up then power cycling Alcyone and Arcturus again. After which everything worked beautifully.

See if you can figure out why.

UPDATE: Here's a hint:

When I saw that, I figured out the problem.

UPDATE: Here's the answer:

So Arcturus and Alcyone couldn't make contact with the Regulus NAT because they were out of the subnet. But they could talk to Deneb as a server because Windows networking doesn't use TCP/IP. It's an entirely separate protocol that runs over ethernet. (And it also works over wifi.)

Arcturus stopped working because the previous DHCP lease had run out. It tried to access the DHCP server on Deneb, and for some reason that didn't work. (I'm not just sure what the deal was. The DHCP page on Deneb showed that it had reissued IPs to all the machines in question, but they never heard it.)

Alcyone stopped working when I rebooted it because a reboot results in a new DHCP request, which failed.

The reason they had the IPs they did is because that's the rules. If a computer is told to use DHCP on boot-up and cannot find one, then it picks a random IP in 169.254.*.*.

So rebooting Deneb caused the DHCP server to restart. Rebooting Arcturus and Alcyone caused them to make DHCP requests for new IPs, and it worked properly, giving them IPs within the Regulus subnet.

Posted by: Steven Den Beste in Computers at 06:34 PM | Comments (7) | Add Comment
Post contains 295 words, total size 4 kb.

1 Ah, that's easy!  Gnomes.

Posted by: Wonderduck at December 28, 2010 06:40 PM (W8Men)

2 My head hurts...

Posted by: John at December 28, 2010 06:43 PM (LfW1t)

3 That's not totally wrong. A demon was implicated.

Posted by: Steven Den Beste at December 28, 2010 06:44 PM (+rSRq)

4

 Ah, that's easy!  Gnomes.

C'mon, now.  Everyone knows that gnomes steal things.  It's gremlins that sabotage equipment.

Posted by: CatCube at December 28, 2010 07:29 PM (qCeqP)

5 That's why I started setting my internal network to use the 172.16.x.x subnet.   No devices that I've used (yet) use that as a default, so it's easy to tell when someone isn't getting their DHCP lease.

Anything else that I would write would sound like advice, so I'll shut up.

Posted by: Mark A. Flacy at December 28, 2010 10:42 PM (Lbkvv)

6

I used to use the 192.168.*.* section for DHCP. But I got confused about something having to do with how you do a system restore using the Windows Home Server and thought I needed to change to use the 169.254.*.* section. Changing it was painful, but it's done now and I don't really want to go change it back.

Posted by: Steven Den Beste at December 29, 2010 08:48 AM (+rSRq)

7 I've been burned so many times by conflicting IP address ranges when hooking up VPNs ("hey, let's use 10.0.0.0/8, so we don't have to change anything when we're really big") that for my most recent setup, I chose 172.29.252.128/25.

-j

Posted by: J Greely at December 29, 2010 08:55 AM (2XtN5)

Hide Comments | Add Comment

Enclose all spoilers in spoiler tags:
      [spoiler]your spoiler here[/spoiler]
Spoilers which are not properly tagged will be ruthlessly deleted on sight.
Also, I hate unsolicited suggestions and advice. (Even when you think you're being funny.)

At Chizumatic, we take pride in being incomplete, incorrect, inconsistent, and unfair. We do all of them deliberately.

How to put links in your comment

Comments are disabled. Post is locked.
10kb generated in CPU 0.0056, elapsed 0.0216 seconds.
20 queries taking 0.0175 seconds, 24 records returned.
Powered by Minx 1.1.6c-pink.