How do you test your dhcpd setup?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How do you test your dhcpd setup?

Frank Price
Greetings dhcp-users,

I've recently taken over a pair of ISC DHCP 4.2.5 servers, and I'd like to know how you test your environment -- both for troubleshooting and also for validating config changes.  To make things concrete, let me briefly explain our setup and then what I'd like to be able to do.

We have about 70 subnets defined, with failover peers on most of them between our two servers.  Our network (cisco) vlan config has ip helper-addresses which point to both servers.  Mostly we do interim-style ddns, although there are some static host entries.  

Usually everything works fine, until it doesn't, and every few months we add a new subnet for a lab or something.  To troubleshoot, or double-check changes,  I'd like to be able to simulate a lease request from a client.  Right now what I do is a) run dhcpd -t against the changes, and then b) stand up a vm on the new subnet and see what happens.  It would be much nicer to simply say "pretend you get a request from this MAC on this subnet, and show me what you'd do."

I've tried dhcping, and it seems to require me to run it from a server already on the subnet in question -- not quite what I want, but maybe I just don't understand it well.  

Thanks for any advice you can provide,

-Frank
--
Frank Price | R & D Services | Lexmark International

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: How do you test your dhcpd setup?

Leandro
I know exactly how you feel.
try dhcperf , its also a benchmark tool.
Leandro.


On 16/07/15 14:05, Frank Price wrote:
Greetings dhcp-users,

I've recently taken over a pair of ISC DHCP 4.2.5 servers, and I'd like to know how you test your environment -- both for troubleshooting and also for validating config changes.  To make things concrete, let me briefly explain our setup and then what I'd like to be able to do.

We have about 70 subnets defined, with failover peers on most of them between our two servers.  Our network (cisco) vlan config has ip helper-addresses which point to both servers.  Mostly we do interim-style ddns, although there are some static host entries.  

Usually everything works fine, until it doesn't, and every few months we add a new subnet for a lab or something.  To troubleshoot, or double-check changes,  I'd like to be able to simulate a lease request from a client.  Right now what I do is a) run dhcpd -t against the changes, and then b) stand up a vm on the new subnet and see what happens.  It would be much nicer to simply say "pretend you get a request from this MAC on this subnet, and show me what you'd do."

I've tried dhcping, and it seems to require me to run it from a server already on the subnet in question -- not quite what I want, but maybe I just don't understand it well.  

Thanks for any advice you can provide,

-Frank
--
Frank Price | R & D Services | Lexmark International


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: How do you test your dhcpd setup?

Frank Price
Thanks for the tip Leandro.  If I've got the right tool (from Nominum), unfortunately it doesn't work for my OS (Centos 7) and I can't find source.


-Frank
--
Frank Price | R & D Services | [hidden email] | 859-232-2844 | RDS on Innovate

On Fri, Jul 17, 2015 at 9:27 AM, Leandro <[hidden email]> wrote:
I know exactly how you feel.
try dhcperf , its also a benchmark tool.
Leandro.



On 16/07/15 14:05, Frank Price wrote:
Greetings dhcp-users,

I've recently taken over a pair of ISC DHCP 4.2.5 servers, and I'd like to know how you test your environment -- both for troubleshooting and also for validating config changes.  To make things concrete, let me briefly explain our setup and then what I'd like to be able to do.

We have about 70 subnets defined, with failover peers on most of them between our two servers.  Our network (cisco) vlan config has ip helper-addresses which point to both servers.  Mostly we do interim-style ddns, although there are some static host entries.  

Usually everything works fine, until it doesn't, and every few months we add a new subnet for a lab or something.  To troubleshoot, or double-check changes,  I'd like to be able to simulate a lease request from a client.  Right now what I do is a) run dhcpd -t against the changes, and then b) stand up a vm on the new subnet and see what happens.  It would be much nicer to simply say "pretend you get a request from this MAC on this subnet, and show me what you'd do."

I've tried dhcping, and it seems to require me to run it from a server already on the subnet in question -- not quite what I want, but maybe I just don't understand it well.  

Thanks for any advice you can provide,

-Frank
--
Frank Price | R & D Services | Lexmark International


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: How do you test your dhcpd setup?

Leandro
It was a little hard for my to make it work.
I could not compile it on 64bits. it worked on i386.
Leandro.


