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 |
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.
Without Using $date -dyesterday. How I get the yesterday's date ?
how can i create samba server in fedora 9.0 ? and domain/LDAP controller! clilent side is windows pc .?
How To Hide the FTP Version?
how can i make an user to nologin without locking the account for the user
what restrict telnet for root itself but allow for other user
What is LILO?
There are 4 network Interfaces, how can we find which one is Primary.
How to Trouble shoot performance issue in RHEL administration ? please give to one example
What utility can you use to automate rotation of logs?
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 ?????????
what is memory mapped / IO mapped ? Which calls used for this to access any hardware address in linux device driver ?