Good day I would like to setup a SMB file server and DC that uses IPv4 and IPv6 dual stack. However I see certain problems; for instance, when the IPv6 prefix is dynamic, this means the IPv6 of the DC would also dynamically change. Is there something special I should consider when provisioning a SAMBA AD DC with IPv6, or will it "just work" ? Thanks, best Tobias
On Wed, 3 Jul 2024 09:03:27 +0200 "Pluess, Tobias via samba" <samba at lists.samba.org> wrote:> Good day > > I would like to setup a SMB file server and DC that uses IPv4 and > IPv6 dual stack. > However I see certain problems; for instance, when the IPv6 prefix is > dynamic, this means the IPv6 of the DC would also dynamically change.Your DCs IP shouldn't change, this sounds like your external IP is changing, you also shouldn't connect any Samba machine directly to the internet.> > Is there something special I should consider when provisioning a > SAMBA AD DC with IPv6, or will it "just work" ?It will probably work with IPv6, but being old, I cannot see the point to IPv6 internally, do you really have/need over 16 million computers ? It is your choice however, so give it a try. Rowland
Hi, Am 03.07.24 um 09:03 schrieb Pluess, Tobias via samba:> Good day > > I would like to setup a SMB file server and DC that uses IPv4 and IPv6 dual > stack. > However I see certain problems; for instance, when the IPv6 prefix is > dynamic, this means the IPv6 of the DC would also dynamically change.sounds like you want to use a prefix that is dynamically assigned from your Internet provider for internal servers. Basically this should work, but you need to be sure DNS is updated every time the prefix and in result the Host IPv6 address changes. I don't think there is a implementation within SAMBA to automatically reflect those changes as it is not a good idea to have changing addresses on SAMBA servers. That brings me to an alternative for internal addressing when your assigned prefix is dynamic: Use ULA addresses for your internal services. That works well with SAMBA. With IPv6 it is fine (and even designed behaviour) to have multiple addresses per interface with different routes, so your hosts can have an ULA address for communication with your services and addresses from your ISP assigned prefix for external communication.> Is there something special I should consider when provisioning a SAMBA AD > DC with IPv6, or will it "just work" ?It just works, at least if your addresses are static. When your SAMBA host has an ULA and dynamic external addresses I'd look that it is only listening on the ULA address. Regards Bernhard> > Thanks, > best > Tobias
On 2024-07-03 at 09:03 +0200 Pluess, Tobias via samba sent off:> I would like to setup a SMB file server and DC that uses IPv4 and IPv6 dual > stack. > However I see certain problems; for instance, when the IPv6 prefix is > dynamic, this means the IPv6 of the DC would also dynamically change. > > Is there something special I should consider when provisioning a SAMBA AD > DC with IPv6, or will it "just work" ?you should internally use a fixed unique local address prefix if you only otherwise have a dynamically assigned public prefix for your domain. Bj?rn -- SerNet GmbH - Bahnhofsallee 1b - 37081 G?ttingen phone: +495513700000 mailto:contact at sernet.com AG G?ttingen: HR-B 2816 - https://www.sernet.com Manag. Directors Johannes Loxen and Reinhild Jung data privacy policy https://www.sernet.de/privacy
Apparently Analagous Threads
- ipv6 with Samba-AD-DC?
- Asterisk (1.8-beta2) and SIP IPv4/IPv6 dual-stack possibilities
- IPV4 is nearly depleted, are you ready for IPV6?
- ipv6 with Samba-AD-DC?
- ICMPv6 Neighbour Solication request is not answered by linux when IPv6 address is assigned via Netlink code.