Operation modes
Manual mode
The manual mode applies to the case where IP addresses are statically assigned to the hosts, and the hosts cannot obtain the gateway information through DHCP. A VLAN maintains only the MAC address of the default gateway.
In manual mode, after receiving an ARP request for a host's MAC address from the gateway, the MFF device directly replies the host's MAC address to the gateway according to the ARP snooping entries. The MFF device also forges ARP requests to get the gateway's MAC address based on ARP snooping entries.
After learning the gateway's MAC address and then receiving an ARP packet with a different source MAC address from the default gateway, the MFF device will replace the old MAC address with the new one.
Automatic mode
The automatic mode applies to the situation where hosts use DHCP to obtain IP addresses.
In MFF automatic mode, a VLAN can learn and maintain up to 20 gateways. The gateway IP addresses will not be updated, and the gateway information does not age out unless MFF is disabled.
With MFF automatic mode enabled, a DHCP snooping device, upon receiving a DHCP ACK message, resolves Option 3 in the message (Router IP option) to obtain a gateway for the client's IP-MAC snooping entry. If the DHCP ACK message contains multiple gateway addresses, only the first one is recorded for the entry. If the message contains no gateway IP address, the first gateway recorded by the current VLAN is used.
NOTE: If the source MAC address of an incoming ARP packet from a gateway is different from that of the gateway, the MFF device uses the new MAC to replace the old one. | ||