Eric Mosley wrote:
> I have a very simple problem I think. I can't ping between two machines.
>
> I have 2 redhat 5.1 machines, one HP desktop called orange and one laptop
> called apple. Connected together with an 8 port hub using RJ-45 cables.
> The laptop has a Xircom card and the HP has a 3com card.
> The 2 lights light up on the hub when they're all connected.
> I can ping localhost on both machines,
> I can ping the network card on both machines.
> I can't ping either machine from the other.
Given that you're ifconfig and route output look OK, I would suspect
the cabling or the hub. Does the TX/RX light on the remote machine
flash when you ping it?
> If I can ping the IP assigned to the network cards does that mean the network
> cards are up and running properly?
Not necessarily. It just means that those addresses belong to a local
interface and have a route. However, it does appear that both ethernet
interfaces are correctly configured.
> Any reasons you can think for the above?
>
> The rest of this mail is the output of "route" and "ifconfig" on both machines
> and anything else I can think off that might help!
The output indicates that everything is configured correctly.
NB: if you have to use a mailer which can't handle LF-terminated
lines, and reformats the text automatically, you should include config
files and command output as MIME attachments.
> Some questions on the dumps below:
> In the /etc/sysconfig/network file, if theres NO gateway, should the lines for
> GATEWAY be
> GATEWAY=""
> GATEWAYDEV=""
> or
> GATEWAYDEV=eth0
> GATEWAY=
I don't think that it matters. If `GATEWAY' is null, the scripts
shouldn't attempt to configure a default route.
> In my /var/logs/messages file on the laptop the following lines don't look
> promising...
> Feb 21 14:56:37 apple kernel: loading device 'eth0'...
> Feb 21 14:56:37 apple kernel: eth0: Xircom: port 0x300, irq 5, hwaddr
>00:80:C7:6B:E2:6E
> Feb 21 14:56:37 apple cardmgr[226]: executing: './network start eth0'
> Feb 21 14:56:42 apple kernel: eth0: auto negotation failed; using 10mbs
> Feb 21 14:56:42 apple kernel: eth0: media 10BaseT, silicon revision 4Feb
AFAIK, this just means that the card tried to negotiate 10/100 Mbps
with the hub, and fell back to 10 Mpbs when the hub wouldn't cooperate
(presumably the hub is only 10 Mbps).
--
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]