Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Redhat / Fedora Linux Help > can't ping my IP address

Forgot Password?
 Redhat / Fedora Linux Help   Help and discussion related to Redhat and Fedora Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-20-2005   #1 (permalink)
ust
Just Joined!
 
Join Date: Feb 2005
Posts: 77
Send a message via ICQ to ust
can't ping my IP address

I hv just install the ES 3 RH system , I hv modified the below file , but I still can't ping my IP 192.168.0.1 , I can only ping localhost , even reboot , it still not work , could suggest what is wrong in my system ? thx


#vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.1
NETMASK=255.255.255.0
GATEWAY=192.168.0.2

I use ifconfig to check that , only the bwlow was shown , is it the network card still not setup or not started ? I can only ping 127.0.0.1 . thx a lot

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20944033 errors:0 dropped:0 overruns:0 frame:0
TX packets:20944033 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1075938067 (1026.0 Mb) TX bytes:1075938067 (1026.0 Mb)
ust is offline  


Reply With Quote
Old 04-20-2005   #2 (permalink)
Linux Guru
 
budman7's Avatar
 
Join Date: Oct 2004
Location: Knee deep in Grand Rapids, Michigan
Posts: 3,242
Why are you using a static ip?
It looks like you are getting your ip address from the router. 192.168 addresses are not routable ip addresses.
That is the address that your router gives you.
Try switching to a dynamic ip and the ipaddr, netmask and gateway should be left blank.

Try that, I hope this helps.
__________________
Go RedWings
How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger

New users read The FAQ
budman7 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:21 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2