Unable to ping a Windows machine from Linux

Ajay Nair

I have Windows installed on my laptop, connected to the router wirelessly with IP 192.168.1.5. My desktop is running Linux, connected to the same router (wired) with IP 192.168.1.2. When I do a ping from Windows to Linux, I get a response, but it doesn't work in the other direction. What could be the problem?

slm

This sounds like your Windows firewall is blocking ICMP packets is what the command ping is using to solicit responses from other computers on the network.

I would try to ping the WI-FI router from both systems to confirm that outbound is working against a 3rd machine (which it likely is, since you're getting IP addresses from the router).

Your router is likely to have the IP address 192.168.1.1 so I'd try pinging that.

From windows:

$ ping 192.168.1.1

From Linux:

$ ping 192.168.1.1

If these work then it's highly likely that the Windows firewall is to blame here for blocking your ping attempts.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Unable to ping from VM's to host machine

From Dev

Unable to start Windows Firewall or Unable to ping your machine from another one (Some services do not start in Windows Vista or Windows 7)

From Dev

Can't ping from Windows to Linux server

From Dev

Can't ping from Windows to Linux server

From Dev

Cannot ping VM hosted on Windows server from another PC machine

From Dev

How to remote Shutdown Linux machine from Windows?

From Dev

Linux mount nfs disk from windows machine

From Dev

cannot ssh from linux to windows machine

From Dev

Java: Accessing Windows files from Linux machine

From Dev

Access to a windows 7 machine from a linux machine on a LAN

From Dev

Access directory on Linux machine from a Windows 7 machine over WAN

From Dev

Could not fetch snmp values of a windows machine from linux machine

From Dev

Get the ping from a remote target with Qt (Windows/Linux)

From Dev

Unable to ssh into a linux machine

From Dev

Displaying windows from a Windows virtual machine on a Linux host window manager

From Dev

Can't open or ping my ISP's authentication page only from my linux machine

From Dev

Can't ping from Host machine (Linux Mint) to Guest Os (Ubuntu)

From Dev

Windows 7 can't ping a Linux server via its hostname (IP address works, virtual Linux machine works)

From Dev

Docker - cant ping from mac to a machine from host - ping timeout

From Dev

Delete million of files from Windows machine using Java on Linux

From Dev

how to copy a file over ssh from a remote machine?(linux to windows)

From Dev

Accessing a remote Windows "Git Bash" prompt from a Linux machine?

From Dev

Can I connect to Windows machine from Linux shell?

From Dev

Add more disk space for linux from windows in a dual bootable machine

From Dev

Execute command on linux virtual machine (or server) from windows commandline

From Dev

Copy file from linux to remote windows machine using staf

From Dev

Running Pyplot over Putty ssh from windows machine to linux

From Dev

Develop from Windows, run on a command-line Linux virtual machine

From Dev

Piping commands into a NetCat shell on a Windows machine from Linux?

Related Related

  1. 1

    Unable to ping from VM's to host machine

  2. 2

    Unable to start Windows Firewall or Unable to ping your machine from another one (Some services do not start in Windows Vista or Windows 7)

  3. 3

    Can't ping from Windows to Linux server

  4. 4

    Can't ping from Windows to Linux server

  5. 5

    Cannot ping VM hosted on Windows server from another PC machine

  6. 6

    How to remote Shutdown Linux machine from Windows?

  7. 7

    Linux mount nfs disk from windows machine

  8. 8

    cannot ssh from linux to windows machine

  9. 9

    Java: Accessing Windows files from Linux machine

  10. 10

    Access to a windows 7 machine from a linux machine on a LAN

  11. 11

    Access directory on Linux machine from a Windows 7 machine over WAN

  12. 12

    Could not fetch snmp values of a windows machine from linux machine

  13. 13

    Get the ping from a remote target with Qt (Windows/Linux)

  14. 14

    Unable to ssh into a linux machine

  15. 15

    Displaying windows from a Windows virtual machine on a Linux host window manager

  16. 16

    Can't open or ping my ISP's authentication page only from my linux machine

  17. 17

    Can't ping from Host machine (Linux Mint) to Guest Os (Ubuntu)

  18. 18

    Windows 7 can't ping a Linux server via its hostname (IP address works, virtual Linux machine works)

  19. 19

    Docker - cant ping from mac to a machine from host - ping timeout

  20. 20

    Delete million of files from Windows machine using Java on Linux

  21. 21

    how to copy a file over ssh from a remote machine?(linux to windows)

  22. 22

    Accessing a remote Windows "Git Bash" prompt from a Linux machine?

  23. 23

    Can I connect to Windows machine from Linux shell?

  24. 24

    Add more disk space for linux from windows in a dual bootable machine

  25. 25

    Execute command on linux virtual machine (or server) from windows commandline

  26. 26

    Copy file from linux to remote windows machine using staf

  27. 27

    Running Pyplot over Putty ssh from windows machine to linux

  28. 28

    Develop from Windows, run on a command-line Linux virtual machine

  29. 29

    Piping commands into a NetCat shell on a Windows machine from Linux?

HotTag

Archive