Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2003 07:15:00 -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:  <3F3CEAE4.3060108@isi.edu>
In-Reply-To: <75602.1060946037@thrush.ravenbrook.com>
References:  <75602.1060946037@thrush.ravenbrook.com>

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

[-- Attachment #1 --]
Nick,

Nick Barnes wrote:
> At 2003-08-13 15:43:51+0000, Lars Eggert writes:
>>Nick Barnes wrote:
>>>
>>>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:
> 
> Thanks for the reference.  I had a look at arping. It works by sending
> a broadcast ping to the specified MAC address (not to the broadcast
> MAC).  I note that FreeBSD machines do respond to such pings (unlike
> regular broadcast pings), but some machines do not (e.g. WinXPPro,
> NT4).

it also supports setting the source IP and MAC address to one specified 
on the command line. This usually works for these other boxes, if you 
use a valid one for the net you're on.

> Since asking the question, I have been rummaging around in user-space
> network code (e.g. in the sources for arp, ping, and ifconfig) and
> have written a couple of little utilities:
...
> I can provide sources on request any time; once these things are a bit
> more polished I will put them on the web.

Interesting! Maybe turn them into a port once they're stable?

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
030815141500Z0#	*H
	1Ϥ(
qGLy*>0R	*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!CY!N᧴5^Ew&
b/,D]/xFZW;5FBRie9x(D{L~`
97-Jε_kn~}\2<)l	9
I$Ҁ$>WVFuPOؖxv؉x\A_
#z?</b?ۭfz<T'8@44RU
cF>vaCĒXh͙

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