You are not logged in.

#1 2026-07-26 18:05:15

samdavid6
Member
Registered: 2008-09-18
Posts: 46

Unable to ssh to local network devices. Ping returns my own IP addres

I have two PCs on my home network, they have sshd running and there are no errors.

When I try to reach them from my main PC, I get "host unreachable"

When  I try to ping them, I get

[sam@sam-arch ~]$ ping 192.168.1.238
PING 192.168.1.238 (192.168.1.238) 56(84) bytes of data.
From 192.168.1.100 icmp_seq=1 Destination Host Unreachable
From 192.168.1.100 icmp_seq=2 Destination Host Unreachable
From 192.168.1.100 icmp_seq=3 Destination Host Unreachable

Note that 192.168.1.238 is the computer I am trying to reach.  192.168.1.100 is my main PC.

So I know that my main PC is telling me it cannot reach the destination, can anyone suggest a way to troubleshoot this so that I can find out where the error is?

Same issue with traceroute

[sam@sam-arch ~]$ traceroute 192.168.1.238
traceroute to 192.168.1.238 (192.168.1.238), 30 hops max, 60 byte packets
 1  sam-arch (192.168.1.100)  3071.842 ms !H  3071.810 ms !H  3071.804 ms !H

Offline

#2 2026-07-26 18:29:13

5hridhyan
Member
From: A fake and corrupt democracy
Registered: 2025-12-25
Posts: 963
Website

Re: Unable to ssh to local network devices. Ping returns my own IP addres

from your main PC

ip neighbor show 192.168.1.238

Offline

#3 2026-07-26 18:40:46

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 718

Re: Unable to ssh to local network devices. Ping returns my own IP addres

samdavid6 wrote:

can anyone suggest a way to troubleshoot this so that I can find out where the error is?

From 192.168.1.238:

# ip addr
# ip route
# nft list ruleset

Offline

#4 2026-07-26 19:20:44

samdavid6
Member
Registered: 2008-09-18
Posts: 46

Re: Unable to ssh to local network devices. Ping returns my own IP addres

5hridhyan wrote:

from your main PC

ip neighbor show 192.168.1.238

When I try this I get

[sam@sam-arch ~]$ ip neighbor show 192.168.1.238
192.168.1.238 dev enp14s0 FAILED 

Is this telling me that the destination network has failed?  Both PCs are online and able to connect to the internet.

Offline

#5 2026-07-26 19:26:53

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,690

Re: Unable to ssh to local network devices. Ping returns my own IP addres

5hridhyan wrote:
ip neighbor show 192.168.1.238

I learned something today.  Thank you.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2026-07-26 19:30:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,981

Re: Unable to ssh to local network devices. Ping returns my own IP addres

Now learn to be lazy and try just "ip n" wink

Offline

#7 2026-07-26 19:59:03

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 718

Re: Unable to ssh to local network devices. Ping returns my own IP addres

samdavid6 wrote:

192.168.1.238 dev enp14s0 FAILED

It's talling you that the error is on data link layer: your main PC can't determine MAC address of 192.168.1.238 to send frames to.

samdavid6 wrote:

Both PCs are online and able to connect to the internet.

How 192.168.1.100 and 192.168.1.238 are physically connected to each other?

Offline

#8 2026-07-26 20:25:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,981

Re: Unable to ssh to local network devices. Ping returns my own IP addres

You're also getting this if the IP is simply wrong (since there was a futile attempt to ping it) and eg. 192.168.1.138

dimich wrote:
samdavid6 wrote:

can anyone suggest a way to troubleshoot this so that I can find out where the error is?

From 192.168.1.238:

# ip addr
# ip route

Offline

#9 2026-07-26 21:20:49

samdavid6
Member
Registered: 2008-09-18
Posts: 46

Re: Unable to ssh to local network devices. Ping returns my own IP addres

seth wrote:

You're also getting this if the IP is simply wrong (since there was a futile attempt to ping it) and eg. 192.168.1.138

dimich wrote:
samdavid6 wrote:

can anyone suggest a way to troubleshoot this so that I can find out where the error is?

From 192.168.1.238:

# ip addr
# ip route

ip addr returns

sam@Chromebook-Linux ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether c8:e2:65:e3:26:37 brd ff:ff:ff:ff:ff:ff

and

ip route says

