18.12.10.8. ICMP


Protocol ID: icmp
Note: The chain parameter is ignored for this type of traffic and should either be omitted or set to root.
Table 18.10. ICMP protocol types
Attribute NameDatatypeDefinition
srcmacaddrMAC_ADDRMAC address of sender
srcmacmaskMAC_MASKMask applied to the MAC address of the sender
dstmacaddrMAD_ADDRMAC address of the destination
dstmacmaskMAC_MASKMask applied to the MAC address of the destination
srcipaddrIP_ADDRSource IP address
srcipmaskIP_MASKMask applied to source IP address
dstipaddrIP_ADDRDestination IP address
dstipmaskIP_MASKMask applied to destination IP address
srcipfromIP_ADDRstart of range of source IP address
scriptoIP_ADDRend of range of source IP address
dstipfromIP_ADDRStart of range of destination IP address
dstiptoIP_ADDREnd of range of destination IP address
typeUNIT16ICMP type
codeUNIT16ICMP code
commentSTRING text string up to 256 characters
stateSTRINGcomma separated list of NEW,ESTABLISHED,RELATED,INVALID or NONE
ipsetSTRINGThe name of an IPSet managed outside of libvirt
ipsetflagsIPSETFLAGSflags for the IPSet; requires ipset attribute
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

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.