how do you configure linux system as a router?


Answers were Sorted based on User's Feedback



how do you configure linux system as a router? ..

Answer / rohit tyagi

# /etc/sysctl.conf
enable ip packet forwarding
net.ipv4.ip_forward = 1

Is This Answer Correct ?    29 Yes 1 No

how do you configure linux system as a router? ..

Answer / saurendra prasad,kaizen it ser

Enable packet forwarding For that we should
echo "1" > /proc/sys/net/ipv4/ip_forward
apply the above command

Make it permanent by adding "net.ipv4.ip_forward = 1"
to /etc/sysctl.conf

Is This Answer Correct ?    17 Yes 2 No

how do you configure linux system as a router? ..

Answer / shaan

Make it permanent by adding "net.ipv4.ip_forward = 1"
to /etc/sysctl.conf


to get effect, run sysctl -p

Is This Answer Correct ?    9 Yes 0 No

how do you configure linux system as a router? ..

Answer / gnani

To make it consistent in next boot.. run these command also

chkconfig syslog on
service syslog restart

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More Linux AllOther Interview Questions

how do you configure linux system as a router?

4 Answers   HCL,


How to send automated email to a set of people at fixed time ?

3 Answers   Accenture, HP,


How to know what are the packages required for any service? Example: How to know what are the package required for send mail services. using any command it is passable are not?

2 Answers   OnMobile,


what are the different types of Backups..?

6 Answers   IBM, SDG,


What command can you use to review boot messages?

6 Answers  






I have accidently deleted my fstab... how do i recover/ regenerate the file?????? in rescue mode i cannot create a new file since the filesystem is readonly and could not mount in readwrite mode ?????????

6 Answers   IBM,


How to recover a deleted file in linux ?

5 Answers  


How to ""Add"" not replace address to same network card other than the alias way.... ??????

3 Answers  


Hi all Could u plz tell me how I can get UNIX/Linux Certification

2 Answers   Accenture,


what is difference between  TFTP abd FTP?

0 Answers  


Why is it suggested to disable journalism in ext4 filesystem?

0 Answers   IBM, TCS,


How to catagories tickets in RHEL, which tickets are belong to PROBLEM, INCIDENT and CHANGE management? please given to me with examples

0 Answers  


Categories