From: lak on
In traceroute what is the use of -g option. What it will do?
From: Lew Pitcher on
In comp.unix.programmer, lak wrote:

> In traceroute what is the use of -g option. What it will do?

According the the traceroute(8) manpage on my Slackware Linux 12.0 system,
the -g option specified "a loose source route gateway (8 maximum)".

With the -g option, you can specify the initial route that traceroute will
use.

--
Lew Pitcher

Master Codewright & JOAT-in-training | Registered Linux User #112576
http://pitcher.digitalfreehold.ca/ | GPG public key available by request
---------- Slackware - Because I know what I'm doing. ------


From: Barry Margolin on
In article
<2f90c579-6307-4b3c-a457-9329082ba218(a)q24g2000prf.googlegroups.com>,
lak <lakindia89(a)gmail.com> wrote:

> In traceroute what is the use of -g option. What it will do?

traceroute -g A B

means to send the packets to B via router A. This is useful when you
want to troubleshoot routing problems in a distant part of the network
when you don't have permission to login to the remote routers. In
particular, it's good for diagnosing problems due to asymmetric routing.

--
Barry Margolin, barmar(a)alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***