LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 03-13-2002, 04:59 PM   #1
AtulGore
LQ Newbie
 
Registered: Jul 2001
Location: Sunnyvale, CA
Posts: 11

Rep: Reputation: 0
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
 
Old 03-13-2002, 05:18 PM   #2
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
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
 
Old 03-13-2002, 05:41 PM   #3
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
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
 
Old 03-13-2002, 06:50 PM   #4
AtulGore
LQ Newbie
 
Registered: Jul 2001
Location: Sunnyvale, CA
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 03-14-2002, 08:11 AM   #5
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
Could you post the output of the following commands:

ifconfig
route
ping -vc 1 10.1.0.1
 
Old 03-14-2002, 06:24 PM   #6
AtulGore
LQ Newbie
 
Registered: Jul 2001
Location: Sunnyvale, CA
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 03-15-2002, 05:24 PM   #7
ascii2k
Member
 
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154

Rep: Reputation: 30
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???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to ping other than default gateway senthilpr_in Linux - Networking 6 08-17-2005 08:42 PM
Unable to ping Linux box Fritz_Monroe Linux - Newbie 3 05-19-2005 08:12 AM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 10:10 AM
dhcp client can't ping gateway but can ping other local hosts dirty_forks Linux - Networking 7 10-08-2004 11:54 AM
unable to ping linux from windows gdumont.1 Linux - Networking 4 11-05-2003 01:58 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration