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

Explain the linux ‘cd’ command options along with the description?

898


What can you tell about the tar command?

1023


The ‘logout’ built in command is used to

1204


What command is used to check the number of files, disk space, and each user’s defined quota?

989


How do I check dns entry?

979


How do I find previous commands in linux?

995


How do I run a bash script in linux?

940


What is the difference between cd and cd in linux?

949


What does wc command do in unix?

965


What is linux load average?

1050


What is du command in linux?

1055


What does chmod 755 do?

835


What is parallel ssh?

937


What Command used to lock user password?

1027


What does curl command do in linux?

971