how do you configure linux system as a router?
Answers were Sorted based on User's Feedback
Answer / rohit tyagi
# /etc/sysctl.conf
enable ip packet forwarding
net.ipv4.ip_forward = 1
| Is This Answer Correct ? | 29 Yes | 1 No |
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 |
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 |
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 |
What utility can you use to automate rotation of logs?
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?
1. User gaves df -h and the system get hanged. why ? 2. what is the hardlink and softlink mount ? 3. why is portmape should be started ? 4. what is nologin option 5. how to restrict users from accessing nfs ? 6. what is the difference between cpio and tar 7. what are the kernel parameters ? how to find out it ? 8. why we use sysctl.conf ? 9. if we gives init1 from multiuser runlevel, will it affect other users who already logged in to the system ? 10. what will be the available space to use after configuering raid5 with 5 disks each having 5gb spce ?
What are RPM?s, what do they offer?
what are the different types of Backups..?
How to ""Add"" not replace address to same network card other than the alias way.... ??????
what is the difference betweenh the NFS and FTP?
I want to send pop-up message to samba users when they access the shared folder.... for eg: i want to tell them (dont copy mp3 and video files)
cups stands for..?
plz mention some interesting problems you faced and how you solved it?
in linux gui desktop icon was lost how con u back this icons
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?