Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can I block some IPs using the regular UNIX 'route' command?

0 views
Skip to first unread message

Timothy J. Luoma

unread,
Aug 24, 1997, 3:00:00 AM8/24/97
to

[ Please excuse the false From line.... the spam-flow is much too high. I
will read the
newsgroups for any followups. ]

I have seen some folks using a Cisco router to block some IP blocks entirely.

I was wondering if this could be done using the regular 'route' command under
UNIX, and if so, how.

Thanks

TjL


Barry Margolin

unread,
Aug 24, 1997, 3:00:00 AM8/24/97
to

In article <5toabf$5j8$5...@ha1.rdc1.nj.home.com>,

Timothy J. Luoma <nos...@all.please> wrote:
>I have seen some folks using a Cisco router to block some IP blocks entirely.
>
>I was wondering if this could be done using the regular 'route' command under
>UNIX, and if so, how.

Route the blocks to a nonexistent address on your subnet.

--
Barry Margolin, bar...@bbnplanet.com
BBN Corporation, Cambridge, MA
Support the anti-spam movement; see <http://www.cauce.org/>
Please don't send technical questions directly to me, post them to newsgroups.

Timothy J. Luoma

unread,
Aug 24, 1997, 3:00:00 AM8/24/97
to

In <5toi4q$s...@pasilla.bbnplanet.com> Barry Margolin wrote:
> In article <5toabf$5j8$5...@ha1.rdc1.nj.home.com>,
> Timothy J. Luoma <nos...@all.please> wrote:
> >I have seen some folks using a Cisco router to block some IP blocks
entirely.
> >
> >I was wondering if this could be done using the regular 'route' command
under
> >UNIX, and if so, how.
>
> Route the blocks to a nonexistent address on your subnet.


OK, how do I do that? I'm not very familiar with what route can do, other
than setting up a default route.

Say I wanted to block all the machines in a C class such as:

210.987.654.0 - 210.987.654.255 (which I just made up, I don't know if it
even exists)

or a B class:

210.987.0 - 210.987.255

Thanks

TjL

ps -- I read the man page before my initial post, it didn't help me
understand any better.


0 new messages