[Samba] Samba AD DC, DHCP & Address Assignments

Jim Seymour jseymour at LinxNet.com
Tue Sep 8 13:04:51 UTC 2015

Hi All,

I should have considered this beforehand...  Assumed the info would be
in the Wiki somewhere.  Cannot find.

The way our LAN has been working is clients use DHCP, but all address
assignments are static.  Thus, when a given PC asks "what's my
address?", the DHCP server looks at the MAC address and asks the
configured resolver what is the IP address for the hostname for that
MAC address.


   subnet netmask {

        group {
            server-name "deepthought.example.com";
            option domain-name-servers;
            option subnet-mask;
            option broadcast-address;

            option routers;

            option netbios-name-servers;
            option netbios-node-type 2;

            host somepc.example.com {
                hardware ethernet 0a:1b:2c:3d:4e:5f;
                fixed-address somepc.example.com;

And the zone file on deepthought might read something like...

    somepc    IN    A

In this manner: We always know who's who, and we don't have employees
throwing random things on the LAN and getting addresses.

Problem with the AD DC is that it lives in a sub-domain,
"addc.example.com", and the zone for that sub-domain is a dlz. So...
how do I set/assign client PCs' IP addresses?

Note: My mail server employs *very* aggressive anti-spam
filtering.  If you reply to this email and your email is
rejected, please accept my apologies and let me know via my
web form at <http://jimsun.LinxNet.com/contact/scform.php>.

More information about the samba mailing list