Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
Location Chicago IL, USA

Exam EX200 topic 1 question 37 discussion

Actual exam question from RedHat's EX200
Question #: 37
Topic #: 1
[All EX200 Questions]

Your System is going to use as a Router for two networks. One Network is and Another Network is Both network's IP address has assigned. How will you forward the packets from one network to another network?

Show Suggested Answer Hide Answer

Suggested Answer: See explanation below.
echo "1" >/proc/sys/net/ipv4/ip_forward
vi /etc/sysctl.conf
net.ipv4.ip_forward = 1
If you want to use the Linux System as a Router to make communication between different networks, you need enable the IP forwarding. To enable on running session just set value 1 to
/proc/sys/net/ipv4/ip_forward. As well as automatically turn on the IP forwarding features on next boot set on /etc/sysctl.conf file.


4 days, 8 hours ago
sysctl -w net.ipv4.ip_forward=1 sysctl net.ipv4.ip_forward
upvoted 1 times