ZyXEL Communications G.SHDSL.bis 4-port Security Gateway P-793H User Manual page 408

G.shdsl.bis 4-port security gateway
Table of Contents

Advertisement

Appendix H Command Interpreter
ARP Behavior and the ARP ackGratuitous Commands
The ZyXEL Device does not accept ARP reply information if the ZyXEL Device did not send
out a corresponding request. This helps prevent the ZyXEL Device from updating its ARP
table with an incorrect IP address to MAC address mapping due to a spoofed ARP. An
incorrect IP to MAC address mapping in the ZyXEL Device's ARP table could cause the
ZyXEL Device to send packets to the wrong device.
Commands for Using or Ignoring Gratuitous ARP Requests
A host can send an ARP request to resolve its own IP address. This is called a gratuitous ARP
request. The packet uses the host's own IP address as the source and destination IP address.
The packet uses the Ethernet broadcast address (FF:FF:FF:FF:FF:FF) as the destination MAC
address. This is used to determine if any other hosts on the network are using the same IP
address as the sending host. The other hosts in the network can also update their ARP table IP
address to MAC address mappings with this host's MAC address.
The
ip arp ackGratuitous
ARP requests.
• Use
ip arp ackGratuitous active no
ARP requests.
• Use
ip arp ackGratuitous active yes
gratuitous ARP requests.
For example, say the regular gateway goes down and a backup gateway sends a gratuitous
ARP request. If the request is for an IP address that is not already in the ZyXEL Device's
ARP table, the ZyXEL Device sends an ARP request to ask which host is using the IP
address. After the ZyXEL Device receives a reply from the backup gateway, it adds an
ARP table entry.
If the ZyXEL Device's ARP table already has an entry for the IP address, the ZyXEL
Device's response depends on how you configure the
forceUpdate
• Use
update the MAC address in the ARP entry.
• Use
update the MAC address in the ARP entry.
A backup gateway (as in the following graphic) is an example of when you might want to turn
on the forced update for gratuitous ARP requests. One day gateway A shuts down and the
backup gateway (B) comes online using the same static IP address as gateway A. Gateway B
broadcasts a gratuitous ARP request to ask which host is using its IP address. If ackGratuitous
is on and set to force updates, the ZyXEL Device receives the gratuitous ARP request and
updates its ARP table. This way the ZyXEL Device has a correct gateway ARP entry to
forward packets through the backup gateway. If ackGratuitous is off or not set to force
updates, the ZyXEL Device will not update the gateway ARP entry and cannot forward
packets through gateway B.
408
commands set how the ZyXEL Device handles gratuitous
command.
ip arp ackGratuitous forceUpdate on
ip arp ackGratuitous forceUpdate off
to have the ZyXEL Device ignore gratuitous
to have the ZyXEL Device respond to
ip arp ackGratuitous
to have the ZyXEL Device
to have the ZyXEL Device not
P-793H User's Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

P-793h

Table of Contents