[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RaQ2: Reading the routing table
- Subject: Re: [cobalt-users] RaQ2: Reading the routing table
- From: "mjc" <mjc@xxxxxxxxxxxxxxx>
- Date: Wed Mar 21 00:11:58 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
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
>