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

what are the default permissions for files and folders..?

8 Answers   IBM,


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

1 Answers  


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

1 Answers   IBM,


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

1 Answers  


This question is belong to linux support. "one of my customer told to me, my application is getting slow response". how to resolve the issue. what are the steps you will follow to resolve the issue.

0 Answers  






what is the difference between semaphore, mutex & spinlock?????

1 Answers   Patni,


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

7 Answers   CSS, CSS Corp,


Where is standard output usually directed?

2 Answers  


i want some basic level enterview questions can any one can help me in this

1 Answers   TCL,


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

7 Answers  


why /etc/shadow file do not have any permission ?

0 Answers   IBM,


rpm package installation error in centos 6.4 [root@localhost packages6.4]# rpm -ivh nfs-utils-1.2.3-36.el6.i686.rpm warning: nfs-utils-1.2.3-36.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY error: Failed dependencies: keyutils >= 1.4-4 is needed by nfs-utils-1:1.2.3-36.el6.i686 libevent is needed by nfs-utils-1:1.2.3-36.el6.i686 libevent-1.4.so.2 is needed by nfs-utils-1:1.2.3-36.el6.i686 libgssglue is needed by nfs-utils-1:1.2.3-36.el6.i686 libgssglue.so.1 is needed by nfs-utils-1:1.2.3-36.el6.i686 libgssglue.so.1(libgssapi_CITI_2) is needed by nfs-utils-1:1.2.3-36.el6.i686 libnfsidmap.so.0 is needed by nfs-utils-1:1.2.3-36.el6.i686 libtirpc is needed by nfs-utils-1:1.2.3-36.el6.i686 libtirpc.so.1 is needed by nfs-utils-1:1.2.3-36.el6.i686 nfs-utils-lib >= 1.1.0-3 is needed by nfs-utils-1:1.2.3-36.el6.i686 rpcbind is needed by nfs-utils-1:1.2.3-36.el6.i686

1 Answers  


Categories