download PDF
Protocol ID: arp or rarp
Rules of this type should either go into the root or arp/rarp chain.
Table 18.6. ARP and RARP protocol types
Attribute NameDatatypeDefinition
srcmacaddrMAC_ADDRMAC address of sender
srcmacmaskMAC_MASKMask applied to MAC address of sender
dstmacaddrMAC_ADDRMAC address of destination
dstmacmaskMAC_MASKMask applied to MAC address of destination
hwtypeUINT16Hardware type
protocoltypeUINT16Protocol type
opcodeUINT16, STRINGOpcode valid strings are: Request, Reply, Request_Reverse, Reply_Reverse, DRARP_Request, DRARP_Reply, DRARP_Error, InARP_Request, ARP_NAK
arpsrcmacaddrMAC_ADDRSource MAC address in ARP/RARP packet
arpdstmacaddrMAC _ADDRDestination MAC address in ARP/RARP packet
arpsrcipaddrIP_ADDRSource IP address in ARP/RARP packet
arpdstipaddrIP_ADDRDestination IP address in ARP/RARP packet
gratuitousBOOLEANBoolean indiating whether to check for a gratuitous ARP packet
commentSTRING text string up to 256 characters
Red Hat logoGithubRedditYoutubeTwitter


Try, buy, & sell


About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.