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.
I am interested in testing if two computers can communicate with each other.
Infrastructure: Computer A - Windows Machine
Computer B - Linux Machine
I am able to successfully ping B from A, but cannot do the same visa versa.
Both A and B are on the same network with the same Netmask of 255.255.255.0
Post your distro and what tools you are using to check your firewall configuration. Also, post exactly what commands you are running on your windows box to ping your linux box and what output you get when you run those commands. Finally, open a console on your linux box and run either:
$ sudo ifconfig
or if you have a root account:
$ su
<enter root password>
# ifconfig
and post the output here.
Last edited by kilgoretrout; 10-01-2010 at 06:12 PM.
Computer A - Windows Machine
Computer B - Linux Machine
I am able to successfully ping B from A, but cannot do the same visa versa.
I'm going to have to read these posts more carefully. Sorry about that.
OK. Reverse the steps then. First check your windows firewall(most likely source of problem). Turn it off and see if you can ping the windows box from linux. If you can, the problem is with the windows firewall configuration. If that doesn't help, open a dos prompt in windows and run:
ipconfig
and post the output here. Post the command you run on the linux box to ping windows and the output.
Last edited by kilgoretrout; 10-02-2010 at 11:00 AM.
Kilgoretrout is correct: newer versions of Windows (Vista, Server 2008 and Windows 7) all disallow "ping" by default. Here's one way to re-enable ping:
The problem does not lie when pinging from Windows, but from pinging from Linux.
You are absolutely correct. And the problem is *caused* by Windows (specifically, the default firewall/network configuration of Windows Vista and higher).
Please read my earlier post and let us know what happens!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.