LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't ping IP's ohter than localhost (https://www.linuxquestions.org/questions/linux-newbie-8/cant-ping-ips-ohter-than-localhost-11289/)

joecs 01-07-2002 02:25 PM

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.

[BHBS]=TK 01-07-2002 05:33 PM

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


All times are GMT -5. The time now is 11:01 PM.