This is a discussion on "traceroute -g" failed within the Linux Networking forums, part of the Linux Forums category; Hi, On my Linux box, named spice, I can do % traceroute www.yahoo.com But I can not do % traceroute -...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
On Tue, 4 Nov 2003, Weiguang Shi <wgshi@namao.cs.ualberta.ca> 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/ |
|
|||
|
In article <slrnbqjcbu.akn.efflandt@typhoon.xnet.com>, 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 |
|
|||
|
"Weiguang Shi" <wgshi@namao.cs.ualberta.ca> wrote in message
news:slrnbqkt0e.ra8.wgshi@namao.cs.ualberta.ca > 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! =----- |