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
What are the command prompt commands?
Why echo is used in linux?
What is grep command in linux with examples?
what is the roles and responsibilities in linux system admin having 2yrs exp..?
What is tty name?
What are the options of wc command?
What is the symbol of linux?
What is the fastest way to enter a series of commands from the command-line?
Explain the linux directory commands along with the description?
What is vnc?
What are commands in grammar?
How remove all files in a directory linux?
What is git command?
How do I run bash on windows?
How do I check disk space in linux?