LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Connecting 2 Redhat linux pc's using cross cable (https://www.linuxquestions.org/questions/linux-networking-3/connecting-2-redhat-linux-pcs-using-cross-cable-572740/)

luckyally 07-27-2007 10:10 AM

Connecting 2 Redhat linux pc's using cross cable
 
I have red hat linux AS4 installed on two pc's.i have a cross over cable(cross cable) I am trying to establish communication/connect both pc's via linux AS4..

On both pc's i have configured eth0
pc1 - 192.168.1.10 subnet :255.255.255.0

pc2 - 192.168.1.11 subnet :255.255.255.0

i not able to establish connectivity .. is there something else i need to do apart from this..

I am not able to ping each other ..

However .. i am able to connect using Windows XP on both the pc's using the same configuration and with the same cross cable .. some one please help me ..

BOth systems have dual os installed XP and Redhat linux AS4

Regards,
Shah

jschiwal 07-27-2007 10:29 AM

Run the route command on each computer.
You should see a line like:
Code:

192.168.1.0        *              255.255.255.0  U    0      0        0 eth0
Run ifconfig as well and make sure that the NICs are working. Also check if the firewall on either is blocking your pings.

luckyally 07-27-2007 10:37 AM

I did both of the checks..
AS i said ... with same PC'ss and the same cross cable i am able to ping from windows XP . i have dual os installed on both..
I am perfectly alright with the same setup on windows..

I am not sure how to check the firewall... if some one can help me.

michaelnel 07-27-2007 04:24 PM

Since that is a private network, you can drop the firewall.

"service iptables stop; chkconfig iptables off"

Also, when you are on 192.168.1.10 and issue the command "ping -c3 192.168.1.11", what is the exact output?

Same for the other way around.

Look at the socket where the ethernet cable is plugged in to the computer. Is there a steady LED light? That would be the carrier LED. It should be on steady if things are right at the hardware level.

There should also be a data LED which is probably a different color and flashes as data passes through the interface.

Are the lights looking normal?


All times are GMT -5. The time now is 01:32 PM.