Can't Ping Linux CentOS 5.3 Machine to XP SP2 Windows Machine
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The problem was only with Local Area Network Driver, it was not working properly, I used the correct driver and assigned IP address 192.168.1.5 and mask 255.255.255.0 with leaving default gateway blank.
Thanks for everyone who tried to help me, I appreciate all your efforts
Distribution: Suse, RedHat, CentOS, Solaris, Windows
Posts: 38
Rep:
You used "traceroute" command from LINUX on Windows IP and LINUX IP, obviously you would be able to ping/trace LINUX IP from LINUX, as the result shows.
Your result shows that you can also trace the Windows IP from LINUX. It means you can also ping it. You didn't post the result.
You also did not post the result of trace "tracert 192.168.1.4" from Windows???
If you can ping from LINUX to Windows, but you can't ping from Windows to Linux, says that your CentOS is blocking the traffic from Outside. Check your firewall/security
You used "traceroute" command from LINUX on Windows IP and LINUX IP, obviously you would be able to ping/trace LINUX IP from LINUX, as the result shows.
Your result shows that you can also trace the Windows IP from LINUX. It means you can also ping it. You didn't post the result.
You also did not post the result of trace "tracert 192.168.1.4" from Windows???
If you can ping from LINUX to Windows, but you can't ping from Windows to Linux, says that your CentOS is blocking the traffic from Outside. Check your firewall/security
The problem already solved as you see in the post above
1. Login to Linux root, you will get this prompt: [root@localhost ~]# :
2. Just assign an IP address to Linux ethernet card using this command:
[root@localhost ~]# ifconfig eth0 192.168.1.4 netmask 255.255.255.0 up
3. Start network services using this command:
[root@localhost ~]# /etc/init.d/network start
4. Go to your second computer which has windows, go to control panel, then network connections, check LAN settings, go to properties of TCP/IP protocol and assign IP address 192.168.1.5 and subnet mask: 255.255.255.0 , leave the gateway empty.
5. Connect both computers via crossOVER cable. You will get notification on windows XP on the bar below that local area network is connected.
6. Make sure that firewall is turned off on Windows XP.
7. Ping from linux to windows and vise verse, it should work fine
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.