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.
[-- 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 --]
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