LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-20-2018, 09:51 PM   #1
wesma33
LQ Newbie
 
Registered: Nov 2018
Posts: 1

Rep: Reputation: Disabled
Cannot ping Windows machine on same network


Hello,
I cannot ping my windows machine from my linux machine and vice versa. I get Destination host unreachable. I am able to ping from both boxes outside the network. Windows is discoverable, no firewall restrictions on the linux side. No icmp restrictions as well. No VM is setup.I can also not ssh into my linux box or RDP. I discovered this when I setup xrdp which is enabled and port 3389 is listening. Any ideas? Below is my ip information.
Thank you.

eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.254.31 netmask 255.255.255.0 broadcast 192.168.254.255
inet6 fe80::6867:3058:9d65:a405 prefixlen 64 scopeid 0x20<link>
ether 78:e3:b5:c1:dc:3e txqueuelen 1000 (Ethernet)
RX packets 621006 bytes 103895369 (99.0 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 74399 bytes 7544023 (7.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1210 bytes 161340 (157.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1210 bytes 161340 (157.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:7a:e2:09 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


Windows IP Configuration


Ethernet adapter Ethernet:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Local Area Connection* 1:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Local Area Connection* 3:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . : frontierlocal.net
Link-local IPv6 Address . . . . . : fe80::d92f:c2fc:c194:1a55%7
IPv4 Address. . . . . . . . . . . : 192.168.254.22
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.254.254

Ethernet adapter Bluetooth Network Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
 
Old 12-20-2018, 11:43 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
You try to ping 192.168.254.22? It’s a wireless interface, so I wonder whether the router or access point connects it to the wired network that your Linux PC is attached to.

Try with a wired connection on the Windows PC. Or if you have other wireless devices, do they have connectivity to the Linux PC?

You can also use tcpdump and/or wireshark to trace packets and see if there is any reply to ARP requests.
 
Old 12-27-2018, 04:12 PM   #3
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,853

Rep: Reputation: 161Reputation: 161
How Windows machine connect to Linux machine, through wire or wireless network?
 
Old 12-27-2018, 07:09 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
For testing purposes, can up ping the router from both machines?
 
Old 01-25-2019, 03:23 PM   #5
hafeezisbad
Member
 
Registered: Nov 2007
Posts: 32

Rep: Reputation: 0
The problem is not your windows or linux , if your iptables and firewall services is stopped on both

if your able to resolve and ping your wifi router , or use ping to default gateway or internet address then

The issue is with your wifi router , in wireless setting AP isolation option try to disable

this option prohibits , wifi devices to communicate to lan or with in wifi hosts

check and should fix the issue hopefully
 
  


Reply



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
I cannot ping with command 'ping IP' address but can ping with 'ping IP -I eth0' sanketmlad Linux - Networking 2 07-15-2011 05:32 AM
How to transfer files from a linux machine to a windows machine which are not in the same network Lakshmi Yallampalli Linux - Networking 6 07-16-2010 04:50 AM
(Mepis) Windows machine cannot ping linux machine by IP mabtjie Linux - Networking 1 11-08-2008 09:54 AM
Cannot ping other machine on the same LAN even by IP foojoy Linux - Networking 1 03-26-2008 01:51 AM
prevent users to run the same script at the same time, on the same machine pvpnguyen Programming 2 09-05-2007 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:19 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
Open Source Consulting | Domain Registration