From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 19:54:18 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB11B1065682 for ; Thu, 26 Jun 2008 19:54:18 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outI.internet-mail-service.net (outi.internet-mail-service.net [216.240.47.232]) by mx1.freebsd.org (Postfix) with ESMTP id C88588FC15 for ; Thu, 26 Jun 2008 19:54:18 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 87529247C; Thu, 26 Jun 2008 12:54:18 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 619922D6012; Thu, 26 Jun 2008 12:54:18 -0700 (PDT) Message-ID: <4863F3F9.6020206@elischer.org> Date: Thu, 26 Jun 2008 12:54:33 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Matthew Dillon References: <1214430974.26401.0.camel@devstation> <4862DCB5.6080005@elischer.org> <001901c8d78d$8180c680$5e00a8c0@note4c47> <200806261653.m5QGrasG020325@apollo.backplane.com> <4863CCF4.3000200@elischer.org> <200806261742.m5QHgbWo020788@apollo.backplane.com> In-Reply-To: <200806261742.m5QHgbWo020788@apollo.backplane.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, martes@mgwigglesworth.com, Luiz Otavio O Souza Subject: Re: [Fwd: Re: 3 connections as one] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 19:54:19 -0000 Matthew Dillon wrote: > :I've done that running mpd to split the load over the tunnels from the > :colo. > : > :if either tunnel goes down mpd hickups nd hten everything keeps going.. > :.. > :mpd does this for me.. > > That looks almost perfect for the colo idea. I see how the links are > set up and I see the bundle directive, but how do I configure a common > subnet? Do I specify the same subnet for all the links and make them > part of the same bundle (on both ends)? > > Is there a way to backhaul the bundle onto a single TUN interface? > Or is that what ng_eiface is for? I need a tie-in for PF's QOS. > There's no choice about that, my network is 100% saturated 24x7 and > if I don't use PF's QOS with fair-share scheduling it becomes unusable. the ng_iface that is created (ng0 or whatever) is the virtual connection back to the colo. now that we have multiple routing tables we can make the tunnel and its contents use different routing tables which can simplify things. mpd allows you to backhaul through udp or tcp transport 'tunnels' to the remote poitn of your choice. > > Looks like I might have to update netgraph on DFly to use mpd, but it > doesn't look too difficult. But, gods, all those M_NOWAIT kernel > mallocs... how can that possibly be reliable? what can I say without degenerating into a dogfight? The code is designed to copy with failure to allocate.. the error will propogate up.. not much is allocated once you have it set up. > > -Matt > Matthew Dillon >