From owner-freebsd-hackers Mon Nov 13 21:10:38 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA25459 for hackers-outgoing; Mon, 13 Nov 1995 21:10:38 -0800 Received: from hq.icb.chel.su (icb-rich-gw.icb.chel.su [193.125.10.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA25409 for ; Mon, 13 Nov 1995 21:10:15 -0800 Received: from localhost (babkin@localhost) by hq.icb.chel.su (8.6.5/8.6.5) id JAA20223; Tue, 14 Nov 1995 09:52:44 +0500 From: "Serge A. Babkin" Message-Id: <199511140452.JAA20223@hq.icb.chel.su> Subject: Re: if_mux hack? To: peter@jhome.DIALix.COM (Peter Wemm) Date: Tue, 14 Nov 1995 09:52:43 +0500 (GMT+0500) Cc: hackers@freebsd.org In-Reply-To: from "Peter Wemm" at Nov 14, 95 05:28:43 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1077 Sender: owner-hackers@freebsd.org Precedence: bulk > I saw something in Lin*x that got me thinking.... > > How does this sound for a crude hack to get multiple slip/ppp/hdlc links > working in a load-sharing arrangement: > > Create a stub if_mux that only accepts packets from IP, and > redistributes them to other interfaces that it's been told about below > it. Ie: it's if_output routine would take the packets and distribute > them to other interface's if_output routines below it. > > Incoming packets from the lower interfaces would still go direct to IP, > but that's no big deal. Perhaps it needs to trace the state of "lower" interfaces and stop to exclude interface from the balancing when it goes down (and restore when it goes up). And it needs to look at sizes of queues of "lower" interfaces and put the packet to the one with the shortest queue for some load balancing. > Sound interesting? Is it a "worthy hack"? (especially since Linux has > something like it.. :-) Yes! Serge Babkin ! (babkin@hq.icb.chel.su) ! Headquarter of Joint Stock Commercial Bank "Chelindbank" ! Chelyabinsk, Russia