RedHat RHCT (Redhat Certified Technician) RH202 RH202 Question # 35 Topic 4 Discussion

RedHat RHCT (Redhat Certified Technician) RH202 RH202 Question # 35 Topic 4 Discussion

RH202 Exam Topic 4 Question 35 Discussion:
Question #: 35
Topic #: 4

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

Answer and Explanation:

1.echo “1” >/proc/sys/net/ipv4/ip_forward

2.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.


Get Premium RH202 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.