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
Describe the mknod command and when you’d use it.
What is the example of command sentence?
How can I delete a file in linux?
What is the pwd command?
What is the difference between command ‘ping’ and ‘ping6’?
What does f mean linux?
Explain about lprm job number?
Explain the linux directory commands along with the description?
What can you tell about the tar command?
In order to display the last five commands you have entered using the fc command, you would type?
How do you copy in terminal?
What is FC command?
Explain the linux ‘cd’ command options along with the description?
What command do you type to find help about the command who?
What is clang format?