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

My Linux server in the two lan card one lan card is ok working but second lan card after restart daily lan card deactivate and then manual activate then properly working but after restart repeat this problem.(Fedora O.S.) Pls tell me solved this problem.

4 Answers  


Without Using $date -dyesterday. How I get the yesterday's date ?

3 Answers   DELL,


how can i create samba server in fedora 9.0 ? and domain/LDAP controller! clilent side is windows pc .?

0 Answers   Wipro,


How To Hide the FTP Version?

3 Answers   Wipro,


how can i make an user to nologin without locking the account for the user

7 Answers   CSS, CSS Corp,






what restrict telnet for root itself but allow for other user

3 Answers   CA,


What is LILO?

11 Answers   Cisco,


There are 4 network Interfaces, how can we find which one is Primary.

2 Answers  


How to Trouble shoot performance issue in RHEL administration ? please give to one example

0 Answers  


What utility can you use to automate rotation of logs?

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


what is memory mapped / IO mapped ? Which calls used for this to access any hardware address in linux device driver ?

3 Answers   Broadcom,


Categories