Share your knowledge at the LQ Wiki.
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 08-13-2004, 10:51 AM   #1
LQ Newbie
Registered: Aug 2004
Distribution: slackware 10.0
Posts: 1

Rep: Reputation: 0
ping problems

For those newbies who have problems here is list of things I encountered.
I had problems. I was able to ping the inside address of my router but nothing on the internet.
Here are the steps I took:
Commands used :ifconfig, route, ping, netconfig.

After configuring you network interface (usually eth0) :
1. check ifconfig
look for an IP,number, netmask, and status of UP.
2. check route
look to see if an IP number is in the gateway column.
3. use ping to check for connectivity.
ping the IP found in ifconfig for eth0. If that works try pinging the router or Gateway IP. Try 'ping'ing the name of a site. Please be aware that the number of attempts to be can be usually controlled by the -c# parameter. I was used to the standard MS DOS/Windows only attempting 4 times. Also CTRL-C will usually break the continuous ping.
Example: ping -c5 'or' ping -c5
4. Try traceroute to a known good name and the IP.

I used netconfig in Slackware 10.0 to setup. I also specified a DHCP Server. DHCP is a service which automatically provides a computer/network interface with an IP number. If came up with a good IP.
Why am I describing this? Well, in some ways, I am a newbie. In others, I have 30 years of technical experience. The syntax of OS can be more of a problem than the hardware for me.

My problem was I could ping my internal IP & the Gateway IP but nothing on the internet. BUT traceroute worked. I believe it is something with my ISP preventing ping through the ICMP protocol (?). I thought a web browser wouldn't work but when I brought up kde, it worked just fine.
So if ping doesn't work on the outside IPs but works on the inside, try traceroute. If it works, just bring up your web browser and try.

I hope this helps others in the future

Old 09-03-2004, 07:52 PM   #2
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290

Rep: Reputation: 30
very interesting.
Maybe you'll consider writing up a diagnoistic tutorial and posting it in Linux Answers


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
Internet problems on LAN, cant ping certain websites, help please lurker Linux - Networking 2 07-17-2004 11:29 AM
network problems can't ping out of dmz lhillu Linux - Networking 11 10-03-2003 09:38 AM
lan problems (ping timeout) Bungholio Linux - Networking 11 07-07-2003 02:29 PM
Networking problems (no ping etc..) Gorchi Linux - Networking 14 03-07-2003 01:06 PM > Forums > Linux Forums > Linux - Newbie

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