Displaying The Arp Cache - D-Link DFL-1660 User Manual

Network security firewall
Hide thumbs Also See for DFL-1660:
Table of Contents

Advertisement

3.5.2. The ARP Cache
The third column in the table, Expires, is used to indicate how much longer the ARP entry will be
valid for.
For example, the first entry has an expiry value of 45 which means that this entry will be rendered
invalid and removed from the ARP Cache in 45 seconds. If traffic is going to be sent to the
192.168.0.10 address after the expiration, NetDefendOS will issue a new ARP request.
The default expiration time for dynamic ARP entries is 900 seconds (15 minutes). This can be
changed by modifying the advanced setting ARP Expire.
The advanced setting ARP Expire Unknown specifies how long NetDefendOS will remember
addresses that cannot be reached. This limit is needed to ensure that NetDefendOS does not
continuously request such addresses. The default value for this setting is 3 seconds.
Example 3.18. Displaying the ARP Cache
The contents of the ARP Cache can be displayed from within the CLI.
Command-Line Interface
gw-world:/> arp -show
ARP cache of iface lan
Dynamic 10.4.0.1
Dynamic 10.4.0.165
Flushing the ARP Cache
If a host in a network is replaced with new hardware and retains the same IP address then it will
probably have a new MAC address. If NetDefendOS has an old ARP entry for the host in its ARP
cache then that entry will become invalid because of the changed MAC address and this will cause
data to be sent to the host over Ethernet which will never reach its destination.
After the ARP entry expiration time, NetDefendOS will learn the new MAC address of the host but
sometimes it may be necessary to manually force the update. The easiest way to achieve this is by
flushing the ARP cache. This deletes all dynamic ARP entries from the cache and forces
NetDefendOS to issue new ARP queries to discover the MAC/IP address mappings for connected
hosts.
Flushing can be done with the CLI command arp -flush.
Example 3.19. Flushing the ARP Cache
This example shows how to flush the ARP Cache from within the CLI.
Command-Line Interface
gw-world:/> arp -flush
ARP cache of all interfaces flushed.
The Size of the ARP Cache
By default, the ARP Cache is able to hold 4096 ARP entries at the same time. This is adequate for
most scenarios but on rare occasions, such as when there are several very large LANs directly
= 1000:0000:4009
Expire=196
= 0002:a529:1f65
Expire=506
129
Chapter 3. Fundamentals

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dfl-2560Dfl-2560gDfl-260eDfl-860e

Table of Contents