LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Connect Redhat linux to window xp by cross over cable (https://www.linuxquestions.org/questions/linux-newbie-8/connect-redhat-linux-to-window-xp-by-cross-over-cable-832972/)

crahuldba@gmail.com 09-18-2010 01:41 AM

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.

xeleema 09-18-2010 01:42 AM

Greetingz!

Make sure the Windows Firewall is turned off. :)

divyashree 09-18-2010 02:37 AM

Quote:

Originally Posted by crahuldba@gmail.com (Post 4101401)
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.

prayag_pjs 09-18-2010 03:22 AM

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

jmc1987 09-18-2010 03:39 AM

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.


All times are GMT -5. The time now is 01:26 AM.