You are not logged in.

#1 2019-09-03 03:40:03

ache
Member
From: Sorry, I'm french
Registered: 2019-09-03
Posts: 10
Website

Get an IPv6 link-local address

Hi,

If I flush my link-local IPv6 address ? How can I get it back ? Using the EUI-64 method (or another) automatically.
I know, I can make a script using the MAC address and `ip a a`.
I'm looking for the right way to do it, usually, I save everything and reboot the computer. ^^"

Thank you !

Offline

#2 2019-09-03 14:16:06

rsmarples
Member
Registered: 2009-05-12
Posts: 287

Re: Get an IPv6 link-local address

If you use dhcpcd to handle IPV6  then `dhcpcd -n` or `dhcpcd -n $interface` will do the trick.

If not, then just bring the interface down and up again: `ip link set down $interface; ip link set up $interface`

Offline

#3 2019-09-04 07:21:36

ache
Member
From: Sorry, I'm french
Registered: 2019-09-03
Posts: 10
Website

Re: Get an IPv6 link-local address

Thank you !

Bringing the interface down and up again did the trick. ^^

Last edited by ache (2019-09-04 07:22:14)

Offline

Board footer

Powered by FluxBB