From owner-freebsd-questions@freebsd.org Thu Sep 30 05:05:21 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F5E26AB05D for ; Thu, 30 Sep 2021 05:05:21 +0000 (UTC) (envelope-from mark@tinka.africa) Received: from the-host.tinka.africa (the-host.tinka.africa [105.22.37.14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HKh5D2CPsz4Zjg for ; Thu, 30 Sep 2021 05:05:20 +0000 (UTC) (envelope-from mark@tinka.africa) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tinka.africa; s=tinka; h=Content-Transfer-Encoding:Content-Type:In-Reply-To :From:References:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5z68IJztyDEJntkkMIUQSnAr8nd6BaQW65lI/0Qt0sA=; b=QZIjRlyBWgGv0KrhAfDqoOhO4y 51w99LzapnGfYgNx7K9ZzUDNrvsNaa1redMazwUvslfhMURKv/1Vzlw4OQKwdWFfYlnqlukqpdUQf 2kQIVK8o+vd29Zqs4JTpD7llYTDBeq/ljRCmr1wv2htYTvaVO1WYFeIoxvhDKjKuiPttl0R34bA50 DANhYV6pDLQx8YErf6W/t3e/HzseaRz2ZE3ba9BUOeOEvJQDpNjNOdbc8D7FWqcApsKjD29z+SUXt EY7Z7PqyhwYdutejRL0uL6cqZKGwo/4H/FoFtdYj5joadoBzc0Dgdo6QLgZpX6UF9CfBQdHebwGTr K3gSxZuA==; Received: from localhost ([127.0.0.1]) by the-host.tinka.africa with esmtp (Exim 4.94) (envelope-from ) id R08E4K-00073V-MB for freebsd-questions@freebsd.org; Thu, 30 Sep 2021 07:05:08 +0200 Message-ID: <3f61bb73-f5dd-ca19-bbef-e494bc450a30@tinka.africa> Date: Thu, 30 Sep 2021 07:05:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.1.2 Subject: Re: ipv4 and ipv6 question Content-Language: en-US To: freebsd-questions@freebsd.org References: From: Mark Tinka In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HKh5D2CPsz4Zjg X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tinka.africa header.s=tinka header.b=QZIjRlyB; dmarc=pass (policy=none) header.from=tinka.africa; spf=pass (mx1.freebsd.org: domain of mark@tinka.africa designates 105.22.37.14 as permitted sender) smtp.mailfrom=mark@tinka.africa X-Spamd-Result: default: False [-3.00 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tinka.africa:s=tinka]; FREEFALL_USER(0.00)[mark]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:105.22.37.14]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[tinka.africa:+]; HFILTER_HELO_2(1.00)[the-host.tinka.africa]; DMARC_POLICY_ALLOW(-0.50)[tinka.africa,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:37100, ipnet:105.16.0.0/12, country:MU]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2021 05:05:21 -0000 On 9/30/21 01:30, tech-lists wrote: > Hi, > > I have native ipv4 and ipv6 and a lot more ipv6 addresses available than > ipv4. Is there some way of having (externally routable) multiple > ipv6-only interfaces behind that one ipv4 address? > > let's say the machine name is ipv6-a.some.name.whatevertld and its > interface has one /64 and only that ip. can I make a machine > call it ipv4.some.name.whatevertld, give it its own ipv4 (and its own > ipv6 - call it ipv6-b.some.name.whatevertld) address and configure it > to route ipv6-a packets to the right machine? > > Otherwise my ipv6-a machine will only be accessible by someone with ipv6 > functionality. Basically i'm asking if I can somehow put an ipv6-only > machine on the internet and have it accessible via ipv4. I dimly > remember something about 4to6 and 6to4 translation - is that how? Look into enabling 464XLAT. Mark.