<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.2">
</HEAD>
<BODY>
Glen, <BR>
<BR>
sorry, my mistake... <BR>
<BR>
Luis<BR>
<BR>
On Tue, 2008-07-29 at 00:13 +1000, Glenn Satchell wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi Luis
You can look at the source of the script, it gives the url to download,
and the directories to install it it. I think if you run the script it
will tell you:
my @OUIS = ('/usr/share/misc/oui.txt', '/usr/local/etc/oui.txt');
my $OUI_URL = '<A HREF="http://standards.ieee.org/regauth/oui/oui.txt'">http://standards.ieee.org/regauth/oui/oui.txt'</A>;
...
print(STDERR "Please download $OUI_URL to /usr/local/etc/oui.txt\n") if not
defined $oui;
regards,
-glenn
--
Glenn Satchell <A HREF="mailto:glenn.satchell@uniq.com.au">mailto:glenn.satchell@uniq.com.au</A> | It's a dog eat dog
Uniq Advances Pty Ltd <A HREF="http://www.uniq.com.au">http://www.uniq.com.au</A> | world, and by golly,
PO Box 70 Paddington NSW Australia 2021 | we better make sure
tel:0409-458-580 tel:02-9380-6360 fax:02-9380-6416 | we're the dog.
>Subject: Re: new program to list dhcpd.leases
>From: Luis Fernando Lacayo <<A HREF="mailto:lflacayo@cps.k12.il.us">lflacayo@cps.k12.il.us</A>>
>To: <A HREF="mailto:dhcp-users@isc.org">dhcp-users@isc.org</A>
>Date: Mon, 28 Jul 2008 08:53:06 -0500
>
>Christian,
>
>Thank you for taking the time to write, We can we get the manufacturer
>list?
>
>Luis
>
>On Sat, 2008-07-26 at 09:43 +0200, Christian Hammers wrote:
>
>> Hello
>>
>> As I sometimes want to find out which leases are currently active on my
>> DHCP server or which IP a specific MAC got the last time, I wrote a little
>> script to parse dhcpd.leases. It even prints the oui.txt manufacturer.
>>
>> Would be nice to see anything like this in the official DHCP distribution.
>>
>> If someone is interested, the script is public domain and written in pure
>> Perl5. It's available from <A HREF="http://www.lathspell.de/linux/dhcp/">http://www.lathspell.de/linux/dhcp/</A>
>>
>> bye,
>>
>> -christian-
>>
>> $ dhcp-lease-list --last
>> # MAC IP valid until manufactorer
>> 00:02:b3:96:4d:4f 192.168.230.56 2007-10-25 14:04:30 Intel Corporation
>> 00:08:02:62:e8:b0 192.168.230.75 2008-02-25 16:24:26 Compaq Computer
Corporation
>> 00:0b:5d:96:bf:2f 192.168.230.57 2008-01-25 13:07:19 FUJITSU LIMITED
>> 00:0b:82:01:90:ee 192.168.230.71 2007-10-25 07:35:50 Grandstream Networks,
Inc.
>> 00:0c:29:7b:4d:b9 192.168.230.59 2007-08-23 07:46:55 VMware, Inc.
>>
>> $ dhcp-lease-list --help
>> Prints active DHCP leases.
>>
>> Usage: ./dhcp-lease-list [options]
>> --help shows this help
>> --parsable machine readable output with full dates
>> --last prints the last (even if end<now) entry for every MAC
>> --all prints all entries i.e. more than one per MAC
>>
>>
>
>--
>Luis Fernando Lacayo
>Chicago Public Schools
>Senior Unix Administrator
>ITS/ UNIX Infrastructure
>Office: 773-553-3835
>Cell: 773-203-4493
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
Luis Fernando Lacayo
Chicago Public Schools
Senior Unix Administrator
ITS/ UNIX Infrastructure
Office: 773-553-3835
Cell: 773-203-4493
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>