[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: "Jonathan Michaelson" <michaelsonjd@xxxxxxxxxxx>
- Date: Tue Mar 20 21:00:13 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
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