Development discussion of WireGuard
 help / color / mirror / Atom feed
* error - ? - Address already in use
       [not found] <077cdb1c-e06c-d2fd-1475-269ed744d5ca.ref@yahoo.co.uk>
@ 2022-04-13 17:45 ` lejeczek
  2022-04-13 19:45   ` Shulhan
  0 siblings, 1 reply; 3+ messages in thread
From: lejeczek @ 2022-04-13 17:45 UTC (permalink / raw)
  To: wireguard

Hi guys

what is below error the symptom of?

-> $ wg-quick up wg-r2
[#] ip link add wg-r2 type wireguard
[#] wg setconf wg-r2 /dev/fd/63
[#] ip -4 address add 10.3.3.254/24 dev wg-r2
[#] ip link set mtu 1320 up dev wg-r2
RTNETLINK answers: Address already in use
[#] ip link delete dev wg-r2

I'll only add that I looked into "obvious" places and found 
nothing.
many thanks, L.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: error - ? - Address already in use
  2022-04-13 17:45 ` error - ? - Address already in use lejeczek
@ 2022-04-13 19:45   ` Shulhan
  2022-04-14  3:14     ` lejeczek
  0 siblings, 1 reply; 3+ messages in thread
From: Shulhan @ 2022-04-13 19:45 UTC (permalink / raw)
  To: lejeczek; +Cc: wireguard

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

On Wed, 13 Apr 2022 18:45:24 +0100
lejeczek <peljasz@yahoo.co.uk> wrote:

> Hi guys
> 
> what is below error the symptom of?
> 
> -> $ wg-quick up wg-r2
> [#] ip link add wg-r2 type wireguard
> [#] wg setconf wg-r2 /dev/fd/63
> [#] ip -4 address add 10.3.3.254/24 dev wg-r2
> [#] ip link set mtu 1320 up dev wg-r2
> RTNETLINK answers: Address already in use
> [#] ip link delete dev wg-r2
> 
> I'll only add that I looked into "obvious" places and found 
> nothing.
> many thanks, L.

My guess is another wg network is already up using the same IP address.
You may check using `wg show` to see the active endpoint or other
net tools like `ip` or `ifconfig` to list of active net devices.

-- 
{ "github":"github.com/shuLhan", "site":"kilabit.info" }

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: error - ? - Address already in use
  2022-04-13 19:45   ` Shulhan
@ 2022-04-14  3:14     ` lejeczek
  0 siblings, 0 replies; 3+ messages in thread
From: lejeczek @ 2022-04-14  3:14 UTC (permalink / raw)
  Cc: wireguard



On 13/04/2022 20:45, Shulhan wrote:
> On Wed, 13 Apr 2022 18:45:24 +0100
> lejeczek <peljasz@yahoo.co.uk> wrote:
>
>> Hi guys
>>
>> what is below error the symptom of?
>>
>> -> $ wg-quick up wg-r2
>> [#] ip link add wg-r2 type wireguard
>> [#] wg setconf wg-r2 /dev/fd/63
>> [#] ip -4 address add 10.3.3.254/24 dev wg-r2
>> [#] ip link set mtu 1320 up dev wg-r2
>> RTNETLINK answers: Address already in use
>> [#] ip link delete dev wg-r2
>>
>> I'll only add that I looked into "obvious" places and found
>> nothing.
>> many thanks, L.
> My guess is another wg network is already up using the same IP address.
> You may check using `wg show` to see the active endpoint or other
> net tools like `ip` or `ifconfig` to list of active net devices.
>
This message is _pretty_ deceptive as it's the 'port' which 
is the culprit - if used already by instantiated wg iface.

btw. @mailman admins - this mailing list has DMARC breaking, 
those of us who use yahoo, delivery of own messages.

thanks, L

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-14  3:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <077cdb1c-e06c-d2fd-1475-269ed744d5ca.ref@yahoo.co.uk>
2022-04-13 17:45 ` error - ? - Address already in use lejeczek
2022-04-13 19:45   ` Shulhan
2022-04-14  3:14     ` lejeczek

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).