Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-05-2004, 02:25 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2004
Posts: 22
Rep:
|
traceroute - help?
I am using traceroute for the first time and having no success and need some help. The output from traceroute is basically
traceroute to www .google. com (66.102.9.104), 30 hops max, 40 byte packets
1 192.168.0.1 0.497 ms 0.506 ms 0.596 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
etc.
My network is setup using a standard Ethernet card on my SUSE 9.1 machine connected to a Netgear DG814 ADSL Modem/router. I am using DHCP for IP address allocation and using bog standard BT broadband with a dynamic IP address.
Is it my config or is something else amiss
I have no problem connecting to the Internet and was looking at traceroute purely from a learning perspective and not to solve a current network issue.
ps. I have also tried xtraceroute with the same result
Thanks
O
|
|
|
|
09-05-2004, 02:50 PM
|
#2
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,471
Rep: 
|
Traceroute may be blocked in your network. Does ping work (ping www.google.com)? Probably both ping and traceroute are blocked. Or it may be just your own firewall, if you have one.
|
|
|
|
09-05-2004, 05:40 PM
|
#3
|
|
LQ Newbie
Registered: Mar 2004
Posts: 22
Original Poster
Rep:
|
Mara
Ping works fine.
PING www. google. akadns. net (66.102.9.99) 56(84) bytes of data.
64 bytes from 66.102.9.99: icmp_seq=1 ttl=240 time=45.1 ms
64 bytes from 66.102.9.99: icmp_seq=2 ttl=240 time=44.2 ms
64 bytes from 66.102.9.99: icmp_seq=3 ttl=240 time=44.1 ms
|
|
|
|
09-05-2004, 09:30 PM
|
#4
|
|
Member
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290
Rep:
|
Because the first route outside works fine it has nothing to do with traceroute being blocked on your end.
Read up on what traceroute does it may help you.
What happening is that there is a time allocation for how long a router has to respond some routers are busier than others.
by default i believe trace route will wait 5 seconds before sending out the next packet mean one of three things if the resulting router did not respond.
1.) A router on the path not sending back the ICMP "time exceeded" messages
2.) A router or firewall in the path blocking the ICMP "time exceeded" messages
3.) The target IP address not responding
Routers can be configured to do this because it makes for less load on the routers.
so just dont worry about it there is nothing wrong with your network.
|
|
|
|
09-06-2004, 03:36 AM
|
#5
|
|
LQ Newbie
Registered: Mar 2004
Posts: 22
Original Poster
Rep:
|
I trawled the web for any more clues and it seems that it is the UDP protocol that could be to blame. traceroute on Linux uses UDP by default while tracert on windows uses ICMP by default.
I ran tracert on my windows machine and it works.
Only problem I have now is trying to get traceroute to use ICMP instead of UDP.
none of these iterations work
traceroute -I www.google.com
traceroute -I ICMP www.google.com
traceroute -I icmp www.google.com
Thanks for your help
O
|
|
|
|
10-14-2004, 10:41 PM
|
#6
|
|
LQ Newbie
Registered: Sep 2004
Posts: 6
Rep:
|
Changing UDP to ICMP in XTRACEROUTE
Hi all,
I have encountered the same problem described above by Ocset.
Is there a way to change UDP to ICMP in xtraceroute?
Thanks
|
|
|
|
10-15-2004, 03:34 PM
|
#7
|
|
Member
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290
Rep:
|
I dont see why traceroute -I <destination> shouldn't work because then it switches to icmp packets
but you can also try this program tcptraceroute its seems to be pretty good at gettings past most firewalls.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
traceroute
|
overproof |
Linux - Newbie |
3 |
04-03-2005 10:35 AM |
|
Using Traceroute
|
lapthorn |
Linux - Networking |
3 |
06-30-2004 05:39 AM |
|
traceroute
|
becky_starr |
Linux - Networking |
1 |
03-17-2004 08:48 AM |
|
traceroute
|
mint567 |
Linux - Networking |
3 |
11-23-2003 02:37 PM |
|
Traceroute help
|
sikandar |
Linux - Software |
1 |
09-23-2003 12:15 AM |
All times are GMT -5. The time now is 10:52 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|