Networking Forums

Networking Forums > Computer Networking > Linux Networking > rarp?

Reply
 
 
Noah Roberts
Guest
Posts: n/a

 
      01-18-2005, 03:40 PM
I want to find mac address based on IP. Basically what I am trying to
do is allow clients to request that their hardware be allowed through a
firewall. I want the server to discover the mac address of the
requesting client. It looks as though RARP does what I want but in
google searches I am not finding many implementations or programming
libraries (in fact I am yet to find one in either php or perl).

RARP is an RFCed protocol but is it actually used by anyone? Or is it
one of those protocols that never saw wide adoption? The RFC is 903,
which seems like a pretty low number to me...certainly there should be
libraries to program in that do RARP by now?

Thanks.

 
Reply With Quote
 
 
 
 
Noah Roberts
Guest
Posts: n/a

 
      01-18-2005, 03:54 PM
nevermind, I'm being stupid.

 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      01-18-2005, 05:17 PM
Noah Roberts wrote:

> I want to find mac address based on IP. Basically what I am trying to
> do is allow clients to request that their hardware be allowed through a
> firewall. I want the server to discover the mac address of the
> requesting client. It looks as though RARP does what I want but in
> google searches I am not finding many implementations or programming
> libraries (in fact I am yet to find one in either php or perl).
>
> RARP is an RFCed protocol but is it actually used by anyone? Or is it
> one of those protocols that never saw wide adoption? The RFC is 903,
> which seems like a pretty low number to me...certainly there should be
> libraries to program in that do RARP by now?


If the server has been contacted by the client, for anything, the server
already has the mac address listed in the arp cache. Use /sbin/arp -n, to
display the IP and mac addresses of every computer that has contacted the
server recently.

 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      01-18-2005, 07:36 PM
Noah Roberts wrote:
> I want to find mac address based on IP. Basically what I am trying to
> do is allow clients to request that their hardware be allowed through a
> firewall. I want the server to discover the mac address of the
> requesting client. It looks as though RARP does what I want but in
> google searches I am not finding many implementations or programming
> libraries (in fact I am yet to find one in either php or perl).
>
> RARP is an RFCed protocol but is it actually used by anyone? Or is it
> one of those protocols that never saw wide adoption? The RFC is 903,
> which seems like a pretty low number to me...certainly there should be
> libraries to program in that do RARP by now?
>


RARP is primarily for BOOTP servers to find the IP address
to send a boot-up file, used before DHCP. For instance
the older diskless Sun workstations boot up this way.

--

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What makes BOOTP routable, but RARP isn't? ihatecrappymail@yahoo.com Linux Networking 6 10-23-2006 09:10 PM
When Linux PC boots, Does it sends RARP packet to get its IP address by embedding its Hardware address? santa19992000@yahoo.com Linux Networking 2 10-16-2005 10:40 PM
Problem : RARP and kernel 2.4.XX =?iso-8859-1?q?Fco=2E_Miguel_Garc=EDa?= Linux Networking 0 10-01-2003 02:04 PM



1 2 3 4 5 6 7 8 9 10 11