how do you configure linux system as a router?
Answer Posted / bhupendra singh jhala
follow following command
1.) vi /etc/sysctl.conf
# Controls IP packet forwarding
net.ipv4.ip_forward = 1
save (:wq!)
You should have a Two physical LAN card, if You have't two
Lan cat. You have to creat virtual Lan card
2.) cp -arvf /etc/sysconfig/network-scripts/ifcfg-
eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:1
3.) Set a diffrent Class IP in virtual Lan card
4.) start network service
/etc/init.d/network restart
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How do I check my disk space?
What is df command in linux?
What is know about grep commands?
What could possibly be the problem when a command that was issued gave a different result from the last time it was used?
Why is it called bash?
What is du -s * | sort -k1,1rn | head command used for?
What is ulimit in linux?
How do you create a file?
What is bc command in unix?
What is umask in linux?
What is tty name?
How do I know my linux shell version?
What does c mean in linux?
How to know linux os is 32 bit or 64 bit?
What is the difference between command ‘ping’ and ‘ping6’?