LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cannot connect internet at redhat 8 through ethernet (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-connect-internet-at-redhat-8-through-ethernet-387742/)

mazlan 11-29-2005 08:09 PM

cannot connect internet at redhat 8 through ethernet
 
Hi All,

i am new to linux and i am very interested in having a carreer in Linux field.Basically i am from windows back ground.

My problem is i have installed Red HAT 8.enterprise edition successfully.But i cudnot connect to internet.

My internet connection is throuh ethernet.Linux detect the realtek card , i enter the ipaddress of DNS and firewall .Even my system pings withthe firewall and server(windows2003),but i cannot to internet.

Kindly give me some links where i can find some useful tutorials to learn REDHAT LINUX.

Many Thanks in advance.

rylan76 11-30-2005 04:41 AM

Hi

Is your gateway correctly configured? What do you see it you do

netstat -r

in a terminal?

Here's mine:

Destination Gateway Genmask Flags MSS Window irtt Iface
169.254.255.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 169.254.255.100 0.0.0.0 UG 0 0 0 eth0


If you do not have a line with a UG in the "Flags" column, your gateway isn't correctly configured. You said you can ping your router, right? That means your local setup is most likely ok, you just need to setup the gateway.

To do that, at least in Redhat Linux FC3, edit

/etc/sysconfig/network

and make sure it looks something like this:

NETWORKING=yes
HOSTNAME=StefanLinux
GATEWAY=123.456.789.123

Where, of course, the GATEWAY adres is the local address of your router which is connected to your local ethernet.

Hope this helps...


All times are GMT -5. The time now is 08:18 PM.