From owner-freebsd-net@FreeBSD.ORG Fri Nov 12 00:10:41 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D23816A4CE; Fri, 12 Nov 2004 00:10:41 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B4F643D5D; Fri, 12 Nov 2004 00:10:40 +0000 (GMT) (envelope-from max@love2party.net) Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CSP1T-00040o-00; Fri, 12 Nov 2004 01:10:39 +0100 Received: from [84.128.130.223] (helo=donor.laier.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1CSP1T-00058B-00; Fri, 12 Nov 2004 01:10:39 +0100 From: Max Laier To: freebsd-net@freebsd.org Date: Fri, 12 Nov 2004 01:10:43 +0100 User-Agent: KMail/1.7.1 References: <200411112124.12616.max@love2party.net> <20041111212920.GA902@galgenberg.net> In-Reply-To: <20041111212920.GA902@galgenberg.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1688102.c5n1zZPv4L"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200411120110.51145.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:61c499deaeeba3ba5be80f48ecc83056 cc: Ulrich Spoerlein cc: freebsd-arch@freebsd.org Subject: Re: in.c autoadding prefix route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 00:10:41 -0000 --nextPart1688102.c5n1zZPv4L Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 11 November 2004 22:29, Ulrich Spoerlein wrote: > On Thu, 11.11.2004 at 21:24:05 +0100, Max Laier wrote: > > The patch allows to add more than on IPv4 address with the same prefix. > > In the case that there is a route already, we leave it alone and add the > > new address without the IFA_ROUTE flag. When we remove an address later > > on, that has a route associated, we try to find an alternative address = to > > use for the route and hand it over. > > Assume I have two computers hooked up via Ethernet and via Firewire > (if_fwe). Will this commit allow me to place all four IP addresses of > the interfaces into the same subnet and have FreeBSD re-route the > packets through Firewire if the Ethernet link goes down (or vice versa)? > > Or do I need to go CARP for this to work? The route is only handed over when the address is removed. It might help yo= u=20 when you have a laptop with a wireless card. You can first surf on your cou= ch=20 and later walk to your desktop, plug in the cable and unplug the PCMCIA ... This however, is not the primary goal here and CARP might indeed be what yo= u=20 are looking for ... BTW: I forgot to advertise (and people actually asked) CARP patches can be= =20 found at: http://people.freebsd.org/~mlaier/CARP/ =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1688102.c5n1zZPv4L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBk/+LXyyEoT62BG0RAuSuAJ9mDTxSwkEbQaYDSAKPW5wEGwFK+QCdE532 Fovh96LRbsZERiAoqcw3KVw= =9fbk -----END PGP SIGNATURE----- --nextPart1688102.c5n1zZPv4L--