* Wireguard fails to start when adding IPv6 to AllowedIP
@ 2019-03-03 7:56 XRP
2019-03-20 22:36 ` Roman Mamedov
0 siblings, 1 reply; 2+ messages in thread
From: XRP @ 2019-03-03 7:56 UTC (permalink / raw)
To: wireguard
Wireguard fails to start when adding an IPv6 to AllowedIP.
Example Config:
[Interface]
PrivateKey = 0OpsgK/Wl7VJC2I49UiGL91wBlbqN+XP0R+bSH+VL2w=
MTU = 1200
Address = 10.0.0.5/24,fdb8:a70c:b109:9935::1/64
[Peer]
PublicKey = hk7hdCE2vKFu895RiCYhQTK6V9+zhnI+KI46VVSx1DA=
AllowedIPs = 10.0.0.1/24,fdb8:a70c:b109:9935::/64
Endpoint = 127.0.0.1:50300
Here's what happens when I try to start the config with wg-quick:
# wg-quick up wg1
[#] ip link add wg1 type wireguard
[#] wg setconf wg1 /dev/fd/63
[#] ip address add 10.0.0.5/24 dev wg1
[#] ip address add fdb8:a70c:b109:9935::1/64 dev wg1
[#] ip link set mtu 1200 up dev wg1
[#] ip route add fdb8:a70c:b109:9935::/64 dev wg1
RTNETLINK answers: No such device
[#] ip link delete dev wg1
I could reproduce this behaviour under ArchLinux and OpenSuse.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Wireguard fails to start when adding IPv6 to AllowedIP
2019-03-03 7:56 Wireguard fails to start when adding IPv6 to AllowedIP XRP
@ 2019-03-20 22:36 ` Roman Mamedov
0 siblings, 0 replies; 2+ messages in thread
From: Roman Mamedov @ 2019-03-20 22:36 UTC (permalink / raw)
To: XRP; +Cc: wireguard
On Sun, 03 Mar 2019 08:56:12 +0100
XRP <xrp@airmail.cc> wrote:
> [#] ip link set mtu 1200 up dev wg1
> [#] ip route add fdb8:a70c:b109:9935::/64 dev wg1
> RTNETLINK answers: No such device
IPv6 cannot work with MTU less than 1280 on the device.
--
With respect,
Roman
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-20 22:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-03 7:56 Wireguard fails to start when adding IPv6 to AllowedIP XRP
2019-03-20 22:36 ` Roman Mamedov
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).