From owner-freebsd-net Mon Oct 23 11: 6:23 2000 Delivered-To: freebsd-net@freebsd.org Received: from gomer.august.net (gomer.august.net [216.87.128.131]) by hub.freebsd.org (Postfix) with ESMTP id 7151E37B479 for ; Mon, 23 Oct 2000 11:06:20 -0700 (PDT) Received: from localhost (1237 bytes) by gomer.august.net via send-mail with P:stdio/R:inet_hosts/T:smtp (sender: ) (ident using unix) id for ; Mon, 23 Oct 2000 13:06:13 -0500 (CDT) (Smail-3.2.0.108 1999-Sep-19 #1 built 1999-Oct-11) Message-Id: Date: Mon, 23 Oct 2000 13:06:13 -0500 (CDT) From: lgfausak@august.net (Greg Fausak) To: freebsd-net@FreeBSD.ORG Subject: BPF usage questions Cc: greg@august.net Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org FreeBSD Net Mail List: I've got an application on FreeBSD which is running several hundred network interfaces. They are frame relay interfaces, about 120 per T1 line, and I currently have 4 T1 lines. We offer our customers DHCP. About 200 of them have requested it. To provide DHCP we use the ISC implementation which employs BPFilters. I've modified the kernel to accompdate 255 bpf devices. I seem to be limited by the number of minor devices allowed. I have a few questions concerning the use of BPFs...any help would be greatly appreciated. 1) Is it wise to use so many BPF devices? 2) Is there any way to increase the number of BPF devices beyond 255? and, finally, the real questions... 3) Is there some way I can listen on a single device and determine what real device a packet comes in on and... 4) Has anyone done something like this? This is much like the dhcp helper command on a cisco router. I'd like to be able to serve DHCP for thousands of 'devices'. ---greg Greg Fausak August.Net Services, LLC greg@august.net 972-323-6598 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message