I thought that I would do this address change while it is fresh.
I do not want to remove the old address until I have updated other config (eg
DNS [forward & back], whois) and had that propagate - so both must work for a
while.
I set the new address thus:
ip address add 2a0a:1100:1012::114 dev enX0
Why :114 - the IPv4 address is 85.119.82.114 so having the last component the
same helps my head in understanding that they both belong to the same machine.
That works and I can ssh into it.
I am running Debian so I added this into /etc/network/interfaces, I will remove
the old iface enX0 when this is all done.
iface enX0 inet6 static
address 2a0a:1100:1012::114
netmask 48
gateway 2001:ba8:1f1:f0e3::1
# These commands disable IPv6 autoconfiguration because we are statically
# configuring it above.
pre-up echo 0 > /proc/sys/net/ipv6/conf/default/accept_ra || true
pre-up echo 0 > /proc/sys/net/ipv6/conf/all/accept_ra || true
pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra || true
pre-up echo 0 > /proc/sys/net/ipv6/conf/default/autoconf || true
pre-up echo 0 > /proc/sys/net/ipv6/conf/all/autoconf || true
pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf || true
I copied the old one and changed: address & netmask [ 64 -> 48]
The stansa that concerns me is 'gateway' - above is a copy of the old one, what
should I set this to ?
Regards
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256
https://www.phcomp.co.uk/
Parliament Hill Computers. Registration Information:
https://www.phcomp.co.uk/Contact.html
#include <std_disclaimer.h>