Pages: [1]   Go Down
Author Topic: DHCP testing tool  (Read 1452 times)
0 Members and 1 Guest are viewing this topic.
USA
Offline Offline
Full Member
***
Karma: 0
Posts: 238
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is there a recommended software program to use to test/exercise the networking stack particularly DHCP?  I'm going to develop an Ethernet based product, and currently, I'm creating a plan for the project which includes how it will be tested.
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 217
Posts: 13705
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


use an old laptop to get an addres through DHCP and put some network sniffer on it.
e.g. - http://wiresharkdownloads.riverbed.com/video/wireshark/introduction-to-wireshark/ - but there are many others
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

USA
Offline Offline
Full Member
***
Karma: 0
Posts: 238
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I realize I wasn't clear about what I was asking.  I want to try different DHCP server settings to see if my device handles them correctly.  DHCP can do a lot more than just hand out IP addresses.  I'm afraid that my device will work fine with my DHCP server, and when it becomes time to ship it to the customer, it won't work on their server.

I know and use Wireshark.  I've been using it since it was named Ethereal. 
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 217
Posts: 13705
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

1) So you want to check if your tool works with several different DHCP implementation?
2) Or do you want to test retrieving specific DHCP info?

add 1:
There are several free Linux versions you can download that have a DHCP server in it to test with.
These probably include embedded versions of Linux that are used in some routers.
If you happen to have an MSDN you can try all variations of Windows DHCP?
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

USA
Offline Offline
Full Member
***
Karma: 0
Posts: 238
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Good questions... I will try different DHCP server implementations, but I was interested in see how it would handle non-typical DHCP information.  It has been years since I have read about what can be put in DHCP packets.

The program named Serva looks interesting.
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 217
Posts: 13705
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


wikipedia has a fairly good description - http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol -

do you have a link of this Serva program?
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

USA
Offline Offline
Full Member
***
Karma: 0
Posts: 238
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.vercot.com/~serva/
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 217
Posts: 13705
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks & bookmarked smiley-wink
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Jump to: