DHCPERF & ISC DHCP

Waqas Asghar waqas.asghar at aol.com
Thu May 15 05:42:35 UTC 2014




Yes that was a type sorry for that.




Regards,
Waqas Asghar
+923335495619



-----Original Message-----
From: dhcp-users-request <dhcp-users-request at lists.isc.org>
To: dhcp-users <dhcp-users at lists.isc.org>
Sent: Thu, May 15, 2014 2:37 am
Subject: dhcp-users Digest, Vol 67, Issue 10


Send dhcp-users mailing list submissions to
	dhcp-users at 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-request at lists.isc.org

You can reach the person managing the list at
	dhcp-users-owner at 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. DHCPERF & ISC DHCP (Waqas Asghar)
   2. Re: DHCPERF & ISC DHCP (Simon Hobson)
   3. OMAPI ip-address lookup always fail (dan le bray)


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

Message: 1
Date: Tue, 13 May 2014 14:45:49 -0400 (EDT)
From: Waqas Asghar <waqas.asghar at aol.com>
To: dhcp-users at lists.isc.org
Subject: DHCPERF & ISC DHCP
Message-ID: <8D13CF2B196A0C3-298C-3710 at webmail-vm031.sysops.aol.com>
Content-Type: text/plain; charset="us-ascii"

Hi 


I have configured the latest version of ISC DHCP on a centos server and trying 
to test it using dhcperf installed on another server.


I am using  simple syntax for dhcperf in which  I send a single dhcp discover to 
the DHCP using the following syntax



./dhcperf --server 192.168.14.67 --discover


But I get no free leases message from my DHCP server.My DHCP is hosted on 
192.168.14.66.


Furthermore I tried sending the DHCP request from a laptop and it worked fine 
and got the IP.


Can someone plz guide as to what will be the correct syntax in this case.




Regards,
Waqas Asghar
+923335495619

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20140513/84c4e65d/attachment-0001.html>

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

Message: 2
Date: Tue, 13 May 2014 22:04:16 +0100
From: Simon Hobson <dhcp1 at thehobsons.co.uk>
To: Users of ISC DHCP <dhcp-users at lists.isc.org>
Subject: Re: DHCPERF & ISC DHCP
Message-ID: <C879C22A-11C4-437B-BEEC-78A5BA12B7FA at thehobsons.co.uk>
Content-Type: text/plain; charset=us-ascii

Waqas Asghar <waqas.asghar at aol.com> wrote:

> ./dhcperf --server 192.168.14.67 --discover
> 
> But I get no free leases message from my DHCP server.My DHCP is hosted on 
192.168.14.66.

Is that a typo, or are you trying to get a lease from the wrong address ?



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

Message: 3
Date: Wed, 14 May 2014 10:18:13 +0200
From: dan le bray <dlb at univ-lehavre.fr>
To: dhcp-users at lists.isc.org
Subject: OMAPI ip-address lookup always fail
Message-ID: <537326C5.5030304 at univ-lehavre.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,
when trying to lookup a lease using an ip-address (as mentionned in the 
omshell man page), the operation fails with the 'can't open object: not 
found' error message. It does work well when looking up a host object 
using either a 'name' or 'hardware address' atribute but always fail 
when using the ip-address attribute of a lease object. The result is the 
same whether the lease was created using OMAPI or defined in the dhcpd.conf.

I searched this list but didn't find any clue about this.

We're using ISC DCPd 4.2.2/x86_64 on Debian Wheezy (7.5).

Example#1: hardware address lookup:
 > new host
obj: host
 > set hardware-address = 00:50:56:aa:bb:ff
obj: host
hardware-address = 00:50:56:aa:bb:ff
 > open
obj: host
hardware-address = 00:50:56:aa:bb:ff
ip-address = 0a:64:0a:64
name = "bidon"
hardware-type = 00:00:00:01

Example#2: name lookup:

 > new host
obj: host
 > set name = "bidon"
obj: host
name = "bidon"
 > open
obj: host
name = "bidon"
ip-address = 0a:64:0a:64
hardware-address = 00:50:56:aa:bb:ff
hardware-type = 00:00:00:01

Example#3: ip address lookup:
 > new lease
obj: lease
 > set ip-address = 10.100.10.100
obj: lease
ip-address = 0a:64:0a:64
 > open
can't open object: not found
obj: lease
ip-address = 0a:64:0a:64

Any help would be helpful.
--
Daniel Le Bray - CRI / P?le Systeme et Reseaux
Universite du Havre - 25 rue Philippe Lebon - 76600 Le Havre


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

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

End of dhcp-users Digest, Vol 67, Issue 10
******************************************

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20140515/4c8e6a6b/attachment.html>


More information about the dhcp-users mailing list