Networking Forums

Networking Forums > Computer Networking > Linux Networking > "traceroute -g" failed

Reply
Thread Tools Display Modes

"traceroute -g" failed

 
 
Weiguang Shi
Guest
Posts: n/a

 
      11-04-2003, 07:05 PM
Hi,

On my Linux box, named spice, I can do
% traceroute www.yahoo.com

But I can not do
% traceroute -g www.yahoo.com spice

which, as I learned from Chapter 8 of Stevens's "TCP/IP Illustrated, vol 1",
should show the routers on the round trip.

The error message was

traceroute: sendto: Invalid argument

Has anyone had any luck with tracing the round-trip route on Linux before?

Thanks,
Weiguang
 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      11-06-2003, 01:27 AM
On Tue, 4 Nov 2003, Weiguang Shi <(E-Mail Removed)> wrote:
> Hi,
>
> On my Linux box, named spice, I can do
> % traceroute www.yahoo.com
>
> But I can not do
> % traceroute -g www.yahoo.com spice
>
> which, as I learned from Chapter 8 of Stevens's "TCP/IP Illustrated, vol 1",
> should show the routers on the round trip.


Does your 'man traceroute' show a -g switch (mine in Linux does not). The
one in Solaris does, but appears to do something else:

-g gateway
Specify a loose source route gateway. The user
can specify more than one gateway by using -g for
each gateway. The maximum number of gateways is 8
for IPv4 and 127 for IPv6. Note that some factors
such as the link MTU can further limit the number
of gateways for IPv6. This option cannot be used
with the -r option.

Likewise for NetBSD:

-g Specify a loose source route gateway (8 maximum).

I do not see an option for any of them to show routers on return trip.

--
David Efflandt - All spam ignored http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
 
Reply With Quote
 
Weiguang Shi
Guest
Posts: n/a

 
      11-06-2003, 03:17 PM
In article <(E-Mail Removed)>, David Efflandt wrote:
>Does your 'man traceroute' show a -g switch (mine in Linux does not). The
>one in Solaris does, but appears to do something else:


My Linux is Red Hat 7.2. And the man page of traceroute shows

-g Specify a loose source route gateway (8 maximum)

As for getting round trip hops, traceroute to the localhost itself with the
remote host as a gateway and use the loose source route option (Stevens, TCP/IP
Vol. I, Section 8.5).

Wei
 
Reply With Quote
 
ynotssor
Guest
Posts: n/a

 
      11-06-2003, 04:11 PM
"Weiguang Shi" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)

> My Linux is Red Hat 7.2. And the man page of traceroute shows
>
> -g Specify a loose source route gateway (8 maximum)


The man page also shows "-g gateway", so your syntax of:

traceroute -g www.yahoo.com spice

should be expected to result in your error message of:

traceroute: sendto: Invalid argument



--
use hotmail com for any email replies


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
 
Reply With Quote
 
 
 
Reply

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Continuation of "Arrrgh! rsync "chroot failed" error message!" kenney@lucent.com Linux Networking 3 08-10-2006 08:35 AM
[Fwd: SPEWS DOLTS "SneakyP", "Kevin!:?)", "WindsorFox" SPAM braodbandnewsgroup] !:?) Broadband 0 11-30-2005 01:04 AM
Re: SPEWS SLIMES "WindsorFox", "Kevin-!:?)", "Spin Dryer" get the cold shoulder at broadband ng! SneakyP Broadband 0 11-29-2005 10:46 PM
Attention Plus.net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM broadband newsgroup !:?) Broadband 0 11-28-2005 04:28 AM
Attention Plus.Net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM braodband newsgroup !:?) Broadband 0 11-28-2005 03:03 AM



1 2 3 4 5 6 7 8 9 10 11