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 many interfaces(ethernet cards) are working using single command?
Who linux commands?
What can you tell about the tar command?
How do I check memory usage on linux?
You read an article that lists the following command: dd if=/dev/fdo bs=512 of=/new what does this accomplish?
What is the example of command sentence?
What is linux load average?
How many types of dos commands are there?
Why bash is used in linux?
What could be the problem when a command that was issued gave a different result from the last time it was used?
Which command is used to clear the screen?
What is sudo bash command?
Suppose I lost a root password and I need to give it, I treid to change it through single usermode even though I am not get a password, then what is the otherprocedure to give a root password?
Why is linux cpu usage so high?
You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?