LPI
202-450 · Question #248
202-450 Question #248: Real Exam Question with Answer & Explanation
Sign in or unlock 202-450 to reveal the answer and full explanation for question #248. The question stem and answer options stay visible for context.
Question
On a Linux router, packet forwarding for IPv4 has been enabled. After a reboot, the machine no longer forwards IP packets from other hosts. The commanD. echo 1 > /proc/sys/net/ipv4/ip_forward temporarily resolves this issue. Which one of the following options is the best way to ensure this setting is saved across system restarts?
Options
- AAdd echo 1 > /proc/sys/net/ipv4/ip_forward to the root user login script.
- BAdd echo 1 > /proc/sys/net/ipv4/ip_forward to any user login script.
- CIn /etc/sysctl.conf change net.ipv4.ip_forward to 1.
- DIn /etc/rc.local add net.ipv4.ip_forward = 1.
- EIn /etc/sysconfig/iptables-config add ipv4.ip_foward = 1.
Unlock 202-450 to see the answer
You've previewed enough free 202-450 questions. Unlock 202-450 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.