|
|
1.1 ! root 1: .\" Copyright (c) 1985 The Regents of the University of California. ! 2: .\" All rights reserved. ! 3: .\" ! 4: .\" Redistribution and use in source and binary forms are permitted provided ! 5: .\" that: (1) source distributions retain this entire copyright notice and ! 6: .\" comment, and (2) distributions including binaries display the following ! 7: .\" acknowledgement: ``This product includes software developed by the ! 8: .\" University of California, Berkeley and its contributors'' in the ! 9: .\" documentation or other materials provided with the distribution and in ! 10: .\" all advertising materials mentioning features or use of this software. ! 11: .\" Neither the name of the University nor the names of its contributors may ! 12: .\" be used to endorse or promote products derived from this software without ! 13: .\" specific prior written permission. ! 14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED ! 15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF ! 16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 17: .\" ! 18: .\" @(#)arp.8 6.4 (Berkeley) 6/24/90 ! 19: .\" ! 20: .TH ARP 8 "June 24, 1990" ! 21: .UC 6 ! 22: .SH NAME ! 23: arp \- address resolution display and control ! 24: .SH SYNOPSIS ! 25: .B arp ! 26: .I hostname ! 27: .br ! 28: .B arp -a ! 29: [ ! 30: .I vmunix ! 31: ] [ ! 32: .I kmem ! 33: ] ! 34: .br ! 35: .B arp -d ! 36: .I hostname ! 37: .br ! 38: .B arp -s ! 39: .I hostname ether_addr ! 40: [ ! 41: .B temp ! 42: ] [ ! 43: .B pub ! 44: ] [ ! 45: .B trail ! 46: ] ! 47: .br ! 48: .B arp -f ! 49: .I filename ! 50: .SH DESCRIPTION ! 51: The ! 52: .I arp ! 53: program displays and modifies the Internet-to-Ethernet address translation ! 54: tables used by the address resolution protocol ! 55: .RI ( arp (4p)). ! 56: .LP ! 57: With no flags, the program displays the current ARP entry for ! 58: .I hostname. ! 59: The host may be specified by name or by number, ! 60: using Internet dot notation. ! 61: With the ! 62: .B -a ! 63: flag, the program displays all of the current ARP entries by reading the table ! 64: from the file ! 65: .I kmem ! 66: (default /dev/kmem) based on the kernel file ! 67: .I vmunix ! 68: (default /vmunix). ! 69: .LP ! 70: With the ! 71: .B -d ! 72: flag, a super-user may delete an entry for the host called ! 73: .I hostname. ! 74: .LP ! 75: The ! 76: .B -s ! 77: flag is given to create an ARP entry for the host called ! 78: .I hostname ! 79: with the Ethernet address ! 80: .I ether_addr. ! 81: The Ethernet address is given as six hex bytes separated by colons. ! 82: The entry will be permanent unless the word ! 83: .B temp ! 84: is given in the command. ! 85: If the word ! 86: .B pub ! 87: is given, the entry will be "published"; i.e., this system will ! 88: act as an ARP server, ! 89: responding to requests for ! 90: .I hostname ! 91: even though the host address is not its own. ! 92: The word ! 93: .B trail ! 94: indicates that trailer encapsulations may be sent to this host. ! 95: .LP ! 96: The ! 97: .B -f ! 98: flag causes the file ! 99: .I filename ! 100: to be read and multiple entries to be set in the ARP tables. Entries ! 101: in the file should be of the form ! 102: .IP ! 103: .I hostname ether_addr ! 104: [ ! 105: .B temp ! 106: ] [ ! 107: .B pub ! 108: ] [ ! 109: .B trail ! 110: ] ! 111: .LP ! 112: with argument meanings as given above. ! 113: .SH "SEE ALSO" ! 114: inet(3), arp(4), ifconfig(8)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.