beautypg.com

3 arp, 1 syntax – Atlantis Land I-Storm A02-RA(Atmos)_ME01 User Manual

Page 73

background image

mymachine>

ip abort 3

10.3 arp

10.3.1 Syntax

arp add

arp delete

arp flush

arp [list]

arp help [all|]

10.3.2 Description

Allows display and manipulation of the ARP table: the list of IP addresses and

corresponding MAC addresses obtained by ARP (see the ATMOS TCP/IP
Functional Specification, DO-007285-P
S) on Ethernet-like interfaces. Normally
there is no need to add entries to the table with arp add, since they should be
discovered by the ARP protocol. Displaying the table with arp list (or just arp) is
sometimes useful, and deleting an entry with arp delete, or the whole table with arp
flus
h, can sometimes speed up recovery from temporary problems if something
unusual has happened.
Entries added with arp add do not time out like those discovered by use of the ARP
protocol, but they are deleted by arp flush and will not survive a restart (they are not
saved by configuration saving).
Note that the ARP table is used only for destinations on directly connected
Ethernet-like networks, not for those reached through routers (although the ARP
table may be used to discover the MAC address of the router).

10.3.3 Example

mymachine>

ip arp add ether 192.168.50.1 8:0:20:19:9A:D9

mymachine>

ip arp

arp add flane 192.168.2.63 00:20:2b:e0:03:87 # 8m58s

arp add flane 192.168.2.108 00:20:2b:03:0a:72 # 7m02s

arp add flane 192.168.2.109 00:20:2b:03:08:b1 # 2m24s

arp add flane 192.168.2.156 00:20:2b:03:09:c4 # 1m01s

arp add ether 192.168.50.1 08:00:20:19:9a:d9 # forever

arp add ether 192.168.50.57 00:20:af:2e:fa:3c # 3m25s

mymachine>

ip arp delete flane 192.168.2.109

mymachine>

ip arp list

arp add flane 192.168.2.63 00:20:2b:e0:03:87 # 8m46s

arp add flane 192.168.2.108 00:20:2b:03:0a:72 # 6m50s

arp add flane 192.168.2.156 00:20:2b:03:09:c4 # 49s