Enabling sending ICMP redirect messages

About ICMP redirect messages

A host that has only one default route sends all packets to the default gateway. The default gateway sends an ICMP redirect message to inform the host of a correct next hop by following these rules:

ICMP redirect messages simplify host management and enable hosts to gradually optimize their routing table.

Procedure

  1. Enter system view.

    system-view

  2. Enable sending ICMP redirect messages.

  3. ip redirects enable

    By default, the sending of ICMP redirect messages is disabled.