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

Where is standard output usually directed?

2 Answers  


what restrict telnet for root itself but allow for other user

3 Answers   CA,


what is the difference betweenh the NFS and FTP?

4 Answers   IBM,


How is the difference between ftp and sftp ? and explain how to create ftp server and sftp server with example ?

2 Answers   Bank Of America, IBM,


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

5 Answers  


What are the main differences between RHEL4 & RHEL5?

11 Answers  


i want to install XP on RHEL5 with virtualization tell me step by step configuration

1 Answers  


Why is it suggested to disable journalism in ext4 filesystem?

0 Answers   IBM, TCS,


What file should you examine to determine the defined runlevels for your system?

7 Answers  


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

2 Answers  


When you install RedHat what is the kernel mode ? What is kernel compilation / upgrade ?

4 Answers   IBM,


Tell me the 5 differences between Linux and Unix?

4 Answers  


Categories