From owner-freebsd-questions@freebsd.org Thu Apr 6 01:06:21 2017 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 332B1D318C0 for ; Thu, 6 Apr 2017 01:06:21 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (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 EF1BD9D4 for ; Thu, 6 Apr 2017 01:06:20 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x234.google.com with SMTP id l7so20787148ioe.3 for ; Wed, 05 Apr 2017 18:06:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=cIrGh5PXE2PtlpqvfhR4Be9YCvRFiKX6WVwc6HcHuoQ=; b=X7E5zyimrFCJysLDvGm8CyBVUj09icRqrdewzPVmAksv1Zbg2LtubjwOlga4nV7eWa lIGYoWN6GivvspWt/MS4hpofX/k6Ri00tSWVQKfqUIDpivVCRB93L1sSSzwKLJiesldX dMCmWRZN4bfP/PjKZHNkyp766TgwIalJCQAoDFbV7GBevRPg8BiNbHff9FSxiORhl6zS 4YRqWmlYW0Y0ASqMhZ3lMJnmn3G3kYJfdctIuytkRguGaU6YGhCbnMmwWrda00T0Cm0t 4fsY4VblkmbGU2I0iLQl0cV4O195Oj84r348hOPtZs+t31RJwMnxuChd4dX2+LzVireu fhig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=cIrGh5PXE2PtlpqvfhR4Be9YCvRFiKX6WVwc6HcHuoQ=; b=GEl/0jdNm+4Dw59UPdcbqWcgR2EpGMKkaT4y+xb6aTWubw7z9dsShCzYq6N09TXsb/ +yy6qK9ngBaauDgljQXUMVgjdtqZE7JuWxYeMm72pB0chyaUion7RsxHxVF8YQu3enre kILFuiYHy/0mhPkP+8yCH1K0T4yz1sKzor7miv5o832JZUKX7zPAsLwUwyA8ZQXsCsup KMntru7KOF1Pt4XpKIzzAH0UxZ7zbVN75PqhIhWcHeAecs4zlJcxc/9NfxHQjVfbylWv YEH3b1zCm01ZFSVpGCX/Ew4Ulc/4QkzWR6E0/5O8ucjurwKGIh/PxwdsvQdMtlFbEUR4 HgLg== X-Gm-Message-State: AFeK/H1D3s41eSwre3JMmbqmmL/mojk8p5kcCFjO/FNV5S9JrRN8a1pyQ6fO811Q8EMiAA== X-Received: by 10.107.10.231 with SMTP id 100mr34848334iok.108.1491440780004; Wed, 05 Apr 2017 18:06:20 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-57.neo.res.rr.com. [74.141.88.57]) by smtp.googlemail.com with ESMTPSA id m41sm9501917iti.0.2017.04.05.18.06.19 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Apr 2017 18:06:19 -0700 (PDT) Message-ID: <58E594AB.5030700@gmail.com> Date: Wed, 05 Apr 2017 21:06:51 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: IPv6 experimentation in jails. References: <2d8044a2a2d8a5dd0f73d7db03bb962b.squirrel@webmail.harte-lyne.ca> In-Reply-To: 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2017 01:06:21 -0000 Anton Yuzhaninov wrote: > On 04/05/17 17:18, James B. Byrne via freebsd-questions wrote: >> How does one enable and properly configure a working ipv6 i/f on a >> Freebsd host where the host is presently located on an ipv4 network >> with no ipv6 gateway? > > In this case you will need to use IPv6 tunnel, e. g. from Hurricane > Electric: > https://www.tunnelbroker.net/ If your isp doesn't supply ipv6 as part of your standard service then you have to purchase ipv6 service from a 3rd party and use tunnel to gain access. FYI time warner is in the process of turning on free ipv6 service as part of their normal service. But this does not address your original question. I think you are asking about how to test ipv6 between the host and a jail. ipv6 has a range of addresses reserved for LAN use. fc00::/7 which is like 10.0.0.0/8 The host needs a default local ipv6 address. On the host issue ifconfig fxp0 int6 fc00::1 alias and to remove it ifconfig fxp0 int6 fc00::1 -alias change fxp0 to the interface facing the pubic internet. All that stuff about ipv6 statements in rc.conf are not needed unless you have free ipv6 from your isp. When defining your jail assign ipv6 address fc00::X where X is any number 1 through 100. On the host issue ping6 -c 2 fc00::2 If the jail is running and has been assigned fc00::2 you should get a reply.