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
Explain the linux ‘cd’ command options along with the description?
What can you tell about the tar command?
The ‘logout’ built in command is used to
What command is used to check the number of files, disk space, and each user’s defined quota?
How do I check dns entry?
How do I find previous commands in linux?
How do I run a bash script in linux?
What is the difference between cd and cd in linux?
What does wc command do in unix?
What is linux load average?
What is du command in linux?
What does chmod 755 do?
What is parallel ssh?
What Command used to lock user password?
What does curl command do in linux?