Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: DHCP Lease testing (Eugene Grosbein)


----------------------------------------------------------------------

Message: 1
Date: Tue, 3 Sep 2019 06:45:21 +0700
From: Eugene Grosbein <eu...@grosbein.net>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: DHCP Lease testing
Message-ID: <d23c2870-457a-a3d6-7ac8-019772689...@grosbein.net>
Content-Type: text/plain; charset=windows-1252

29.08.2019 16:35, Surya Teja wrote:

> I am trying to test the lease flow of ISC DHCP server configured on my local 
> network setup, I have used the dhtest tool 
> Ref Link: https://github.com/saravana815/dhtest 
> In this it says we can test lease by running the command  
> *./dhtest  **-m e4:b2:fb:d5:32:53* *-i eth0 -S 192.168.0.55 -V* 
> It worked (for the specified mac it gave lease) but I want to test the flow 
> with options.
> DHCP client asking for the specific options like 2,3,6,9.
> But dhtest tool does not have an option to specify the options,
> Do we have any other tool to test the ISC DHCP server with virtual clients 
> asking the specified options or any reference links.
>  Any help can be appreciated.Thanks in advance.

Well-known dhclient utility allows you to add arbitrary set of DHCP options
sent to the server and not to assign obtained lease to an interface if you 
don't want it.

Make sure you read dhclient.conf(5), dhcp-options(5) and dhclient-script(8) 
manual pages
bundled with dhclient package. The dhclient-script(8) page documents 
dhclient-enter-hooks script
you may create and use to override default contents of shell functions like 
add_new_address()
that do real job adding IP to the interface.



------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 131, Issue 1
******************************************

Reply via email to