Community discussions

MikroTik App
 
thietbivesinhso1
just joined
Topic Author
Posts: 1
Joined: Sat Apr 06, 2019 7:50 am

How to manual set IPv6 link-local address on interface?

Wed Apr 10, 2019 6:27 am

Hello,
my ISP assigned me an IPv6 /48 prefix. For routing the ISP instructed me to assign the link-local address "fe80::<prefix>"
to my wan interface and to setup default route to "fe80::1" through wan interface.

My problem:
I cannot set the link-local address on my wan interface, i always get the error "Couldn't add New IPv6 Address - can not add link local address (6)".
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1782
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: How to manual set IPv6 link-local address on interface?

Wed Apr 10, 2019 12:16 pm

Hey

Link-local is set automatically, and all adresses are in fe80:0:0:0/64 range and so can communicate. If it's somehow gone, just disable and enable interface. It will be auto added.
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: How to manual set IPv6 link-local address on interface?

Wed Apr 10, 2019 6:12 pm

... assign the link-local address "fe80::<prefix>" to my wan interface ...
Unfortunately for you, current RouterOS doesn't allow manually assigned link-local addresses.
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: How to manual set IPv6 link-local address on interface?

Thu Apr 11, 2019 5:14 pm

Hello,
my ISP assigned me an IPv6 /48 prefix. For routing the ISP instructed me to assign the link-local address "fe80::<prefix>"
to my wan interface and to setup default route to "fe80::1" through wan interface.

My problem:
I cannot set the link-local address on my wan interface, i always get the error "Couldn't add New IPv6 Address - can not add link local address (6)".
Maybe you could assign unique local unicast address from fc00::/7?
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: How to manual set IPv6 link-local address on interface?

Thu Apr 11, 2019 5:36 pm

Only if ISP agrees to route prefix to that address. Which they might not be too eager to do, if they already have established system with link-local addresses.
 
jadehart
just joined
Posts: 3
Joined: Tue Jun 16, 2020 6:38 pm

Re: How to manual set IPv6 link-local address on interface?

Tue Jun 16, 2020 6:43 pm

is your outbound interface bridged with your inbound interfaces? Mine was. When I deleted my WAN interface from my bridge, both my bridge and my WAN interface populated with a link-local IP address in my IPv6 address table.