Asked By
sid001
0 points
N/A
Posted on - 08/26/2011
Hi there,
In Windows OS, Internet connection can be shared to other LAN or Wireless LAN. I am using Redhat Linux 6 and I have two LAN card in my PC. How can I share Internet connection from one LAN card to another LAN card in Linux? Please, provide me the solution ASAP. This is mandatory for me to share the Internet connection.
Thank You.
Sharing of Internet Connection in Redhat Linux
Dear User,
Yes you can do it very easy. You need to configure two files only to share internet with two LAN card in Linux. Please follow.
Â
First: 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.
After does this please save file.
Second: 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 (DNS IP WILL BE PUT HERE).
Â
Then save and restart the network service. Use below command.
-
# service network restart or.
-
# /etc/init.d/network restart.
Â
Hope your problem solve.