Skip to contentSkip to conversation

error - ? - Address already in use

DISCUSSION lejeczek 2 participants 3 messages Apr 13, 2022 – Apr 14, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

lejeczek

author
#1 lore raw

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.

#2 lore raw
Quoted 12 lines · On Wed, 13 Apr 2022 18:45:24 +0100 lejeczek <[email protected]> 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

Quoted 3 lines

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.

Signature · 1 line
{ "github":"github.com/shuLhan", "site":"kilabit.info" }
author
#3 lore raw
Quoted 15 lines · Shulhan
Quoted 12 lines · On Wed, 13 Apr 2022 18:45:24 +0100 lejeczek <[email protected]> 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

Quoted 7 lines
Quoted 3 lines

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