I'm about to publish a fixed IPv6 address and I understand I can use the ip token command to lock the host part of the RA-assigned address to a fixed value. But I can't see an obvious place to configure this. The logical place would be in the ifcfg-<interface> file. Is there someplace else I should set this? NetworkManager? It looks like the new systemd-networkd has support for this but my interfaces seem to be configured from the old initscripts and the new systemd-networkd isn't installed. <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/s2-configuring_ipv6_tokenized_interface_identifiers>
On Thu, 20 Sep 2018, Kenneth Porter wrote:> I'm about to publish a fixed IPv6 address and I understand I can use the ip > token command to lock the host part of the RA-assigned address to a fixed > value. But I can't see an obvious place to configure this.It looks like there is no support for IPv6 tokenized identifiers in the existing ifcfg scripting (report an upstream bug?) so you would have to wait for Red Hat to produce a solution, patch the scripts yourself (set the interface's token just before bringing the interface up in ifup-ipv6) or remove their use and write your own systemd.network(5) unit for all the interfaces -- perhaps one of the two latter things while waiting for the former. /mark
On Thu, 20 Sep 2018, Mark Milhollan wrote:>On Thu, 20 Sep 2018, Kenneth Porter wrote:>> I'm about to publish a fixed IPv6 address and I understand I can use the ip >> token command to lock the host part of the RA-assigned address to a fixed >> value. But I can't see an obvious place to configure this. > >It looks like there is no support for IPv6 tokenized identifiers in the >existing ifcfg scripting (report an upstream bug?)But it looks like the ifcfg-rh module for NetworkManager will use an IPV6_TOKEN line, if present, e.g., /etc/sysconfig/network-scripts/ifcfg-ens0: ... IPV6_TOKEN=::53 /mark