From owner-freebsd-questions Tue Jun 22 12:25:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 68F2F150D9 for ; Tue, 22 Jun 1999 12:25:28 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.9.3/8.9.3) with ESMTP id MAA42890; Tue, 22 Jun 1999 12:25:04 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 22 Jun 1999 12:25:04 -0700 (PDT) From: Doug White To: Charudatta Brahme Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Network Driver Programming In-Reply-To: <376F682B.6A4283AE@trishul.icil.co.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 22 Jun 1999, Charudatta Brahme wrote: > I am making some feeble attempts in writing a network driver, a sort of > virtual host interface (I know about ifconfig alias - but this needs to > be done at the driver level). > I can't find enough information on the ifnet structure - mainly how I > can force the > interface to read all packets coming in. Set promiscuous mode on the appropriate interface. It sounds like you really want to use bpf. > Where am I going wrong? Is there any other way of doing this? > ifconfig alias won't solve my problem as this virtual host has to > represent aroun 1024 hosts. Could you honestly host 1024 sites on one Ethernet without running out of network bandwidth first? Or bottlenecking on all the I/O? Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message