DHCP Pool Public and Private Range

Reedhat Leenux bassff at gmail.com
Tue May 22 14:32:59 UTC 2007


Hi,
My server has a pool of PUBLIC and PRIVATE IP's and I noticed that Private
IP range are given first before the Public range.

Below is my setup.

-------------------------
ddns-update-style none;
authoritative;
use-host-decl-names on;

subnet 20x.xxx.xxx.0 netmask 255.255.255.0 {
    range 20x.xxx.xxx.10 20x.xxx.xxx.254;
    option subnet-mask 255.255.255.0;
    option domain-name-servers x.x.x.x;
    option routers x.x.x.y;
    option broadcast-address 255.255.255.192;
    }

subnet 192.168.10.0 netmask 255.255.255.0 {
    range 192.168.10.10 192.168.10.254;
    option subnet-mask 255.255.255.0;
    option domain-name-servers x.x.x.x;
    option routers x.x.x.y;
    }
-------------------------

Am using 'DHCP Server V3.1.0a1'. How can I set this up so that Public IP's
will be first given before the Private ones.

Thanks,
Bass




More information about the dhcp-users mailing list