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

In how many ways linux can be installed n explain th steps involved in installation in any of the method..?

1 Answers   IBM,


i installed clustering packages.When i try to run it getting LUCI error...what is it..??

0 Answers  


how u use the iptable firewall to restrict ssh,telnet,ftp

9 Answers  


Tell me command which is use for create quota database in Linux.

7 Answers   Wipro,


I want to configure production interface and manage interface, how to configure both interfaces in Linux. please post the answers

0 Answers  






What are the differences between FTP , NFS , SAMBA servers explain separately.

0 Answers  


You want to create a compressed backup of the users' home directories. What utility should you use?

5 Answers  


What is page-in and page-out in redhat linux?

1 Answers  


what are acl permissions..? what is automation of jobs..?

5 Answers   IBM, TCS,


what is the difference between NIS and DNS...?

5 Answers   IBM,


what is the difference betweenh the NFS and FTP?

4 Answers   IBM,


Without using w command how can Iknow that who are users logged in and what they are doing and whether they are idle or running mode?

4 Answers  


Categories