Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-07-2002, 03:25 PM   #1
LQ Newbie
Registered: Jan 2002
Location: Pittsburgh Area
Distribution: RedHat 7.0
Posts: 1

Rep: Reputation: 0
Angry Can't ping IP's ohter than localhost

I'm running Red Hat 7.0. I can ping the static IP that I assigned to eth0. I've found samples of the ifcfg scripts, and mine looked good. I get the error "Network is unreachable" when I try to ping other machines on the same network. I know my connection is good. I've tried two different NIC cards. I have green lights on the NIC. The ifconfig command shows the correct MAC for the NIC I have in the machine now. Can someone email me a sample ifcfg-eth0 script so that I can be sure I have the directives set correctly. Are there supposed to be quotes surrounding some of the arguments in these scripts? I've run the linuxconf program, but it makes no difference. This is driving me crazy.

Last edited by joecs; 01-07-2002 at 03:27 PM.
Old 01-07-2002, 06:33 PM   #2
Registered: Aug 2001
Location: Salt Lake City, UT
Distribution: REDHAT 7.1
Posts: 32

Rep: Reputation: 15

try this

route add default gw (your gateway IP here) eth0

then see if you have two entries for eth0 by typing:

route -n


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 03:39 PM
Can't ping localhost (ping: sendto: Operation not permitted) mentor99us Linux - Networking 7 09-05-2012 03:11 PM
Can't ping my internal IP's jaanus Linux - Networking 14 08-25-2005 08:15 PM
Can ping IP's, but not names. Why??? JeffreyKunkle Linux - Newbie 3 08-30-2004 12:22 PM
MDK 9.2, Can't ping localhost but can ping outside world? JohnLocke Linux - Networking 2 07-01-2004 06:59 PM > Forums > Linux Forums > Linux - Newbie

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

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