Fwd: Query on Usage of ISC DHCP Server

Naresh Kumar panthangi72 at gmail.com
Wed Feb 1 11:58:59 UTC 2012


can you let me know as to what is the significance of declaring the empty
subnet declaration?
what i want to achieve is that ,with the relay agent running on 172.18.x.x
and the below config.what changes do i need to do, so that the request from
the relay agent gets an ip address?

one option tht i see is changing the 128.0.0.0 subnet above to 178.0.0.0.
and accordingly the netmask and range of the addresses in the declaration

*default-lease-time 10;*

*class "pool1" {*

* **match if option vendor-class-identifier = "mercadonam";*

*}*

*class "pool2" {*

*        match if option vendor-class-identifier = "mercadonamn";*

*}*

*shared-network "pools" {*

*subnet 128.0.0.0 netmask 128.0.0.0 {*

*authoritative;*

*pool {*

* **allow members of "pool1";*

* **range 128.51.0.1 128.51.255.255;*

* **option subnet-mask 255.255.255.255;*

*}*

*pool {*

* **allow members of "pool2";*

* **range 128.52.0.1 128.52.255.255;*

* **option subnet-mask 255.255.255.255;*

*}*

*}*
*}

*
if suppose i wan to allocate ip addresses in the range 128.0.0.0 to
128.0.255.255  only and if i also want to run the relay agent on
172.18.x.x,
is it possible ? if so what changes am i suppose to do?ll adding the empty
subnet work here ?if so what am i suppose to add in the config file?
how can i declare a empty subnet in my case?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120201/113ce2b9/attachment.html>


More information about the dhcp-users mailing list