From owner-freebsd-net@FreeBSD.ORG Tue Sep 30 00:42:42 2003 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 D11EA16A4BF for ; Tue, 30 Sep 2003 00:42:42 -0700 (PDT) Received: from smtp.uc3m.es (smtp02.uc3m.es [163.117.136.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1782744015 for ; Tue, 30 Sep 2003 00:42:41 -0700 (PDT) (envelope-from jrh@it.uc3m.es) Received: from smtp02.uc3m.es (localhost [127.0.0.1]) by smtp.uc3m.es (Postfix) with ESMTP id EEB8343241; Tue, 30 Sep 2003 09:42:39 +0200 (CEST) Received: from cimborrio.it.uc3m.es (cimborrio.it.uc3m.es [163.117.139.95]) by smtp02.uc3m.es (Postfix) with ESMTP id AF27299FCB; Tue, 30 Sep 2003 09:42:39 +0200 (CEST) From: Juan Rodriguez Hervella Organization: UC3M To: JINMEI Tatuya / =?utf-8?q?=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Date: Tue, 30 Sep 2003 09:42:39 +0200 User-Agent: KMail/1.5 References: <200309291859.09355.jrh@it.uc3m.es> <200309300927.18850.jrh@it.uc3m.es> In-Reply-To: <200309300927.18850.jrh@it.uc3m.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200309300942.40834.jrh@it.uc3m.es> cc: freebsd-net@freebsd.org Subject: Re: IPv6 autoconfiguration on a multihomed site 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: Tue, 30 Sep 2003 07:42:43 -0000 On Tuesday 30 September 2003 09:27, Juan Rodriguez Hervella wrote: > On Monday 29 September 2003 19:22, JINMEI Tatuya / 神明達哉 wrote: > > >>>>> On Mon, 29 Sep 2003 18:59:08 +0200, > > >>>>> Juan Rodriguez Hervella said: > > > > > > I've got two routers sending RAs on the same link, so the > > > host is configured with two IPv6 prefix on the same NIC. > > > > > > Watching the routing table I only see one default IPv6 route. > > > > > > When I try to ping the global IPv6 address of one router, if > > > I'm lucky and the router is the same router which I've got > > > installed on the default route, it will answer. > > > > > > The problem is that the host doesn't seem to realize that > > > it is on two links at the same time, so it always sends packets to the > > > default router.... > > > > > > For example, if there's only one RA, the autoconfiguration process > > > ends up with a link-route like this: > > > > > > 2001:720:410:1001::/64 link#2 UC > > > fxp0 > > > > > > On the other hand, when there are 2 RAs on the same link, this > > > route doesn't exist ! > > > > I don't quite understand the situation...could you depict the network > > configuration with concrete prefixes/addresses, and describe the > > concrete problem (if it's a problem) with exact output of some > > commands (such as netstat, ifconfig, etc)? > > Well, attached I depict the topology plus "ifconfig" and > "netstat -rn" outputs. > > [ time to see the topology ] > > After seeing the topology (uh Im a bit asleep)... > the situation is quite simple, 2 routers (site exit routers), > giving access to the internet using different ISPs. There is > only 1 link, so the host only have 1 NIC. > > The problem is that I can ping one of the routers, though > both the host and the router belong to the same network. > I guess the packets are always forwarded to the default > router, and I think that's not the expected behaviour, right ? > > Cheers. > > PS: I really love FreeBSD :) After having breakfast, Im ready to show you what I can not do with this configuration. Sorry I fogot to tell you this in my previous mail....(Im not SPAM, ok ? :) Address of Router1: 2001:720:410:100b::3 Address of Router2: 2001:800:40:2471::4 These address are added manually, though both of them have got autoconfigured addresses. They are cisco2600 routers... I'm now on the host, I try to ping Router1: jrh@pepitogrillo:~$ ping6 2001:720:410:100b::3 PING6(56=40+8+8 bytes) 2001:720:410:100b:2c0:26ff:fea3:7d19 --> 2001:720:410:100b::3 This ping doesn't work.. Then I try to ping Router2: jrh@pepitogrillo:~$ ping6 2001:800:40:2471::4 PING6(56=40+8+8 bytes) 2001:800:40:2471:2c0:26ff:fea3:7d19 --> 2001:800:40:2471::4 16 bytes from 2001:800:40:2471::4, icmp_seq=0 hlim=64 time=2.357 ms This one works ! I can ping both routers using ff02::1%rl1, and I've found out that the router which I can ping is the same router that is autoconfigured as "default" on the IPv6 routing table.... Problem: the other router is on the same link as the host, so the host should be able to ping both routers *directly", without using "default" route, right ? Thanks PS: Windows is also cute :) -- JFRH