|
|
1.1 ! root 1: .\" Copyright (c) 1985 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)arp.8c 6.2 (Berkeley) 5/20/86 ! 6: .\" ! 7: .TH ARP 8C "May 20, 1986" ! 8: .UC 6 ! 9: .SH NAME ! 10: arp \- address resolution display and control ! 11: .SH SYNOPSIS ! 12: .B arp ! 13: .I hostname ! 14: .br ! 15: .B arp -a ! 16: [ ! 17: .I vmunix ! 18: ] [ ! 19: .I kmem ! 20: ] ! 21: .br ! 22: .B arp -d ! 23: .I hostname ! 24: .br ! 25: .B arp -s ! 26: .I hostname ether_addr ! 27: [ ! 28: .B temp ! 29: ] [ ! 30: .B pub ! 31: ] [ ! 32: .B trail ! 33: ] ! 34: .br ! 35: .B arp -f ! 36: .I filename ! 37: .SH DESCRIPTION ! 38: The ! 39: .I arp ! 40: program displays and modifies the Internet-to-Ethernet address translation ! 41: tables used by the address resolution protocol ! 42: .RI ( arp (4p)). ! 43: .LP ! 44: With no flags, the program displays the current ARP entry for ! 45: .I hostname. ! 46: The host may be specified by name or by number, ! 47: using Internet dot notation. ! 48: With the ! 49: .B -a ! 50: flag, the program displays all of the current ARP entries by reading the table ! 51: from the file ! 52: .I kmem ! 53: (default /dev/kmem) based on the kernel file ! 54: .I vmunix ! 55: (default /vmunix). ! 56: .LP ! 57: With the ! 58: .B -d ! 59: flag, a super-user may delete an entry for the host called ! 60: .I hostname. ! 61: .LP ! 62: The ! 63: .B -s ! 64: flag is given to create an ARP entry for the host called ! 65: .I hostname ! 66: with the Ethernet address ! 67: .I ether_addr. ! 68: The Ethernet address is given as six hex bytes separated by colons. ! 69: The entry will be permanent unless the word ! 70: .B temp ! 71: is given in the command. ! 72: If the word ! 73: .B pub ! 74: is given, the entry will be "published"; i.e., this system will ! 75: act as an ARP server, ! 76: responding to requests for ! 77: .I hostname ! 78: even though the host address is not its own. ! 79: The word ! 80: .B trail ! 81: indicates that trailer encapsulations may be sent to this host. ! 82: .LP ! 83: The ! 84: .B -f ! 85: flag causes the file ! 86: .I filename ! 87: to be read and multiple entries to be set in the ARP tables. Entries ! 88: in the file should be of the form ! 89: .IP ! 90: .I hostname ether_addr ! 91: [ ! 92: .B temp ! 93: ] [ ! 94: .B pub ! 95: ] [ ! 96: .B trail ! 97: ] ! 98: .LP ! 99: with argument meanings as given above. ! 100: .SH "SEE ALSO" ! 101: inet(3N), arp(4P), ifconfig(8C)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.