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 # 3m13s |
mymachine> ip arp flush
mymachine> ip arp
#flane ARP table is empty
#ether ARP table is empty mymachine> ip arp
arp add | flane | 192.168.2.108 00:20:2b:03:0a:72 # 10m58s |
# ether | ARP table is empty |
(The last example shows that the MAC address for 192.168.2.108 has been automatically added again, having been discovered by means of the ARP protocol.)
10.4arprouting
10.4.1Syntax
arprouting [on]off [<i/f>]
10.4.2 Description
The arprouting command was intended to control whether a router would perform proxy ARP on an
10.5autoloop
10.5.1Syntax
autoloop [onoff]
10.5.2 Description
Displays or sets the autoloop setting. This has effect only when a loopback device is configured (see device on page 162): in that case, it controls whether datagrams addressed to the machine’s own IP addresses (and not just the loopback addresses 127.*.*.*) will be looped back.
Configuration saving saves this information. By default, autoloop is disabled. The autoloop command is hidden, not shown by ip help.
10.5.3 Example
mymachine> ip autoloop
autoloop off
mymachine> ip device
# | type | dev file | IP address |