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 find previous commands in linux?
What is tty name?
The head command writes the how many lines of a file to screen?
What is kill command?
How do I run a bash script in linux?
How to root mirror in linux?
How do you clear the screen in linux?
How can we increase disk read performance in single command in Linux?
What is the gcc command?
Explain about chmod options filename?
What are the 7 types of sentences?
What are the command prompt commands?
How do I permanently delete linux history?
What is vnc?
What commands are used to see all jobs running in the hadoop cluster and kill a job in linux?