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(8c) 																   arp(8c)

Name
       arp - address resolution display and control

Syntax
       arp -a [vmunix] [kmem]
       arp [-d] hostname
       arp -f filename
       arp -s hostname ether_addr [temp] [pub] [trail]

Description
       The program displays and modifies the Internet-to-Ethernet address translation tables used by the address resolution protocol

       The hostname is the name of the host system for which information will be displayed or modified.

       With no flags, the program displays the current ARP entry for hostname.

Options
       -a   Displays current Address Resolution Protocol (ARP) entries from the specified name list and core files (next arguments).  If not spec-
	    ified, uses and respectively.

       -d   Deletes the entry for the host specified by name (next argument).

       -f   Reads information from the specified file (next argument) and modifies entries accordingly.  Entries in the file should be of the fol-
	    lowing form, with argument meanings as given previously:
	    hostname ether_addr [ temp ] [ pub ] [ trail ]

       -s   Creates an ARP entry for the host called hostname with the Ethernet address ether_addr.  The Ethernet address is given as six hexadec-
	    imal bytes separated by colons.  The entry will be permanent unless the word temp is given in the command.	If the word pub is  given,
	    the  entry will be published.  That is, the system will act as an ARP server, responding to requests for hostname even though the host
	    address is not its own.  The word trail indicates that trailer encapsulations may be sent to this host.

See Also
       arp(4p), ifconfig(8c)

																	   arp(8c)
All times are GMT -4. The time now is 06:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy