Re: [Samba] IPv6?
- Date: Tue, 11 Apr 2017 15:45:24 +0100
- From: David Holder via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] IPv6?
The answers are in the links but I'll expand a little below! 😉
> How can this be? Everything I have read about SMB for the last 20 years or so has said that it is based entirely on NetBIOS, and has no concept even of IPv4; that it is NBT that translates NetBIOS to run over IPv4.
SMB does not have to be carried by NetBIOS. The too protocols can be decoupled. This is called raw-SMB (on port 445) and is carried by TCP not NetBIOS. This has been the default for Windows and other platforms since the inception of Active Directory. There is a bit more detail in http://www.ipv6consultancy.com/ipv6blog/wp-content/uploads/sambaxp2011deployingsambainipv6networks.pdf and some of my earlier presentations.
> The slide show indicates that you have to use DNS for name resolution.
Nope. See slide 9 & 10. It is common to use DNS but any IPv6 enabled name resolution method might be used (depending on the situation).
> Does that mean that if you have a DNS AAAA record, then it will use IPv6?
Usually, yes. BUT it is quite complex. See RFC 6724 and RFC 6555. These two RFCs do not provide the full answer. I would strongly recommend IPv6 training, such as ours (see www.ipv6training.com <http://www.ipv6training.com> ) as this is far from simple. It makes IPv6 consultants very happy though. 😉
>What about mDNS?
LLMNR, mDNS (aka Bonjour) can all provide IPv6 addresses but it might not be possible to use them for example if the nodes involved are not on the same link.
> For that matter, why don't Windows workstations appear to register their link local addresses with the Windows' Sever dynamic dns foo.local domain?
Link local addresses should never be registered in DNS. However, they can be used in LLMNR and mDNS.
Dr David Holder CEng FIET MIEEE
Erion Ltd, An Cala, Inverkirkaig, Lochinver, Sutherland, IV27 4LR, UK
Reception: +44 (0)1422 207000
Direct Dial: +44 (0)131 2026317
Registered in England and Wales. Registered Number 3521142
Registered Office: Newtons, 49 Coniscliffe Road, Darlington, County Durham, DL3 7EH, UK
VAT Number: GB 698 3633 78
From: Phillip Susi [mailto:phillsusi@xxxxxxxxx] On Behalf Of Phil Susi
Sent: 11 April 2017 15:23
To: David Holder <david.holder@xxxxxxxxxxx>
Subject: Re: [Samba] IPv6?
On 4/11/2017 9:24 AM, David Holder wrote:
> Hi Phil,
> NBT name resolution is IPv4 only. Samba does work over IPv6, but
> NetBIOS name resolution is and always will be IPv4 only. It is a
> feature of the protocol not Samba.
How can this be? Everything I have read about SMB for the last 20 years or so has said that it is based entirely on NetBIOS, and has no concept even of IPv4; that it is NBT that translates NetBIOS to run over IPv4.
The slide show indicates that you have to use DNS for name resolution.
Does that mean that if you have a DNS AAAA record, then it will use IPv6? What about mDNS? For that matter, why don't Windows workstations appear to register their link local addresses with the Windows' Sever dynamic dns foo.local domain?
To unsubscribe from this list go to the following URL and read the