RH202 RHCT (Redhat Certified Technician) RH202

Loading demo links...

Showing 4–6 of 10 questions

Question 4 (Installation and Configuration Section)

SIMULATION

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.

Answer is in the explanation below.

Question 5 (Installation and Configuration Section)

SIMULATION

Make Secondary belongs the jeff and marion users on sysusers group. But harold user should not belongs to sysusers group.

Answer and

Explanation:

:

1.usermod -G sysusers jeff

2.usermod –G sysuser marion

3.Verify by reading /etc/group file

Using usermod command we can make user belongs to different group. There are two types of group one primary and another is secondary. Primary group can be only one but user can belongs to more than one group as secondary.

usermod -g groupname username To change the primary group of the user

usermod -G groupname username To make user belongs to secondary group.

Answer is in the explanation below.

Question 6 (Practice - Installation and Configuration)

SIMULATION

Fill up the Form through http://server1.example.com/form.php

Answer and

Explanation:

:

1.Open the Browser and type the above URL.

2.Fill the form as required all information.

Answer is in the explanation below.