From owner-freebsd-net Tue Jul 18 12:18:25 2000 Delivered-To: freebsd-net@freebsd.org Received: from main.piter.net (main.piter.net [195.201.22.10]) by hub.freebsd.org (Postfix) with ESMTP id 1D89337B513 for ; Tue, 18 Jul 2000 12:18:22 -0700 (PDT) (envelope-from cyril@main.piter.net) Received: from Computer (Haiti.piter.net [195.190.106.209] (may be forged)) by main.piter.net (8.9.3/8.5.2/sply) with SMTP id XAA18695; Tue, 18 Jul 2000 23:17:28 +0400 (MSD) Message-ID: <000701bff0ec$8a63af00$d16abec3@piter.net> From: "Cyril A. Vechera" To: "Garrett Wollman" Cc: Subject: Re: some kind of policy rounting with large table needed Date: Tue, 18 Jul 2000 23:15:29 +0400 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.0518.4 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0518.4 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org So, no easy way? I guess it sould be made on netgraph with some kind of kernel-type rt_lookup. Maybe someone has more mobile routines for ip subnet lookup that are in kernel? From: Garrett Wollman Date: 18 ÉÀÌÑ 2000 Ç. 20:22 >< said: > >> Is there way to make source address based routing/port >> forwarding for large tables - about 50K subnets with different >> sizes. > >Without question you need a Real Data Structure. Probably in order to >perform acceptably you will need a kernel cache (similar to how the >multicast code, which also examines both addresses, does it) which you >can refill as needed from a user process. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message