XK0-005 · Question #1004960
A Linux administrator has configured a Linux system to be used as a router. The administrator confirms that two network adapters are properly installed and functioning correctly. In addition, the…
The correct answer is A. echo "1" > /proc/sys/net/ipv4/ip_forward. To make a Linux system fully functional as a router, the administrator must enable IP forwarding to allow the system to route packets between its network interfaces.
Question
Options
- Aecho "1" > /proc/sys/net/ipv4/ip_forward
- Becho "0" > /proc/sys/net/ipv4/tcp_abort_on_overflow
- Cecho "0" > /proc/sys/net/ipv4/max_connections
- Decho "1" > /proc/sys/net/ipv4/ip_default_ttl
How the community answered
(39 responses)- A95% (37)
- B3% (1)
- C3% (1)
Why each option
To make a Linux system fully functional as a router, the administrator must enable IP forwarding to allow the system to route packets between its network interfaces.
This command sets the `/proc/sys/net/ipv4/ip_forward` kernel parameter to '1', which enables IP forwarding. Enabling IP forwarding is essential for a Linux system to act as a router, allowing it to forward incoming network packets from one interface to another.
The `tcp_abort_on_overflow` parameter controls TCP connection behavior when the listen queue overflows, which is not directly related to enabling the fundamental IP routing functionality.
There is no standard kernel parameter named `max_connections` in `/proc/sys/net/ipv4/` that limits the total number of connections in this manner, and setting an unknown parameter to '0' would not enable routing.
The `ip_default_ttl` parameter sets the default Time-To-Live for outgoing IP packets, which is a packet attribute, not the mechanism for enabling the core routing capability itself.
Concept tested: Enabling IP forwarding on Linux
Source: https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt
Topics
Community Discussion
No community discussion yet for this question.