simulating dhcp requests?

Ragnar Lonn ragnar at ghn.se
Fri Sep 15 16:28:34 UTC 2006


Ricardo Stella wrote:

>Jiann-Ming Su wrote:
>  
>
>>Is there a way to use dhclient to simulate a bunch of dhcp requests?
>>I'm trying to do a load test on our dhcp configuration.  But, dhclient
>>want to bind to an existing interface.  The other way I've briefly
>>considered is to generate the dhcprequest through the existing
>>interface and using linux netfilter to spoof random MAC addresses.
>>Thanks for any tips.
>>
>>  
>>    
>>
>
>You could try to script around using dhcping
>(http://www.mavetju.org/unix/dhcping-man.php), feeding it random MAC
>addresses...
>
>My .02...
>
>  
>

Or try our "dhcptool". Similar to dhcping but you can generate more 
arbitrary DHCP packets
with it. Released as open source.

http://gatorhole.com/index.php?product=dhcp&lang=gb

  /Ragnar


More information about the dhcp-users mailing list