The Expires Column
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.28. 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
= 1000:0000:4009
Expire=196
Dynamic 10.4.0.165
= 0002:a529:1f65
Expire=506
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.29. 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.
Chapter 3: Fundamentals
222
Summary of Contents for NetDefendOS
Page 30: ...Figure 1 3 Packet Flow Schematic Part III Chapter 1 NetDefendOS Overview 30 ...
Page 32: ...Chapter 1 NetDefendOS Overview 32 ...
Page 144: ...Chapter 2 Management and Maintenance 144 ...
Page 284: ...Chapter 3 Fundamentals 284 ...
Page 392: ...Chapter 4 Routing 392 ...
Page 419: ... Host 2001 DB8 1 MAC 00 90 12 13 14 15 5 Click OK Chapter 5 DHCP Services 419 ...
Page 420: ...Chapter 5 DHCP Services 420 ...
Page 573: ...Chapter 6 Security Mechanisms 573 ...
Page 607: ...Chapter 7 Address Translation 607 ...
Page 666: ...Chapter 8 User Authentication 666 ...
Page 775: ...Chapter 9 VPN 775 ...
Page 819: ...Chapter 10 Traffic Management 819 ...
Page 842: ...Chapter 11 High Availability 842 ...
Page 866: ...Default Enabled Chapter 13 Advanced Settings 866 ...
Page 879: ...Chapter 13 Advanced Settings 879 ...