LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-07-2002, 03:25 PM   #1
joecs
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
[BHBS]=TK
Member
 
Registered: Aug 2001
Location: Salt Lake City, UT
Distribution: REDHAT 7.1
Posts: 32

Rep: Reputation: 15
DOH

try this

route add default gw (your gateway IP here) eth0

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

route -n
 
  


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
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


All times are GMT -5. The time now is 10: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration