From owner-freebsd-questions@FreeBSD.ORG Sun Dec 29 04:06:03 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB88EAB5 for ; Sun, 29 Dec 2013 04:06:03 +0000 (UTC) Received: from mail-qc0-f174.google.com (mail-qc0-f174.google.com [209.85.216.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7895D14ED for ; Sun, 29 Dec 2013 04:06:01 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id n7so9733826qcx.19 for ; Sat, 28 Dec 2013 20:05:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=5sbxH6am27BfMW+/A0LDW4ZHuqffPb60NpYRaHJpFrY=; b=l5Zab4uYL0AxbNHHYqY00s5B82GjJkopm1+g6dj/CwiqH2Lmj5kRRNHVw2ij1NIVTn AOi/WsyV3MH9xng0HeD4a7zrdZ42giPPPsWVMvfwQjrcBn9KsWj67/mRrEnLpKIS/PBo dVJVP2sb+7Pos+RGelR2+8WT/1lhDpa4hOilW5FzKZgmiUQ8iHf393Ucmzc6qcPCXxBK 9X0JmCwIORmB07KqhnureZrK3byo2jSaAQ+AeSw14XZAfjT3dmEfFAZ0xeGrr27oes2j sIiT2ZeS7FbZKJD44MBQfm6NBQX6OD/g/RS1OvJp3vFtHuXshtCtf6/lue/Tu7OmEEAx z5Fg== X-Gm-Message-State: ALoCoQkS+i3jU444tuyK+jhCkolYEUMKQgqbnQMt1T7XQE21td6C/1wedaw6/8thQpFiKh3uk5yw X-Received: by 10.224.165.12 with SMTP id g12mr92507358qay.89.1388289955695; Sat, 28 Dec 2013 20:05:55 -0800 (PST) Received: from [192.168.1.4] (pool-96-225-163-50.nrflva.fios.verizon.net. [96.225.163.50]) by mx.google.com with ESMTPSA id j9sm51957575qeo.18.2013.12.28.20.05.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Dec 2013 20:05:55 -0800 (PST) Message-ID: <52BF9FA2.6060304@ohlste.in> Date: Sat, 28 Dec 2013 23:05:54 -0500 From: Jim Ohlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: questions@freebsd.org Subject: IPv6 configuration issues Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2013 04:06:03 -0000 Hello, I recently set up a new box with FreeBSD 10-RC2 amd64. The host (OVH) provided a /64 of IPv6 addresses and gave me the following recommended configuration: # IPv6 configuration ipv6_enable="YES" ipv6_network_interfaces="igb0" ifconfig_igb0_ipv6="inet6 2001:41d0:a:XXXX::1 prefixlen 64" ipv6_static_routes="ovhgw" ipv6_route_ovhgw="2001:41d0:a:1cff:ff:ff:ff:ff -prefixlen 128 -interface igb0" ipv6_defaultrouter="2001:41d0:a:1cff:ff:ff:ff:ff" Taking the path of least resistance, I used these exact settings and everything worked just fine. After setting up a bunch of things I came back and decided to add some additional IPv6 addresses using ifconfig_igb0_alias0="inet6 2001:41d0:a:XXXX::2 prefixlen 64" etc. Restarting netif I got the following warning (which I should have remembered): /etc/rc.d/netif: WARNING: $ipv6_enable is obsolete. Use $ipv6_activate_all_interfaces instead. So I dutifully replaced the line in my rc.conf and went along. All of my IPv6 addresses could be pinged. After some time I compiled 10-STABLE from sources and rebooted only to find my IPv6 address were not reachable and I couldn't ping6 out of the server. First I tried removing 'ipv6_activate_all_interfaces="YES"' from my rc.conf. My IPv6 addresses still did not come up. So I added back the 'ipv6_enable="YES"' to my rc.conf and surprisingly my IPv6 addresses came back up (despite the warning). Any ideas as to why this deprecated entry is necessary? Any workarounds/suggestions? Thanks in advance! -- Jim Ohlstein