How to send DHCP messages

Asked by Nathalie

Hello,

I'd like to send many DHCP messages such as discover, request or release, in order to test a DHCP server. These messages fileds have to be able to rewrite, even with wrong values. I have been trying to find the right application but it is becoming really hard.
Does anybody know anything about it?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Run:

man dhclient3

It may give what you need.

Revision history for this message
Nathalie (superlopez41-deactivatedaccount) said :
#2

Thanks for the fast reply.

I had a look in dhclient3 and it isn't what I need. I need to simulate differents DHCP clients so I need to modify some DHCP message fields or create them.

e.g: 30 DHCP discover from 30 different clients and 30 DHCP request from the same different 30 clients. I need to test a dhcp server but I just have one laptop.

Thanks

Revision history for this message
Thomas Krüger (thkrueger) said :
#3

Can you help with this problem?

Provide an answer of your own, or ask Nathalie for more information if necessary.

To post a message you must log in.