Sponsored Content
Top Forums Shell Programming and Scripting getting mac from ip (or the contrary) Post 302296513 by danmero on Wednesday 11th of March 2009 08:37:09 AM
Old 03-11-2009
man arp
 

We Also Found This Discussion For You

1. OS X (Apple)

Let's get a .mac top level domain! As in www.xyz.mac

ICANN, the Internet Corporation for Assigned Names and Numbers, is inviting proposals for new sponsored top level domains. This may be wishful thinking, but isn't that a chance to push for a .mac top level domain (TLD)? I for one would VASTLY like the idea of having a domain of something.mac --... (0 Replies)
Discussion started by: ropers
0 Replies
ARP(3)							     Library Functions Manual							    ARP(3)

NAME
arp - Internet Address Resolution Protocol SYNOPSIS
bind -a #a /net/arp /net/arp/ctl /net/arp/data /net/arp/stats DESCRIPTION
The arp device provides the means by which the kernel resolves IP addresses into Ethernet addresses. A cache is maintained by the arp device to speed the process. The ctl file controls the ARP cache maintained by the kernel. The flush control message invalidates all entries in the cache. The delete ipaddr control message invalidates a single cache entry. All IP addresses passed to the system are in the canonical textual form described in ip(2). The perm ipaddr control message makes an existing cache entry permanent. When the kernel boots, ipconfig sets up the IP stream and arpd opens #a/arp/data (see ipconfig(8)). This establishes the ARP cache and enables arpd to receive all ARP packets from the network, which it uses to maintain the cache by writing the results of address resolution requests back into the cache. The IP stream module uses the cache to translate IP addresses. Subsequent opens of the data file allow the contents of the cache to be examined. Each cache entry consists of an IP address, an Ethernet address, and the status of the entry. Entries may be invalid, permanent, or temporary. Permanent entries will never be aged from the cache. Temporary entries may be replaced by new addresses entered by the ARP server. The file stats reports the cache performance. SEE ALSO
ip(3), ipconfig(8) SOURCE
/sys/src/9/port/devarp.c ARP(3)
All times are GMT -4. The time now is 11:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy