Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2003 08:43:51 -0700
From:      Lars Eggert <larse@ISI.EDU>
To:        Nick Barnes <Nick.Barnes@pobox.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Translate MAC address to IP address
Message-ID:  <3F3A5CB7.5070006@isi.edu>
In-Reply-To: <65626.1060774393@thrush.ravenbrook.com>
References:  <65626.1060774393@thrush.ravenbrook.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Nick Barnes wrote:

> [-net seems to be the right forum for this.]
> 
> I have some MAC addresses from a local Ethernet segment.  I want to
> convert them into IP addresses.  How can I do that programmatically?

net/arping from port:

[root@nik: ~] arping -i em1 00:07:e9:0a:23:91
ARPING 00:07:e9:0a:23:91
60 bytes from 128.9.168.57 (00:07:e9:0a:23:91): icmp_seq=0 time=5.453 msec
60 bytes from 128.9.168.57 (00:07:e9:0a:23:91): icmp_seq=1 time=9.980 msec
60 bytes from 128.9.168.57 (00:07:e9:0a:23:91): icmp_seq=2 time=9.981 msec
^C
--- 00:07:e9:0a:23:91 statistics ---
3 packets transmitted, 3 packets received,   0% unanswered

Lars
-- 
Lars Eggert <larse@isi.edu>           USC Information Sciences Institute

[-- Attachment #2 --]
0	*H
010	+0	*H
	080fErtcvE.0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
000830000000Z
040827235959Z010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.3000
	*H
032c	%E>nx'gڈD)c5*mp<ܮto034qmOe
KaU5u'rװ|CBPQ<9TIf-	kiN0L0)U"0 010UPrivateLabel1-2970U00U0
	*H
1KG]qSl]y=&b""I'{9$
*8PUl
LGlX1B	li+@]jy.%݊
Z<D&iHΥbb090
vo0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
030801172929Z
040731172929Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu0"0
	*H
0
>ן~H(ԢGV׆־25B03ݰת^RIH=%J
kA^R)yH80P~qrU|c~\;ҋ^哪!֍&d@Cd"O"f$FrGe|r<z"%h+Z`3<}̘}9ʮcnb6RX ٫e~XgK7,ìEYU?V0T0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00
	*H
5Kkt[@jj:Fg	Xj(8yPo!})5M[	ش]wʼnQd!GyFRiKd!8h\7γSD`a[qiY+Gqn?!090
vo0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
030801172929Z
040731172929Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu0"0
	*H
0
>ן~H(ԢGV׆־25B03ݰת^RIH=%J
kA^R)yH80P~qrU|c~\;ҋ^哪!֍&d@Cd"O"f$FrGe|r<z"%h+Z`3<}̘}9ʮcnb6RX ٫e~XgK7,ìEYU?V0T0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00
	*H
5Kkt[@jj:Fg	Xj(8yPo!})5M[	ش]wʼnQd!GyFRiKd!8h\7γSD`a[qiY+Gqn?!100010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30
vo0	+0	*H
	1	*H
0	*H
	1
030813154351Z0#	*H
	1?\:4Zy0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30
vo0*H
	1010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30
vo0
	*H
V$}D!Rg+Z緣jJv*WbzA?p̋|GQY;ɴ)_פ<z[\zaJ#87*,ӧs4@JjLrܙ:RGORpVY1좄oKqYȵRPc6<=GJ5mgqӝ6|SZ`k _m
t>	Ȗ#iG&,Un<jY-Q'Gu/R.zPma'܈

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F3A5CB7.5070006>