Câu 33: 202-450: LPIC-2 Exam 202
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 syst…
Nội dung câu hỏi
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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Add echo 1 > /proc/sys/net/ipv4/ip_forward to the root user login script
- B. Add echo 1 > /proc/sys/net/ipv4/ip_forward to any user login script
- C. In /etc/sysct1.conf change net.ipv4.ip_forward to 1 — đáp án hiện tại
- D. In /etc/rc.local add net.ipv4.ip_forward = 1
- E. In /etc/sysconfig/iptables-config add ipv4.ip_forward = 1
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.