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

Re: single Dhcp server on multiple networks



Mike Bird wrote:
On Thu January 15 2009 13:28:19 Rod James Bio wrote:
I was wondering if anyone had tried to configure a single linux dhcp
server to give IP to different network. We have multiple networks here
in our area and I am thinking of using a single dhcp server to serve all
other networks.

It works fine, e.g.:

authoritative;

option nis-domain               "snipped";
option domain-name              "snipped";
option domain-name-servers      192.168.64.3;
option netbios-node-type        8;
option pop-server               192.168.64.19;
option smtp-server              192.168.64.19;
option www-server               192.168.64.20;
default-lease-time              600;
max-lease-time                  7200;

subnet 192.168.65.0 netmask 255.255.255.0 {
        option routers                  192.168.65.1;
        option subnet-mask              255.255.255.0;
        option ntp-servers              192.168.65.3;
        option netbios-dd-server        192.168.65.3;
        option netbios-name-servers     192.168.65.3;
        range dynamic-bootp 192.168.65.33 192.168.65.254;
}

subnet 192.168.72.0 netmask 255.255.252.0 {
        option routers                  192.168.72.1;
        option subnet-mask              255.255.252.0;
        option ntp-servers              192.168.72.3;
        option netbios-dd-server        192.168.72.3;
        option netbios-name-servers     192.168.72.3;
        range dynamic-bootp 192.168.72.33 192.168.72.254;
        range dynamic-bootp 192.168.73.33 192.168.73.254;
}


In this example what is the IP of your DHCP server?


Reply to: