cellio: (mandelbrot)
[personal profile] cellio
Ever since the power surge (and resulting replacement of Linksys box and one other hub), we have been noticing sporadic weirdness on our network. We use DHCP to hand out IP addresses (doesn't everybody?). The Linksys box is configured (by default, if I recall correctly) to start handing out addresses at 192.168.1.100. The Linksys itself is 192.168.1.1. As best I recall, these are the same settings we used successfully on its predecessor for close to three years.

So now, every now and then, it will hand out the address 192.168.1.2. And that unlucky machine will be able to see the LAN but not the internet. Rebooting usually does not fix it, but creative sequences of reboots of all machines and power-cycling of the modem and Linksys usually do the trick.

We cannot find any common factor when this happens. Sometimes it just does.

Tonight, when I found myself the unwilling owner of 192.168.1.2, I decided to try an experiment: I gave myself a fixed IP address without changing anything at the Linksys end. I guessed that I should use 192.168.1.1 for the gateway and name service, rather than the "real" ones; after all, the Linksys box is supposed to resolve the interface issues between the local machines and the network, right?

This worked perfectly. In fact, in a rare Windows moment, I didn't even have to reboot!

I assume that as the other machines encounter the wayward 192.168.1.2 we'll make this adjustment on them, too, until nobody's using DHCP any more. Then we'll forget about this until some unlucky house guest wants to plug his laptop into the network. :-)

I feel like this is an ugly hack. I have not solved the real problem. But at this point I think I'm going to stop looking for it.

Because there is a strict quota on hardware happiness, I found that the 4-port hub we had lying around is really only a 2-port hub. (One is "uplink", which seems to be magic and does not work with anything I tried to plug into it, and one is just dead.) So I can't get rid of the cables strung across the floor just yet.

(no subject)

Date: 2002-07-09 07:18 pm (UTC)
ironangel: (Default)
From: [personal profile] ironangel
Yeah, I've heard this mysterious word "crossover". Wish I knew what it means. :-)

it means that the wires inside the port are wired backwards from normal, and in order to connect it to another (non uplink) port, you need a crossover cable - an ethernet cable that is wired normally on one end and reversed on the other.

:)

(no subject)

Date: 2002-07-09 07:53 pm (UTC)
geekosaur: orange tabby with head canted 90 degrees, giving impression of "maybe it'll make more sense if I look at it this way?" (Default)
From: [personal profile] geekosaur
I guess I used too much shorthand: a crossover cable has pins 1 and 3 swapped and pins 2 and 6 swapped. :)

Also, quite a few hubs I've seen provide normal and crossover versions of one port, the latter for chaining hubs, and woe be to whoever tries to connect both at the same time....

(no subject)

Date: 2002-07-09 08:06 pm (UTC)
geekosaur: orange tabby with head canted 90 degrees, giving impression of "maybe it'll make more sense if I look at it this way?" (Default)
From: [personal profile] geekosaur
Nope. Hubs are dumb; use a non-crossover cable and you will in fact confuse all the ports, because internally they're all connected. Now if it were a switch, you'd be right --- but most switches are also smart enough to tell you when things are miswired, and some will even automatically sense the need for an MDI port instead of an MDI-X and change over automatically.

Expand Cut Tags

No cut tags