CONFIG_NET_ARP_GRATUITOUS

Support gratuitous ARP requests/replies.

Type: bool

Help

Gratuitous in this case means a ARP request or reply that is not normally needed according to the ARP specification but could be used in some cases. A gratuitous ARP request is a ARP request packet where the source and destination IP are both set to the IP of the machine issuing the packet and the destination MAC is the broadcast address ff:ff:ff:ff:ff:ff. Ordinarily, no reply packet will occur. A gratuitous ARP reply is a reply to which no request has been made.

Direct dependencies

NET_ARP && NET_L2_ETHERNET && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

  • y

Kconfig definition

At subsys/net/l2/ethernet/Kconfig:58

Included via Kconfig:10Kconfig.zephyr:44subsys/Kconfig:24subsys/net/Kconfig:81subsys/net/l2/Kconfig:72

Menu path: (Top) → Networking → Link layer and IP networking support → Link layer options → Enable Ethernet support → Enable ARP

config NET_ARP_GRATUITOUS
    bool "Support gratuitous ARP requests/replies."
    default y
    depends on NET_ARP && NET_L2_ETHERNET && NETWORKING
    help
      Gratuitous in this case means a ARP request or reply that is not
      normally needed according to the ARP specification but could be used
      in some cases. A gratuitous ARP request is a ARP request packet where
      the source and destination IP are both set to the IP of the machine
      issuing the packet and the destination MAC is the broadcast address
      ff:ff:ff:ff:ff:ff. Ordinarily, no reply packet will occur.
      A gratuitous ARP reply is a reply to which no request has been made.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)