From owner-freebsd-net Tue Apr 9 13: 2: 7 2002 Delivered-To: freebsd-net@freebsd.org Received: from mel-rto6.wanadoo.fr (smtp-out-6.wanadoo.fr [193.252.19.25]) by hub.freebsd.org (Postfix) with ESMTP id 439E737B428 for ; Tue, 9 Apr 2002 13:01:12 -0700 (PDT) Received: from mel-rta8.wanadoo.fr (193.252.19.79) by mel-rto6.wanadoo.fr; 9 Apr 2002 22:01:11 +0200 Received: from SPE (80.11.164.190) by mel-rta8.wanadoo.fr; 9 Apr 2002 22:00:51 +0200 Message-ID: <006c01c1e001$485a4870$020110ac@SPE> From: "Sebastien Petit" To: "Archie Cobbs" Cc: References: <200204091933.g39JXOS02017@arch20m.dellroad.org> Subject: Re: Netgraph question Date: Tue, 9 Apr 2002 22:01:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Disposition-Notification-To: "Sebastien Petit" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Sebastien Petit writes: > > Actually I rewrote loadd (a load balancing daemon) for running with netgraph. In the original version, loadd use Divert sockets with ipfw for taking incoming/outgoing traffic. > > What node I must use for doing the same thing ? > > I try to use ng_ether but if I do that, People that run pppoe on the same device as load balancing can't use it. > > Doesn't pppoe use the 'orphans' hook? In which case you should be OK, > because you only need the 'upper' and 'lower' hooks. yes, you're right pppoe use orphans hook. But I think it's cleaner to use ng_etf than ng_ether. Because if I use lower and upper for doing load balancing on a device, another program can't use it. So some applications may enter in a conflict mode. Sebastien. -- spe@selectbourse.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message