From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 11:42:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61057106566B for ; Mon, 25 Apr 2011 11:42:34 +0000 (UTC) (envelope-from fourquau@phare.normalesup.org) Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by mx1.freebsd.org (Postfix) with ESMTP id E947D8FC14 for ; Mon, 25 Apr 2011 11:42:33 +0000 (UTC) Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id p3PBgWtM020957 ; Mon, 25 Apr 2011 13:42:32 +0200 (CEST) X-Envelope-To: freebsd-questions@freebsd.org Received: by phare.normalesup.org (Postfix, from userid 1003) id 2B31FBC24C; Mon, 25 Apr 2011 13:42:32 +0200 (CEST) Date: Mon, 25 Apr 2011 13:42:32 +0200 From: Lionel Fourquaux To: David Scheidt Message-ID: <20110425114232.GA4647@phare.normalesup.org> References: <20110424202954.GA16373@phare.normalesup.org> <9DC435EF-B1BA-405D-9023-9724F65E77E3@panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <9DC435EF-B1BA-405D-9023-9724F65E77E3@panix.com> X-PGP-Fingerprint: 24B5 DFFD 45C1 E9E4 8A16 B30B AB33 3E73 C79D F8E1 User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.1.4 (nef2.ens.fr [129.199.96.32]); Mon, 25 Apr 2011 13:42:32 +0200 (CEST) Cc: FreeBSD Mailing List Subject: Re: routing to a directly attached subnet without an address in this subnet X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 11:42:34 -0000 On Sun, Apr 24, 2011 at 08:50:53PM -0400, David Scheidt wrote: >On Apr 24, 2011, at 4:29 PM, Lionel Fourquaux wrote: >> em0 has addresses fe80::1234:56ff:fe78:9abc and 2001:db8::1 >> em1 has address fe80::1234:56ff:fe78:9abd >> Network 2001:db8::/64 is directly attached to em0, and network 2001:db8:0:1::/64 is directly attached to em1. The default route points to em0. I would like to route packets addressed to 2001:db8:0:1::/64 to interface em1, without allocating an address in 2001:db8:0:1::/64 for em1. (Or to understand why this would be impossible). >> > >Why do you want to do this? Because I think it would look better that way. > How do you expect the hosts on the attached networks to get packets to you? They are already using fe80::1234:56ff:fe78:9abd as default gateway, so this is not a problem.