LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-18-2010, 02:41 AM   #1
crahuldba@gmail.com
Member
 
Registered: Apr 2010
Posts: 52

Rep: Reputation: 2
Connect Redhat linux to window xp by cross over cable


Hi everybody
I have two desktop one have rhel 5 and other window xp
i am trying to connect both with cross over cable.
IP for windows system is 192.168.0.1
IP for linux system is 192.168.0.2
I am able to ping my linux system from windows
but unable to ping windows system from linux.
please solve this problem.
 
Old 09-18-2010, 02:42 AM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
Greetingz!

Make sure the Windows Firewall is turned off.
 
Old 09-18-2010, 03:37 AM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,363

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by crahuldba@gmail.com View Post
Hi everybody
I have two desktop one have rhel 5 and other window xp
i am trying to connect both with cross over cable.
IP for windows system is 192.168.0.1
IP for linux system is 192.168.0.2
I am able to ping my linux system from windows
but unable to ping windows system from linux.
please solve this problem.
Allow to linux machine's IP from windows firewall or simply turn the firewall off.
 
Old 09-18-2010, 04:22 AM   #4
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,145
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Hi,

Turn off the Windows Firewall or add the Linux IP in exception in Windows Firewall.

Turn off Linux Firewall using
Quote:
iptables -F
iptables -L
service iptables save
service iptables rest
art

you can do the same
using

Quote:
lokkit

and

Quote:
system-config-firewal
l
 
Old 09-18-2010, 04:39 AM   #5
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 879

Rep: Reputation: 113Reputation: 113
Are you using a gateway IP? It might work with out putting a gateway IP since there is only 2 computers. Trying enableing ip forwarding on your windows machine

http://support.microsoft.com/kb/315236 (shows how to enable IP forwarding on Windows)
http://www.ducea.com/2006/08/01/how-...ding-in-linux/ (shows how to enable it on Linux)

or enable it on linux

Then you can use this setup
Windows
IP: 192.168.0.1
subnet 255.255.255.0
gateway 192.168.0.2 (the gateway is your linux IP if you have ip forwarding enabled on Linux)

Linux
IP: 192.168.0.2
subnet 255.255.255.0
gateway (Leave Blank)

If you have ip forwarding on Linux then do as listed above if you have ip forwarding on your windows then leave your windows gateway blank and on the linux gateway IP put your windows IP there.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:44 PM
How to connect two laptops with the help of a cross cable in fedora 9? Bringo Linux - Networking 4 05-03-2010 04:36 PM
Connecting 2 Redhat linux pc's using cross cable luckyally Linux - Networking 3 07-27-2007 05:24 PM
Connecting two linux boxes via cross cable ElPuello Linux - Networking 4 11-10-2004 11:55 AM
Can't connect to internet with Motorola sb5100 cable modem with redhat 7 Omnius1 Linux - Hardware 3 04-28-2004 01:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:32 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration