On Tue, 20 Feb 2001, Ingo Flaschberger wrote:

> Hi
>
> how could i modify the amount of the maximum routes that freebsd allow?
>
> i have seen, that with more memory i could use more routes.
> some results from me:
> ram   routes
> 128mb         75k
> 196mb 110k
> 256mb 150k
>
> is it possible to modify the maximum ammount and does it make sense?
> i would need that for some routers speaking bgp.
> 120k routes with 128mb ram would be nice, if possible.
>
> currently, adding more routes than supportet ends with:
> extern# route add 20.0.0.0/24 10.0.0.1
> route: writing to routing socket: No buffer space available
> add net 20.0.0.0: gateway 10.0.0.1: routing table overflow

Add this to your kernel config. file:

# 1/2 RAM for the kernel - lets us have full routes.
options         VM_KMEM_SIZE_SCALE="(2)"

See also /usr/include/machine/vmparam.h

Unfortunatly freebsd's kernel memory managment stuff dosn't dynamicly resize,
i'm pretty sure NetBSD's does, so you might like to take a look at that too.

-- 
Internet Vision          Internet Consultancy           Tel: 020 7589 4500
60 Albert Court            & Web development            Fax: 020 7589 4522
Prince Consort Road                                   [EMAIL PROTECTED]
London SW7 2BE                                   http://www.ivision.co.uk/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to