From owner-freebsd-questions@freebsd.org Sun Feb 14 01:23:49 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96395AA0165 for ; Sun, 14 Feb 2016 01:23:49 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FC2615E1 for ; Sun, 14 Feb 2016 01:23:49 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id b205so26231547wmb.1 for ; Sat, 13 Feb 2016 17:23:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=DjEycduLjsoGLjfQsLVt/jWR1H8ywstRlaFQbxtzIWc=; b=ASbsQlOBGPkfH0RO2iNOrgYCt2XboEPIloWfpGvkIdPF1X7+oC1SVfJVZYAid9dDPl Yepf/n/Sviloph9BZ6wEKg+Hdr00lks8mEbV13mtY3+Kodhs62y4Pmai9DEgy5YCX9p1 glNvwRbejSlTXqYp6prHLRbx+auNVkDeZPZ4y/CC153QeLQQdlaZX7s8xQfpxH/ylbE6 Y9OXVNpzpjEl3fyh7im6TQy6qWOjGMOhryCPKFTV6gTgZ03/TO+7svE4qQ/8zLbLUqCf 6U7e1DIOzs7XkCoqmRdrfzKGWu+cbOoeZD0H5GA65hVO/guAqjFjGuaAkbPXO27NLPEy GPRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=DjEycduLjsoGLjfQsLVt/jWR1H8ywstRlaFQbxtzIWc=; b=QM4IYD8SlQFLDqh3r6Iw731ZnUkFqFyWdh62fj2ZOEpwmBj1DaUiursYPzXS1dHFUs 0fWk1neJL3B75dg+6QsxbZbMJc6hWrGbBglG5UvC4VTTDqVd3V8QNbX/ZhoIMurN6kMD kk5vjRmgswiybWLqbLwdyBa8aOKwW9bWPJKNUozPqxHtly68p7vklD9b+byGgoiwADU4 WCkBcII2UMuWefS2pJmYwBsslbC7j7ZnA0pUKyJICpNm3ekewLvIHt5Q800IStLtCvCj ZRD6dt6RRHNmCPK1q265Wk0nJ/+pZ3J8SRb1rR8RbE79iPXsQjHGDdwDV/6k8S/TmVCX DK6g== X-Gm-Message-State: AG10YOSJ9NN5IWWzLYnP4t5thFIh5KirUl4KR2/HJm7DhMbgW1czUkG2kdg51d+qVDdWAw== X-Received: by 10.28.146.8 with SMTP id u8mr4901699wmd.72.1455413027698; Sat, 13 Feb 2016 17:23:47 -0800 (PST) Received: from osk.homenet (cpc91768-watf12-2-0-cust107.15-2.cable.virginm.net. [82.2.226.108]) by smtp.googlemail.com with ESMTPSA id h8sm18643786wjw.6.2016.02.13.17.23.45 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 13 Feb 2016 17:23:46 -0800 (PST) To: freebsd-questions@freebsd.org From: Shamim Shahriar Subject: FreeBSD 10.2 :: IPv6 is not getting IP automatically X-Enigmail-Draft-Status: N1110 Message-ID: <56BFD721.6040005@gmail.com> Date: Sun, 14 Feb 2016 01:23:45 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 01:23:49 -0000 Dear List Members I posted this question to pfSense list as well -- since I am using a pfSense router to connect to Hurricane Electric. I followed the instructions from https://doc.pfsense.org/index.php/Using_IPv6_with_a_Tunnel_Broker So far it looks promising. I am supposed to get an IP from the router box (I have configured a /48 network, assigned /64 to the LAN). Now, as long as I connect a non-FreeBSD machine on the LAN side, it gets an IPv6 address from the router. However, my FreeBSD 10.2 machine is not getting anything. # uname -a FreeBSD osk.homenet 10.3-BETA1 FreeBSD 10.3-BETA1 #0 r295506: Thu Feb 11 11:30:22 GMT 2016 osk@osk.homenet:/usr/obj/usr/src/sys/osk amd64 # ifconfig em0 em0: flags=8843 metric 0 mtu 1500 options=4219b ether f0:de:f1:d1:78:3c inet6 fe80::f2de:f1ff:fed1:783c%em0 prefixlen 64 scopeid 0x1 inet 172.16.13.30 netmask 0xffffffe0 broadcast 172.16.13.31 nd6 options=23 media: Ethernet autoselect (1000baseT ) status: active # rtsol -D em0 checking if em0 is ready... em0 is ready set timer for em0 to 0s New timer is 0s timer expiration on em0, state = 1 send RS on em0, whose state is 2 set timer for em0 to 4s New timer is 4s received RA from fe80::20d:b9ff:fe35:c59e on em0, state is 2 OtherConfigFlag on em0 is turned on Processing RA ndo = 0x607b50 ndo->nd_opt_type = 3 ndo->nd_opt_len = 4 ndo = 0x607b70 ndo->nd_opt_type = 24 ndo->nd_opt_len = 3 ndo = 0x607b88 ndo->nd_opt_type = 25 ndo->nd_opt_len = 3 nsbuf = 2001:xxxx:xxxx::1 ndo = 0x607ba0 ndo->nd_opt_type = 31 ndo->nd_opt_len = 3 labellen = 11 dname = localdomain ndo = 0x607bb8 ndo->nd_opt_type = 5 ndo->nd_opt_len = 1 ndo = 0x607bc0 ndo->nd_opt_type = 1 ndo->nd_opt_len = 1 rsid = [em0:slaac] write to child = nameserver (11) write to child = 2001:xxxx:xxxx::1(16) write to child = (1) write to child = search (7) write to child = localdomain(11) write to child = (1) write to child = (1) script "/sbin/resolvconf" terminated stop timer for em0 RA expiration timer: type=25, msg=2001:xxxx:xxxx::1, expire=19s RA expiration timer: type=31, msg=localdomain, expire=19s there is no timer ### relevant parts from /etc/rc.conf ifconfig_em0_ipv6="inet6 accept_rtadv" rtsold_enable="YES" I have tried to add the following line as well ipv6_activate_all_interfaces="YES" but that did not change anything. So far I have tried removing the IPv4 related entries, setting up deprecated options (just in case), checking to see if I have missed anything in my kernel (nothing obvious came up), setting up an IP manually. Of these, only the last (manual setup) appear to have worked (i.e., I could communicate). I do not have any firewall running on this machine (yet). Given that I can connect to the same network using a Linux (Lubuntu) system, get a v6 IP, get 10/10 from test-ipv6.com, makes me think that the pfSense configuration is correct, and it is doing what it is supposed to do (Just to be sure, I have restarted all the devices several times, plugged devices in and out before/after restart, and so on). However, apparently my FreeBSD 10.2 is not. any suggestion / help / pointer is greatly appreciated. thanks and regards SS