Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How many interfaces(ethernet cards) are working using single command?

1003


Who linux commands?

1066


What can you tell about the tar command?

1098


How do I check memory usage on linux?

1096


You read an article that lists the following command: dd if=/dev/fdo bs=512 of=/new what does this accomplish?

1018


What is the example of command sentence?

1051


What is linux load average?

1132


How many types of dos commands are there?

1133


Why bash is used in linux?

1046


What could be the problem when a command that was issued gave a different result from the last time it was used?

1236


Which command is used to clear the screen?

1038


What is sudo bash command?

1031


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?

970


Why is linux cpu usage so high?

1052


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?

1070