Thursday 6 December 2012

      

                  



In Windows OS, Internet connection can be shared to other LAN or Wireless LAN.In the same way you can shere Internet using Redhat Linux 6.Follow the procedure to do so.


Step 1: 

Please open terminal or log in text mood with root user. Then apply below command.
  • # vi /etc/sysctl.conf then press enter.
Now please go to bottom in this text file and remove Hash sigh (#) from in front of below line.
  • net.ipv4.ip_forword=1.
After does this please save file.

Step 2:

 Please apply another command for DNS set. Then press below command.
  • # vi /etc/resolve.conf then press enter.
May you get this file empty. If it is empty then please write as below:
  • nameserver <your DNS server IP here>

you can
Then save and restart the network service. Use below command.
  • # service network restart or.
  • # /etc/init.d/network restart.























No comments:

Post a Comment