From owner-freebsd-net@FreeBSD.ORG Thu Apr 26 23:03:17 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 9C01F106566B for ; Thu, 26 Apr 2012 23:03:17 +0000 (UTC) (envelope-from prabhakar.lakhera@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 170318FC16 for ; Thu, 26 Apr 2012 23:03:17 +0000 (UTC) Received: by yenl9 with SMTP id l9so118804yen.13 for ; Thu, 26 Apr 2012 16:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xgzJ1FhjYnIzJK3tDwvTTPIyLV0Oc03hX7+GJYF3S+c=; b=DduFjYPJLN28ycYvB/IUoA+S7yc29D/ksqY5ffIDj83Oo28AXpBpHl/UXccy0pzehs r511l9fU6MKtM28N7AT7lM7vsd5Bp2dFP5780qlaMA3viYILjva+k9tGO5/nynFne14S 8VO1f94QrizAr/0E860my2RkEQGqC0FQVJRmjN5G69umivErU2rHDCsDfXkN4kGVEQ0N ngl6bKJzf5p50jdZ6hSGR8P0kuRDBmsAXyouuUPHa+nigC/uw2Ifj0QVg3scuHg2B8OQ fEZRt7SVllNG3MJBSPG/9VkTIOXRFENwyv87O8+TCv+44F9Jnj1DZAq30u4m09uTpp77 Bvcw== MIME-Version: 1.0 Received: by 10.236.161.73 with SMTP id v49mr8560944yhk.89.1335481396110; Thu, 26 Apr 2012 16:03:16 -0700 (PDT) Received: by 10.100.147.8 with HTTP; Thu, 26 Apr 2012 16:03:16 -0700 (PDT) In-Reply-To: References: <20120425042052.GA29615@DataIX.net> Date: Thu, 26 Apr 2012 16:03:16 -0700 Message-ID: From: prabhakar lakhera To: satish amara Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: LLA (Link local address) in FreeBSD route command 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: Thu, 26 Apr 2012 23:03:17 -0000 comment inline: On Thu, Apr 26, 2012 at 6:33 AM, satish amara wrote: > I gave reference to old man page because it talks about scope which is > related to link local address of IPV6. > I don't see the latest man page talks about link-local address of IPV6. So > I am looking for how routes for link-local address are handled in latest > BSD Stack. > I see some configurations where people are giving link-local address > as gateway. > So I am trying to see whether these configuration are valid and if > not there could be bug. > >>>>> I meantioned this in a previous mail and in a different context but RFC 4861 seems to be mandating indirect routes with LLA gateway in order to process redirects. There's no reason why user should not be allowed to add static routes with LLA gateways (actually there's a case to not allow non LLA gateways for RFC compliance): In RFC 4861 Section: 8.1. Validation of Redirect Messages we have the following bullets: A host *MUST *silently discard any received Redirect message that does not satisfy all of the following validity checks: - IP Source Address is a link-local address. Routers *MUST *use their link-local address as the source for Router Advertisement and Redirect messages so that hosts can uniquely identify routers. ... ... - The IP source address of the Redirect is the same as the current first-hop router for the specified ICMP Destination Address. > > If BSD allows to configure routes for link local address of IPV6 then > Ithink it could be bug as they are local to subnet and typically there > routes are automatic. I am not sure allowing link-local address as gateway > address is valid or not for IPV6. > > Thanks, > Satish K Amara > > > > > On Wed, Apr 25, 2012 at 12:20 AM, Jason Hellenthal > wrote: > > > > > First off lets start by referencing something that is correct and > > staying within-band instead of OOB. > > > > http://www.freebsd.org/cgi/man.cgi?query=route > > > > Review that page and if you still have any questions then please ask > > again. > > > > On Tue, Apr 24, 2012 at 05:07:54PM -0400, satish amara wrote: > > > Hi, > > > > > > I am trying to see what is valid and is supported in latest > > > FreeBSD > > > > > > Does BSD let user add routes to LLA destinations? > > > > > > Does BSD let user specify LLA gateway without specifying the scope? > > > > > > > > > I see following man page which talks about scope but looks like it not > > > supported in the latest. > > > > > > http://www.manpagez.com/man/8/route/ > > > > > > > > > Thanks, > > > > > > Satish K Amara > > > _______________________________________________ > > > freebsd-net@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > -- > > > > - (2^(N-1)) > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >