[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RaQ2: Reading the routing table



My guess is that the "route" command is not being found.
On my RaQ2, "route" is in /sbin.  Check your $PATH and
make sure that it includes /sbin.  If it doesn't, add a
line such as "$PATH=$PATH:/sbin" to your /etc/profile file
and then type ". /etc/profile"

Dan Keller
dan@xxxxxxxxxx
www.keller.com
v:415/861-4500
f:415/861-4593

On Wed, 21 Mar 2001, mjc wrote:

> I just tried the following as a root ( su root)(raq4i).
>
> "sh: route: command not found"
>
> what is it saying?
> and what do I need to do?
>
> m chung.
>
> --- Original Message -----
> From: "Jonathan Michaelson" <michaelsonjd@xxxxxxxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Sent: Monday, March 19, 2001 6:00 PM
> Subject: Re: [cobalt-users] RaQ2: Reading the routing table
>
>
> > Diana,
> >
> > > Can anyone tell me how to read the current routing table information. I
> > > would like to see a list of what IPs have been dropped by the reject
> > > command. I know that to get them out your reverse the command that put
> > them
> > > in, but I don't want to get any out...just see what's there. I thought I
> > > found a command that would do this using an 'ls' but it didn't work so I
> > > either did it wrong or I'm totally confused..(the most likely option..:)
> >
> > I don't know the meaning of all the fields, but if you do a "man route" it
> > becomes clear :-)
> >
> > If you issue the route command (add -n to speed it up by not doing reverse
> > lookups) then you will get a list of entries. The key elemtent is in the
> > Flags. Those with a ! are reject routes.
> >
> > So, if you do:
> > route -n | grep !
> >
> > You'll get a list of all the volatile (until the next reboot) rejected
> > hosts.
> >
> > Regards,
> > Jonathan Michaelson
> >
> > _______________________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To Subscribe or Unsubscribe, please go to:
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
> >
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>