LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   RH Linux 7.2 unable to ping to gateway (https://www.linuxquestions.org/questions/linux-networking-3/rh-linux-7-2-unable-to-ping-to-gateway-16204/)

AtulGore 03-13-2002 03:59 PM

RH Linux 7.2 unable to ping to gateway
 
:smash:

I installed RH 7.2 on two machines and am facing the same problem.

Both machines are unable to ping to gateway.

It shows the error message:

"Destination Host unreachable..."

ping localhost works, ping to localhost by it IP works, telnet localhost works,etc but I am unable to reach to the gateway.

I hate to say but this machine was working previously using another operating system(M$) using the same interface and now it has stopped.

Any help will be highly appreciated. I have run out of options.

Thanks in advance...
... Atul

shoot2kill 03-13-2002 04:18 PM

Are u using dynamic IP or static IP?
Are u able to ping to a remote host? eg,. another pC?

I think u have to enable your route setting.

Someone pls correct me, i f iam wrong

finegan 03-13-2002 04:41 PM

Right now you haven't actually configured your network card, you're pinging the machine through lo, local loopback, which is more or less a non-existent network device that allows your machine to talk to itself.

Try from the command line:

ifconfig eth0 xxx.xxx.xxx.xxx up

Where the XXX's are whatever IP you want the machine to have.

If your gateway assigns addresses through dhcp, try:

dhcpcd eth0

Luck,

Finegan

AtulGore 03-13-2002 05:50 PM

I have set all the network parameters during the install.

Here are the parameters which I have input.

Addressing: Static IP

IP address: 10.1.0.111
Mask: 255.255.0.0
Gateway: 10.1.0.1

ifconfig -a does show this address on eth0 and that the interface is up.

thanks..
... Atul

Mik 03-14-2002 07:11 AM

Could you post the output of the following commands:

ifconfig
route
ping -vc 1 10.1.0.1

AtulGore 03-14-2002 05:24 PM

Gurus:

I desparately need help.

and I guess I have narrowed down to the problem but looks like that this kind of problem has been faced by many solved by none.

When I run
#dmesg | grep par
PCI: Probing PCI hardware
Unknown bridge resource 2: assuming transparent


and this seems to be causing all the problem.

Please help.

Thanks a ton in advance...
... Atul

ascii2k 03-15-2002 04:24 PM

My first question is, does a device with the address of 10.1.0.1 really exist on your network? What is it specifically?


And second, how is this device and your machine connected? Hub, etc???


All times are GMT -5. The time now is 09:55 AM.