LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-27-2007, 10:10 AM   #1
luckyally
LQ Newbie
 
Registered: Jul 2007
Posts: 3

Rep: Reputation: 0
Angry 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
 
Old 07-27-2007, 10:29 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.

Last edited by jschiwal; 07-27-2007 at 10:32 AM.
 
Old 07-27-2007, 10:37 AM   #3
luckyally
LQ Newbie
 
Registered: Jul 2007
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 07-27-2007, 04:24 PM   #4
michaelnel
LQ Newbie
 
Registered: Apr 2005
Location: San Francisco, California
Posts: 12

Rep: Reputation: 0
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?

Last edited by michaelnel; 07-27-2007 at 04:29 PM.
 
  


Reply

Tags
as4, cable, connecting, cross, redhat, using



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup PPPOE Server on Linux and let the client over a cross cable. Deepti_s Linux - Networking 4 07-12-2013 12:44 PM
Connecting BigPond Cable with Linux bernard Linux - Networking 4 05-27-2005 01:59 AM
Connecting two linux boxes via cross cable ElPuello Linux - Networking 4 11-10-2004 10:55 AM
Connecting Windows XP laptop to Redhat Box vis Parallel cable RickyM Linux - Networking 4 05-07-2004 08:01 AM
Connecting two pc's across the internet fcuku Linux - Networking 1 02-23-2003 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration