Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Karl Gaissmaier <karl.gaissmaier@rz.uni-ulm.de>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Q: best solution to stop traffic to huge amount of
Date: Thu, 22 Aug 2002 20:55:57 +0000	[thread overview]
Message-ID: <marc-lartc-103004985000945@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103000210313805@msgid-missing>

Robert Collier schrieb:
> 
> Hi Karl,
> 
> I don't have any suggestions for an easy way to solve your problem -
> but:
> 
> On Thu, Aug 22, 2002 at 09:38:58AM +0200, Karl Gaissmaier wrote:
> > With ip route I think I have to describe all unregistered hosts
> > to stop traffic and not the smaller amount of registered hosts.
> > Does the FIB and route cache scale well to approx 30k routes?
> 
> With 'large routing tables' enabled the kernel works just fine with a
> full internet routing table of 115,000 routes so a mere 30,000 should
> be a doddle.
> 
> Your main problem will be getting the routes into the kernel.

Yes this is a problem. I tried for fun to build a 64k routing table
with:
ip route add type prohibit 10.0.i.j
(i=0..255; j=0..255)
and this took more than one hour on my home desktop (old pentium 90)
to fill the routing table.
Even if I know that this is pretty old stuff I was astonished over this
slow progress.

The question that arises is now for me, how long does it take
for a full internet routing table to get synchronized after
a route flush with a linux router?

Anyway, you told me that the kernel works fine with 115k routes
but be aware I will use this with Gigabit Interfaces.

What is the average forwarding time in ms for a packet with
115k routes?

Best regards and thanks for your answer
	Charly

-- 
Karl Gaissmaier          Computing Center,University of Ulm,Germany
Email:karl.gaissmaier@rz.uni-ulm.de          Network Administration
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2002-08-22 20:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-22  7:38 [LARTC] Q: best solution to stop traffic to huge amount of unregistered hosts Karl Gaissmaier
2002-08-22 20:44 ` [LARTC] Q: best solution to stop traffic to huge amount of Karl Gaissmaier
2002-08-22 20:55 ` Karl Gaissmaier [this message]
2002-08-22 21:04 ` Karl Gaissmaier
2002-09-03 11:13 ` Karl Gaissmaier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-103004985000945@msgid-missing \
    --to=karl.gaissmaier@rz.uni-ulm.de \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox