LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-06-2006, 10:54 AM   #1
dav_y2k
LQ Newbie
 
Registered: Apr 2005
Distribution: RedHat
Posts: 16

Rep: Reputation: 0
tracert/traceroute


Hi all,
I have a small lab at home where I have a linux box (Fedora core 5) running iptables everything works accordingly but I noticed the following:

when I do a tracert from a windows machine I get
C:\Documents and Settings\Administrator>tracert www.google.com

Tracing route to www.l.google.com [66.102.7.99]
over a maximum of 30 hops:

1 <1 ms <1 ms <1 ms 10.10.1.1
2 * * * Request timed out.
3 * * * Request timed out.
4 14 ms 15 ms 15 ms 221.184.12.65
5 16 ms 16 ms 17 ms 125.206.149.241
6 15 ms 14 ms 14 ms 60.37.11.37
7 17 ms 15 ms 15 ms 210.254.188.197
etc...

but on the linux box I get the following:

[root@ADONAI ~]# traceroute www.google.com
traceroute to www.google.com (66.102.7.147), 30 hops max, 40 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *


can anyone explain why??

thanks in advance.
 
Old 12-06-2006, 11:25 AM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Because with windows, tracert send icmp echo requests with small ttl values which further goes through your router & get reponse back with icmp type 11 replies But on the other side while you do traceroute from linux, it sends udp packets from source with small ttl values & further the router respond with icmp time exceeded replies (type 11).

So probably your iptables will be blocking udp packets & hence its not working in the latter case.
 
  


Reply


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
How to set PATH variable for command tracert? princegbenga Linux - Software 2 06-14-2007 07:48 AM
Strange ip from the result of tracert command mrpc_cambodia Linux - Networking 4 01-25-2005 06:49 AM
tracerouter & Tracert without Linux - Security 12 09-22-2004 05:06 PM
Traceroute, tracert??? MattLaw Linux - General 9 05-02-2004 07:57 PM
command ifconfig, route, tracert... missing in /bin mae Red Hat 2 09-18-2003 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:01 AM.

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