nerdexam
CompTIA

XK0-005 · Question #846

An administrator is investigating an issue on a Linux-based router where packets enter the machine but are not sent to their destinations in the 10.0.6.0/24 subnet. The administrator inspects the…

The correct answer is B. iptables -P FORWARD ACCEPT. The FORWARD chain policy is set to DROP, which blocks packet forwarding between interfaces-even if the routes and NAT rules are correct. Setting the policy to ACCEPT allows packets to be routed through the system.

Troubleshooting

Question

An administrator is investigating an issue on a Linux-based router where packets enter the machine but are not sent to their destinations in the 10.0.6.0/24 subnet. The administrator inspects the following output from the diagnostic commands:

Which of the following commands should the administrator run to enable the routing?

Options

  • Aip route add 10.0.6.0/24 via 10.0.6.1
  • Biptables -P FORWARD ACCEPT
  • Csystemctl enable --now firewalld
  • Dsystemctl restart network

How the community answered

(25 responses)
  • A
    16% (4)
  • B
    72% (18)
  • C
    4% (1)
  • D
    8% (2)

Explanation

The FORWARD chain policy is set to DROP, which blocks packet forwarding between interfaces-even if the routes and NAT rules are correct. Setting the policy to ACCEPT allows packets to be routed through the system.

Topics

#Linux Networking#Packet Forwarding#iptables#Firewall Configuration

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice