ISC DHCP site specific options

Laxmikant Rashinkar lk at thinlinx.com
Fri Feb 15 23:13:19 UTC 2013


Thank you James.

Now, let's say I modify dhcpd.conf and add site specific options that 
provide an FTP server IP addr (i.e option 161) and a FTP Server 
directory (i.e option 162).

How would I read these values in a Linux DHCP client?

thanks for your help.
L.K

On 02/15/2013 11:43 AM, James Jalbert wrote:
> Not sure if this is what you are looking for, but site options are set in the dhcpd.conf file. Here you can tell the server what to give for routers based on subnet, name server and so on. I have inclided some snips of my config for you to see.
>
> option domain-name-servers 192.168.1.1, 8.8.8.8, 10.10.1.6;
> option domain-search "mydomain", "oher domain";
>
> # Subnet A
> subnet 192.168.1.0 netmask 255.255.248.0 {
> 	option routers 192.168.1.1;
>
> # Subnet B
> subnet 192.168.2.0 netmask 255.255.248.0 {
> 	option routers 192.168.2.1;
> ...
>
> Hope this helps you.
>
> James Jalbert
> Network Administrator
> Eastern Aroostook RSU #39
> Phone: 207-493-4246
> E-Mail: jjalbert at rsu39.org
>
>
>
>>>> Laxmikant Rashinkar <lk at thinlinx.com> 2/15/2013 2:37 PM >>>
> Hi,
>
> I'm hoping someone can help me with this issue because I was not able to
> find anything via google.
>
> I'm using ISC DHCP server on a Linux 32bit system.
>
> 1) How do I configure site specific options?
>
> 2) when a Linux client successfully gets a DHCP address from this
> server, where can I find the site specific options received from the
> DHCP server (or how do I parse them)
>
> thanks for your help
> L.K
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users



More information about the dhcp-users mailing list