[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Using a seperate DHCP server?



Angel Gabriel wrote:

I would like to know how I can keep my current DHCP server, and still add a terminal server into my network. Is it possible? I don't want to mess around with my current setup, as it is also my gateway, but it would be nice if I could configure it to get my terminals to boot. Can someone send me a working example? Or point me in the direction of a website?


Yes, it is possible.


see the man pages for
dhcp-options
dhcpd
dhcpd.conf

You also need to prevent your existing DHCP server from serving the booting LTSP terminals. This can be done by separating your DHCP Clients by class - MSFT, Linux, PXE, and Etherboot.

Basically, tell your win server DHCP to only issue leases to members of class MSFT.

And then, in /etc/dhcpd.conf


class "eb-clients" {
match if substring (option vendor-class-identifier, 0, 9) = "Etherboot";
}


class "linux-dhcpc" {
match if substring (option vendor-class-identifier, 0, 5) = "Linux";
}


class "ms-clients" {
        match if substring (option vendor-class-identifier, 0, 4) = "MSFT";
       }


class "PXEClients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
}




and then in your shared-network stanza, do something like this ;




shared-network WORKSTATIONS { subnet 192.168.0.0 netmask 255.255.255.0 {



   pool {
         allow members of "eb-clients";
         allow members of "linux-dhcpc";
         allow members of "PXEClients";
         deny members of "ms-clients";

         range dynamic-bootp 192.168.0.100 192.168.0.253;
    }



# un-comment this bit if you want to serve win clients.
#    pool {
#         allow members of "ms-clients";
#         deny members of "eb-clients";
#         deny members of "linux-dhcpc";
#         deny members of "PXEClients";
#          range dynamic-bootp 192.168.0.100 192.168.0.120;
#     }




HTH, Steve






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]