LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 02: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 02:27 PM.
 
Old 01-07-2002, 05: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:22 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
Open Source Consulting | Domain Registration