From nobody Fri Sep 2 16:03:33 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MK2lY3dZQz4b09x for ; Fri, 2 Sep 2022 16:03:53 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from mailout.qeng-ho.org (mailout.qeng-ho.org [217.155.128.244]) (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 4MK2lX2nQzz3XGx for ; Fri, 2 Sep 2022 16:03:52 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from [IPV6:2a02:8010:64c9:1::2] (unknown [IPv6:2a02:8010:64c9:1::2]) by mailout.qeng-ho.org (Postfix) with ESMTP id 1907627CFE for ; Fri, 2 Sep 2022 17:03:37 +0100 (BST) Message-ID: <82e5fee1-85d2-9bf6-f30e-986abbea9529@qeng-ho.org> Date: Fri, 2 Sep 2022 17:03:33 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Content-Language: en-GB To: FreeBSD-Questions From: Arthur Chance Subject: IPv6 address configuration Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4MK2lX2nQzz3XGx X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.244 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [-3.26 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; NEURAL_HAM_LONG(-0.97)[-0.968]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB]; TO_DN_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[qeng-ho.org]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N I'm about to upgrade my network connection and my ISP tells me I'm going to have to have new static addresses because I'm moving from a VDSL to fibre infrastructure. This isn't too much of a problem on IPv4 because NAT means it's just a single change at the router (+ DNS changes of course), but is a nuisance on IPv6 because I'm going to have to renumber every machine (and most of them have multiple addresses because I use an IPv6 address per service as well as one for the machine). What would make my life easier is if ifconfig had a way to set IPv6 addresses where I only specified the lower 64 bits and it got the /64 prefix from router solicitation, similar to the way SLACC addresses are formed but not using the hardware address. Is this possible because I've not found a way to do it? [Yes, I know about NPTv6 and will use it as a last resort, but I prefer internal and external addresses to be the same so I don't have to do split horizon DNS for IPv6.] -- All network cabling aspires to the condition of macramé.