[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getting networking to work [was Re: ethernet card]



On Mon, Dec 16, 2002 at 08:41:11AM -0500, Andrew Hurt wrote:

| I can't get to the http://192.168.254.254/ in the router
                                    ^^^

| #ifconfig -v eth0 >
| 
| Link encap:Ethernet HWaddr 00:30:F1:3F:23:A1
| inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
                    ^                                    ^^^

According to the addressing here, the router's interface is on a
different network than your NIC.  In order for IP packets to move from
one network to another, a router must exist to connect the two
networks.  However, you don't have that.

Here's what you currently have :

Node        Node Address        Network Address
router      192.168.254.254     192.168.254.0
computer    192.168.0.1         192.168.0.0

(note: I'm making an assumption as to the netmask of the router's
interface since it wasn't mentioned in the email.  Nonetheless,
knowing the address and netmask of your NIC, I know it isn't on the
same network)

For that layout to work, you would need a router on both the
192.168.0.0 network (with address 192.168.0.254 since that's the
gateway you configured for the NIC) and on the 192.168.254.0 network
to route packets from the one to the other.  The simpler solution,
since both the NIC and the router are on the same ethernet segment, is
to change the address of one (or both) of them so that they are on the
same network.

| Dec 15 23:13:54 HaPPy kernel: eth0: Accton MPX EN5251B rev 17 at 0xe082b000,
| 00:30:F1:3F:23:A1, IRQ 4.

The NIC works fine.  You have ethernet connectivity.  Now you need to
work on IP connectivity.

-D

-- 
You have heard the saying that if you put a thousand monkeys in a room with a
thousand typewriters and waited long enough, eventually you would have a room
full of dead monkeys.
                                (Scott Adams - The Dilbert principle)
 
http://dman.ddts.net/~dman/

Attachment: pgpMikDbjtjpZ.pgp
Description: PGP signature


Reply to: