How can I access to internet from RHEL?

Asked By 20 points N/A Posted on -

I installed Red Hat Linux in my computer but I cannot access Internet from my computer, I have set IP address on it also? Is there any mistake that I made or did not configure any stuff?  Any one can help me please!

Answered By 0 points N/A #133241

How can I access to internet from RHEL?


Hi Yency,

There are a lot of things can be the cause for your system that not to get your system internet access. Please check following things one by one..

1. You should check first your internet cable that are connected to your PC
2. Your IP address has default getway and DNS address is assigned.
3. Is there an IP forwarding is enabled ?

If is not, please confirm them

Type following command on your shell prompt

# echo “1” > /proc/sys/net/ipv4/ip_forward

Edit the following file with following lines :
# vi /etc/sysctl.conf

Replace 0 by 1 where you find
sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 0

Hop you can now get internet access

Britnu Salu


Login/Register to Answer

Related Questions