From owner-freebsd-net@FreeBSD.ORG Fri Jan 6 09:13:24 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F40E106566C for ; Fri, 6 Jan 2012 09:13:24 +0000 (UTC) (envelope-from Bredehorn@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id AD64E8FC12 for ; Fri, 6 Jan 2012 09:13:23 +0000 (UTC) Received: (qmail 28356 invoked by uid 0); 6 Jan 2012 09:13:22 -0000 Received: from 93.159.253.120 by rms-de001.v300.gmx.net with HTTP Content-Type: text/plain; charset="utf-8" Date: Fri, 06 Jan 2012 10:13:20 +0100 From: "Rainer Bredehorn" Message-ID: <20120106091320.209360@gmx.net> MIME-Version: 1.0 To: "Hajimu UMEMOTO" X-Authenticated: #168415 X-Flags: 0001 X-Mailer: GMX.net Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: Z950b6wweSEqVr7yaXQhjuV+IGRvb4AL Cc: freebsd-net@freebsd.org Subject: Re: IPv6 multicast routes with interface local scope X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 06 Jan 2012 09:13:24 -0000 Hi! The output of netstat is fixed but what about the route command? I would like to add or delete a route like "ff01::%fxp1/32" manually. The route command complains: "hostname nor servname provided, or not known" when I use the "%interface" notation. Rainer. > Bredehorn> FreeBSD 8 uses a strange notation for multicast routes with interface local scope something like: > Bredehorn> ff01:3::/32 > Bredehorn> Here '3' is the scope id of the interface. > > Bredehorn> OpenBSD uses the same notation as proposed in RFC 4007 for link local scompe multicast addresses: > Bredehorn> ff01::%fxp1:/32 > > Bredehorn> Why does FreeBSD use a different notation? > > This issue was fixed in 8-STABLE: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/netstat/route.c#rev1.94.2.3 > > Sincerely, > > -- > Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan > ume@mahoroba.org ume@{,jp.}FreeBSD.org > http://www.imasy.org/~ume/