From owner-freebsd-ipfw@FreeBSD.ORG Thu Apr 2 11:51:56 2009 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AAF5106566B for ; Thu, 2 Apr 2009 11:51:56 +0000 (UTC) (envelope-from dev+lists@humph.com) Received: from ns.ondecorte.net (outgoing.humph.com [78.4.156.158]) by mx1.freebsd.org (Postfix) with ESMTP id B0A738FC0C for ; Thu, 2 Apr 2009 11:51:55 +0000 (UTC) (envelope-from dev+lists@humph.com) Received: from 88-149-183-86.static.ngi.it ([88.149.183.86] helo=[192.168.69.4]) by ns.ondecorte.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id KHH2AE-00019Z-B7; Thu, 02 Apr 2009 13:51:51 +0200 Message-Id: <9173F1D4-5497-4D1D-B478-009A64E41B50@humph.com> From: Giuliano Gavazzi To: =?ISO-8859-1?Q?Z=F6ld?= In-Reply-To: <75e73d840904020202q28db47e6u663a9e0bfb32a6e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v930.3) Date: Thu, 2 Apr 2009 13:51:48 +0200 References: <22800054.post@talk.nabble.com> <49D27F5C.7030506@elischer.org> <54A338F9-D66C-4406-804C-7443798931C8@humph.com> <75e73d840904020202q28db47e6u663a9e0bfb32a6e@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-ipfw@freebsd.org, julian@elischer.org Subject: Re: FreeBSD 7.1 IPv6 multihoming problem X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2009 11:51:56 -0000 On T 2 Apr, 2009, at 11:02 , Z=F6ld wrote: > Hi guys! I attached my testbed! It's a small testbed, I don't need =20 > to look > onto the internet. The wlan gets an address from =20 > 2001:738:2001:2082::/64 The > phone gets an address from 2001:738:2001:20a9::/64 The server in the > 2001:738:2001:2081:/64 network. > I would like to make some SCTP failover measurement between the =20 > laptop and > SCTP server. I need a solution where the packets go via the proper > interfaces. (ipfw fwd doesn't work) > Static routes don't operate, because the packets always out on the =20 > default > gateway. > I work on my thesis and I haven't got too much time. Can you explain =20= > an > exact solution? what I called routing a packet according to source, seems to be a well =20= know (so to speak) thing: policy based routing: = http://en.wikipedia.org/wiki/Policy-based_routing=20 that, apart from ipfw fwd (for ipv4) is supported (more finely) by =20 linux (with some bugs) and Cisco IOS (with more than some bugs I =20 suppose...) So, since you have a cisco somewhere, go and read: = http://www.cisco.com/en/US/docs/ios/12_0/qos/configuration/guide/qcpolicy.= html towards the end there is even a specific example for "ow to route =20 traffic from different sources to different places (next hops)" Thank you for making me look for this info, as I had already to patch =20= macosx ipfw (the kernel really), to make fwd functional, but with this =20= I will be able to do it in the cisco router, and leave the kernel =20 alone... Giuliano=