[RHEL] Does iptables work with MAC Address rules?

Solution Verified - Updated -

Issue

  • After try to use a MAC Address rule in iptables the following error is reported:
# iptables -I INPUT -p tcp -m --mac-source 11:22:33:44:55:66 -j DROP
iptables v1.4.7: Couldn't load match `--mac-source':/lib64/xtables/libipt_--mac-source.so: cannot open shared object file: No such file or directory

Environment

  • Red Hat Enterprise Linux 6 - All Releases
  • iptables - 1.4.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content