On 17/07/15 14:32, Frank Price wrote:
Thanks for the tip Leandro.  If I've got the right tool (from Nominum), unfortunately it doesn't work for my OS (Centos 7) and I can't find source.


-Frank
--
Frank Price | R & D Services | [hidden email] | 859-232-2844 | RDS on Innovate

On Fri, Jul 17, 2015 at 9:27 AM, Leandro <[hidden email]> wrote:
I know exactly how you feel.
try dhcperf , its also a benchmark tool.
Leandro.



On 16/07/15 14:05, Frank Price wrote:
Greetings dhcp-users,

I've recently taken over a pair of ISC DHCP 4.2.5 servers, and I'd like to know how you test your environment -- both for troubleshooting and also for validating config changes.  To make things concrete, let me briefly explain our setup and then what I'd like to be able to do.

We have about 70 subnets defined, with failover peers on most of them between our two servers.  Our network (cisco) vlan config has ip helper-addresses which point to both servers.  Mostly we do interim-style ddns, although there are some static host entries.  

Usually everything works fine, until it doesn't, and every few months we add a new subnet for a lab or something.  To troubleshoot, or double-check changes,  I'd like to be able to simulate a lease request from a client.  Right now what I do is a) run dhcpd -t against the changes, and then b) stand up a vm on the new subnet and see what happens.  It would be much nicer to simply say "pretend you get a request from this MAC on this subnet, and show me what you'd do."

I've tried dhcping, and it seems to require me to run it from a server already on the subnet in question -- not quite what I want, but maybe I just don't understand it well.  

Thanks for any advice you can provide,

-Frank
--
Frank Price | R & D Services | Lexmark International


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users



_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: How do you test your dhcpd setup?

Cathy Almond
Late to the party (and top-posting because everyone else has done on
this thread) - apologies x2

Have a look at perfdhcp - it's part of the ISC Kea project:

https://github.com/isc-projects/kea/tree/master/src/bin/perfdhcp

http://kea.isc.org/docs/perfdhcp.8.html

On 17/07/2015 19:22, Leandro wrote:

> It was a little hard for my to make it work.
> I could not compile it on 64bits. it worked on i386.
> Leandro.
>
>
> On 17/07/15 14:32, Frank Price wrote:
>> Thanks for the tip Leandro.  If I've got the right tool (from
>> Nominum), unfortunately it doesn't work for my OS (Centos 7) and I
>> can't find source.
>>
>>
>> -Frank
>> --
>> Frank Price | R & D Services |
>> <mailto:[hidden email]>[hidden email] | 859-232-2844 | RDS on
>> Innovate <https://lexmark.jiveon.com/groups/rds-group>
>>
>> On Fri, Jul 17, 2015 at 9:27 AM, Leandro <[hidden email]
>> <mailto:[hidden email]>> wrote:
>>
>>     I know exactly how you feel.
>>     try dhcperf , its also a benchmark tool.
>>     Leandro.
>>
>>
>>
>>     On 16/07/15 14:05, Frank Price wrote:
>>>     Greetings dhcp-users,
>>>
>>>     I've recently taken over a pair of ISC DHCP 4.2.5 servers, and
>>>     I'd like to know how you test your environment -- both for
>>>     troubleshooting and also for validating config changes.  To make
>>>     things concrete, let me briefly explain our setup and then what
>>>     I'd like to be able to do.
>>>
>>>     We have about 70 subnets defined, with failover peers on most of
>>>     them between our two servers.  Our network (cisco) vlan config
>>>     has ip helper-addresses which point to both servers.  Mostly we
>>>     do interim-style ddns, although there are some static host entries.  
>>>
>>>     Usually everything works fine, until it doesn't, and every few
>>>     months we add a new subnet for a lab or something.  To
>>>     troubleshoot, or double-check changes,  I'd like to be able to
>>>     simulate a lease request from a client.  Right now what I do is
>>>     a) run dhcpd -t against the changes, and then b) stand up a vm on
>>>     the new subnet and see what happens.  It would be much nicer to
>>>     simply say "pretend you get a request from this MAC on this
>>>     subnet, and show me what you'd do."
>>>
>>>     I've tried dhcping, and it seems to require me to run it from a
>>>     server already on the subnet in question -- not quite what I
>>>     want, but maybe I just don't understand it well.  
>>>
>>>     Thanks for any advice you can provide,
>>>
>>>     -Frank
>>>     --
>>>     Frank Price | R & D Services | Lexmark International


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users