[sam@Chromebook-Linux ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether c8:e2:65:e3:26:37 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.238/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
       valid_lft 86348sec preferred_lft 86348sec

My Main PC is connected to the router through ethernet, the other PCs are connected to the router through wifi

Last edited by samdavid6 (2026-07-26 21:32:43)

Offline

#10 2026-07-26 21:28:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,981

Re: Unable to ssh to local network devices. Ping returns my own IP addres

Those are both "ip a", redact the line that starts w/ "inet6 2001:" (it's a globally  routable IP in a Westminster)

Can you ping 192.168.1.100 from 192.168.1.238 ?

Offline

#11 2026-07-26 21:35:42

samdavid6
Member
Registered: 2008-09-18
Posts: 46

Re: Unable to ssh to local network devices. Ping returns my own IP addres

Woops.  I didnt reallise that..

here is my ip route

[sam@Chromebook-Linux ~]$ ip route
default via 192.168.1.254 dev wlan0 proto dhcp src 192.168.1.238 metric 600 
127.0.0.0/8 dev lo proto kernel scope link src 127.0.0.1 metric 30 
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.238 metric 600 

Offline

#12 2026-07-26 21:37:22

samdavid6
Member
Registered: 2008-09-18
Posts: 46

Re: Unable to ssh to local network devices. Ping returns my own IP addres

Ps: I can ping the 192.168.1.100 from the 192.168.1.238

Last edited by samdavid6 (2026-07-26 21:40:35)

Offline

#13 2026-07-26 21:47:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,981

Re: Unable to ssh to local network devices. Ping returns my own IP addres

Can you ping 192.168.1.238 from 192.168.1.100 while the ping to 192.168.1.100 from 192.168.1.238 is running?
Might be some powersaving and the WLAN doesn't receive cold inbound traffic while idling?

Offline

#14 2026-07-26 21:49:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,690

Re: Unable to ssh to local network devices. Ping returns my own IP addres

Is 192.168.1.238 a Linux box?   Is it also a /24 address mask?
Is there a a router or switch involved?   Are you using static or dynamic addresses?
Is there any other device on the network that might me using the same address as something else on the network?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#15 2026-07-26 21:57:50

samdavid6
Member
Registered: 2008-09-18
Posts: 46

Re: Unable to ssh to local network devices. Ping returns my own IP addres

seth wrote:

Can you ping 192.168.1.238 from 192.168.1.100 while the ping to 192.168.1.100 from 192.168.1.238 is running?
Might be some powersaving and the WLAN doesn't receive cold inbound traffic while idling?

I can.  While I am pinging 100 from 238, I can also ping 238 from 100 and even ssh to it.

Now I have to find out why my kaptop (plugged in always on) is not respondig to traffic if the wifi is not actively being used

Last edited by samdavid6 (2026-07-26 22:00:57)

Offline

#16 2026-07-26 22:03:15

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,690

Re: Unable to ssh to local network devices. Ping returns my own IP addres

ewaller wrote:

Is 192.168.1.238 a Linux box?   Is it also a /24 address mask?
Is there a a router or switch involved?   Are you using static or dynamic addresses?
Is there any other device on the network that might me using the same address as something else on the network?

Disregard.  This is a red herring.

Edit:  Except, possibly, an IP address conflict.

Last edited by ewaller (2026-07-26 22:03:56)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#17 2026-07-26 22:05:30

samdavid6
Member
Registered: 2008-09-18
Posts: 46

Re: Unable to ssh to local network devices. Ping returns my own IP addres

ewaller wrote:

Is 192.168.1.238 a Linux box?   Is it also a /24 address mask?
Is there a a router or switch involved?   Are you using static or dynamic addresses?
Is there any other device on the network that might me using the same address as something else on the network?

Both are linux boxes.  100 is Arch, 238 is a Chromebook repurposed running EndeavourOS - It;s my kids laptop, and he likes the pretty pictures.

Both  are connected through a my router.  The main (100) is connected through ethernet, and the other devices are connected through wifi

Offline

#18 2026-07-26 22:06:23

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 718

Re: Unable to ssh to local network devices. Ping returns my own IP addres

samdavid6 wrote:

My Main PC is connected to the router through ethernet, the other PCs are connected to the router through wifi

Isn't something like "AP Isolation" or other restrictions for wireless clients enabled on the router?

samdavid6 wrote:

Ps: I can ping the 192.168.1.100 from the 192.168.1.238

Can other PCs ping each other?

Also check for firewall on both main PC and other PC. Do you have any of nftables / iptables / iptables-legacy installed?

Offline

#19 2026-07-26 22:08:22

samdavid6
Member
Registered: 2008-09-18
Posts: 46

Re: Unable to ssh to local network devices. Ping returns my own IP addres

I thoight it could be an IP address conflict, but if all my other pcs are hving a problem (we have a  chromebook, and an imac that both run linux), I think it might be a network / config issue.  Both run Endeavour

Offline

#20 2026-07-26 22:25:23

samdavid6
Member
Registered: 2008-09-18
Posts: 46

Re: Unable to ssh to local network devices. Ping returns my own IP addres

Ok, I seem to have fixed it by disabling the 5Ghz wifi and forcing all clients to connect to 2.4Ghz.  I will try re enable 5Ghz and see if it still persists.

Offline

#21 Yesterday 06:29:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,981

Re: Unable to ssh to local network devices. Ping returns my own IP addres

Both run Endeavour

https://bbs.archlinux.org/misc.php?action=rules

I can.  While I am pinging 100 from 238, I can also ping 238 from 100 and even ssh to it.

Fwwi, I severely doubt that this is related to the used band - see https://wiki.archlinux.org/title/Power_ … interfaces
The rtw modules have similar-ish options or it's general ASPM
A kludgy workaround would be to simply ping the _gateway at a low-enough frequency

Offline

#22 Yesterday 09:19:22

samdavid6
Member
Registered: 2008-09-18
Posts: 46

Re: Unable to ssh to local network devices. Ping returns my own IP addres

seth wrote:

Both run Endeavour

https://bbs.archlinux.org/misc.php?action=rules

I can.  While I am pinging 100 from 238, I can also ping 238 from 100 and even ssh to it.

Fwwi, I severely doubt that this is related to the used band - see https://wiki.archlinux.org/title/Power_ … interfaces
The rtw modules have similar-ish options or it's general ASPM
A kludgy workaround would be to simply ping the _gateway at a low-enough frequency

I am aware of the rule, my main pc is just Arch, the hosts I am trying to connect to are Eos.  Not sure if that counts..

Offline

#23 Yesterday 14:33:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,981

Re: Unable to ssh to local network devices. Ping returns my own IP addres

Main question is whether the "kaptop" is running archlinux.

So what kind of wifi chip is it?

lspci -knnd ::2xx

Offline

Board footer

Powered by FluxBB