202-450 practice question 1 of 25

Which command is used to administer IPv6 netfilter rules?

Full set: 119 questions
Answer options
A: iptables
B: iptablesv6
C: iptables6
D: ip6tables Correct answer
E: ipv6tables
Correct Answer:
D. ip6tables
Explanation

The ip6tables command is the user-space administration tool for managing the IPv6 packet filtering and NAT rules in the Linux kernel. It is the direct counterpart to the iptables command, which handles IPv4. ip6tables interacts with the Netfilter framework to define rulesets that inspect and manipulate IPv6 packets. Its syntax and structure, including tables (filter, mangle, etc.) and chains (INPUT, FORWARD, etc.), are analogous to iptables, but it operates exclusively on the IPv6 protocol stack.

Why Incorrect

A. iptables is the command used to administer Netfilter rules for the IPv4 protocol, not IPv6.
B. iptablesv6 is not a valid command; the correct syntax uses '6' directly after 'ip'.
C. iptables6 is not a valid command for administering Netfilter rules in standard Linux distributions.
E. ipv6tables is not a valid command; the correct syntax places the version number after 'ip'.

References

- ip6tables(8) Linux manual page. Section: NAME. It states, "ip6tables — IPv6 packet filter administration".

- Netfilter Project. (n.d.). iptables(8) man page. Retrieved from https://www.netfilter.org/documentation/manpages/iptables-1.8.7/iptables.8.html. The man page clearly distinguishes between iptables for IPv4 and ip6tables for IPv6.

- Red Hat Enterprise Linux 8 Documentation. (2023). Chapter 26. Getting started with nftables. Section 26.1. It notes that iptables, ip6tables, arptables, and ebtables are legacy tools, explicitly identifying ip6tables for IPv6 rule management.

Scroll to Top