From owner-freebsd-net@FreeBSD.ORG Sat Feb 25 19:55:47 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 8423F1065679 for ; Sat, 25 Feb 2012 19:55:47 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C05238FC0C for ; Sat, 25 Feb 2012 19:55:44 +0000 (UTC) Received: by eekd17 with SMTP id d17so794373eek.13 for ; Sat, 25 Feb 2012 11:55:44 -0800 (PST) Received-SPF: pass (google.com: domain of dudu@dudu.ro designates 10.213.10.196 as permitted sender) client-ip=10.213.10.196; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dudu@dudu.ro designates 10.213.10.196 as permitted sender) smtp.mail=dudu@dudu.ro; dkim=pass header.i=dudu@dudu.ro Received: from mr.google.com ([10.213.10.196]) by 10.213.10.196 with SMTP id q4mr2160315ebq.82.1330199744204 (num_hops = 1); Sat, 25 Feb 2012 11:55:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dudu.ro; s=google; h=date:from:to:cc:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type:content-transfer-encoding :content-disposition; bh=oXAHnmF0ARuU+NJchhkb1XhpyVNwCCKw3tnAW6thK54=; b=APJKhRwkMEg3H8YkFvBFsBlXAisZFYSz7hFqDcJQELG4YRW6r0hU/nWF3nTG9hWzHh DratI548b+rH9WZZaY27VRxWBUkhA3e/mN6T9KqmQE4q2POfTjIFv55HYtBzDuxRIzn2 ErX3OpYCjOYhbeGJJEHFYlYqJhxxCBXsQvtoo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=gamma; h=date:from:to:cc:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type:content-transfer-encoding :content-disposition:x-gm-message-state; bh=oXAHnmF0ARuU+NJchhkb1XhpyVNwCCKw3tnAW6thK54=; b=xNn8hiMe6KaqOi+6LAU+fT7jCyJ78+lH9XjRb1YVu9zDyDp+NFv3vC8ppePt1Rg5Sy cnYIAmgQtVmdKock2lzw2JcC8fDOnLdFZdW7dN3x1fUfpFItPVoTsI0ypUKNplCj9jYX KiTS0G4YZQdE9kwtr/m6XxvRXO8dcOfX9BcJc= Received: by 10.213.10.196 with SMTP id q4mr1601803ebq.82.1330199743825; Sat, 25 Feb 2012 11:55:43 -0800 (PST) Received: from LesPaul.local ([82.76.253.74]) by mx.google.com with ESMTPS id v51sm35465403eef.2.2012.02.25.11.55.41 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 25 Feb 2012 11:55:42 -0800 (PST) Date: Sat, 25 Feb 2012 19:55:38 +0000 From: Vlad Galu To: Mr Dandy Message-ID: In-Reply-To: <201202252333.36403.subbsd@gmail.com> References: <201202252213.50760.subbsd@gmail.com> <371110A7FCE442FA8189BEDF90DF6451@dudu.ro> <201202252333.36403.subbsd@gmail.com> X-Mailer: sparrow 1.5 (build 1043.1) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Gm-Message-State: ALoCoQmhAJNfnB1JVriwlOWwOIMv0du0ScbQ4UW1MrWOtnJwNEWm5KOItyzjvubXXL8O9TBIihyB Cc: freebsd-net@freebsd.org Subject: Re: ipv6 host inaccessible via route -inteface without ndp pairs 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: Sat, 25 Feb 2012 19:55:47 -0000 On Saturday, February 25, 2012 at 7:33 PM, Mr Dandy wrote: > On Saturday 25 February 2012 22:47:50 Vlad Galu wrote: > > > Hi > > > > > > > > You might need to add ipv6_default_interface="re0" to /etc/rc.conf. After > > you do that, it will have ACCEPT_RTADV and DEFAULTIF set. > > > > Thanks for informations. > > Ok - looks like FreeBSD still not have rc.conf variable for controlling > net.inet6.ip6.accept_rtadv > Why don't you add that to /etc/sysctl.conf? > > (ipv6_default_interface="re0") = ndp -I re0 > > But that in my case I have seen on netstat correct information about default > gw for ipv6 - I should in /etc/rc.d/routing change string from > > ipv6_static_routes="default ${ipv6_static_routes}" > to > ipv6_static_routes="${ipv6_static_routes} default" > > And however I all the same can't achieve working configuration IPv6 from the > boot. At present i have /etc/rc.conf related to ipv6: > > ipv6_activate_all_interfaces="YES" > ipv6_static_routes="hetzner" > ipv6_route_hetzner="2a01:4f8:61:50c0::/59 -iface re0" > ipv6_default_interface="re0" > ifconfig_re0_ipv6="inet6 2a01:4f8:61:50c2::13/64" > ipv6_defaultrouter="2a01:4f8:61:50c0::1" > rtadvd_enable="YES" > rtadvd_interfaces="re0" You don't need to run rtadvd. The following configuration should work (although I use RELENG_9, rc.conf variable naming is slightly different, but not by much): ipv6_enable="YES" ipv6_default_interface="re0" ipv6_static_routes="hetzner" ipv6_route_hetzner="2a01:4f8:61:50c0:: -prefixlen 59 -iface re0" ipv6_ifconfig_re0="2a01:4f8:61:50c2::13" ipv6_defaultrouter="2a01:4f8:61:50c0::1" Maybe you have some conflicting firewall rules?