How to specify IPv6 link-local bind address in smb.conf?
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Popsicle Puzzles
--
Chapters
00:00 How To Specify Ipv6 Link-Local Bind Address In Smb.Conf?
00:51 Accepted Answer Score 8
01:16 Answer 2 Score 2
01:57 Thank you
--
Full question
https://superuser.com/questions/1029279/...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#samba #ipv6
#avk47
ACCEPTED ANSWER
Score 8
After hours of struggling, try, error and reading source code.
Everything works well but you have to specify correctly. When using IPv6 LinkLocal addresses you have to specify the interface with the "%" notation AND the prefix length in the end.
Interfaces = {Full-IPv6-address}%{interface}/{prefix length}
smb.conf (SAMPLE):
interfaces = fe80::114%eth0/64
ANSWER 2
Score 2
The best way to deal with IPv6 is not to use link local adresses but unique local instead.
Looks like "bind interfaces only" option makes IPv6 link local address not listened even if correctly written in smb.conf
I've tested successfully the use of IPv6 unique local address on debian linux and windows 10 to exchange files via samba from a linux server to a windows workstation.
In my configuration, the unique local address have been manualy configured in debian and windows so the SLAAC is still working to provide global IPv6 address. No need to use DHCPv6 to use this type of address.