Development discussion of WireGuard
 help / color / mirror / Atom feed
* Multiple unreachable
@ 2020-04-26 21:01 Kent Friis
  0 siblings, 0 replies; only message in thread
From: Kent Friis @ 2020-04-26 21:01 UTC (permalink / raw)
  To: wireguard

I have a pretty simple Wireguard setup between two machines. The power
supply in my brothers server died, so the tunnel is of course down. My
machine is running Linux 5.6.7 (from kernel.org, no patches or out of
tree drivers) with in-kernel Wireguard.

To see if he has gotten his server back up, I tried to ping it (via the
tunnel). That gave more unreachable responses than expected (note the
sequence number):

PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data.
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
...
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
From 172.24.0.1 icmp_seq=1 Destination Host Unreachable
ping: sendmsg: Destination address required
^C
--- 172.16.1.1 ping statistics ---
1 packets transmitted, 0 received, +50 errors, 100% packet loss, time 0ms

172.24.0.1 is my end.
172.16.1.1 is my brother (not online)

rc.wireguard:
ip link add dev wg0 type wireguard
wg setconf wg0 /etc/wireguard/wg0.conf
ip address add dev wg0 172.24.0.1
ip link set up dev wg0
ip route add 172.16.1.0/24 dev wg0

wg0.conf:
[Interface]
PrivateKey = removed
ListenPort = 51820

[Peer]
PublicKey = also removed
AllowedIPs = 172.16.1.0/24

My PC has been rebooted since the tunnel was last up, so Wireguard has no
ip address for the other end.

This is not causing any problems that I've noticed, but I assume there is
a bug somewhere to give this many errors. Pinging an unreachable host on the
LAN only gives one "Host Unreachable" message per sequence number.

-Kent

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-06 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26 21:01 Multiple unreachable Kent Friis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).