Interviewer And Interviewee Guide

Red Hat Certification Interview Question:

Suppose There are more then 400 Computers in your Office. You are appointed as a System
Administrator. But you don?t have Router. So, you are going to use your One Linux Server as a
Router. How will you enable IP packets forward?

Submitted by: Administrator
1. /proc is the virtual filesystem, we use /proc to modify the kernel value at running time. So For

Current Session: echo ?1? >/proc/sys/net/ipv4/ip_forward

2. /etc/sysctl.conf ?when System Reboot on next time, /etc/rc.d/rc.sysinit scripts reads the file

/etc/sysctl.conf. So if you want to permanently set the IP forwarding enable, You should set:

net.ipv4.ip_forward=1

Here 0 means disable, 1 means enable.
Submitted by: Administrator

Read Online Red Hat Certification Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.