ISC DHCP site specific options

Neff, Glen glen.neff at emc.com
Fri Feb 15 19:49:28 UTC 2013


You can also put different domain, domain-name, domain-name-servers, etc. options inside each subnet stanza.

-G

/*
 * Glen R. J. Neff
 * USD Lab Operations Infrastructure Team
 * glen.neff at emc.com
 *
 * EMC^2 == E^2
 */
________________________________________
From: dhcp-users-bounces+glen.neff=emc.com at lists.isc.org [dhcp-users-bounces+glen.neff=emc.com at lists.isc.org] On Behalf Of James Jalbert [jjalbert at rsu39.org]
Sent: Friday, February 15, 2013 2:43 PM
To: dhcp-users at lists.isc.org
Subject: Re: ISC DHCP site specific options

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