On 11/08/2019 19.48, James Knott wrote:
On 2019-08-11 01:28 PM, Carlos E. R. wrote:
Is that some dhcp alike for version 6? You still have the problem of finding out what IP is the device at.
There are 2 ways to assign an address with IPv6, SLAAC and DHCPv6.
dhcp6 is apparently configured in my router, does nothing.
Either will work, provided you have IPv6 up & running on your network. If you know the MAC address, all you have to do is run the command "ip neighbor show". It will show all the devices that have announced their presence with a neighbor advertisement. By looking through the list, you will find the MAC address and associated IP address(es). You can even add grep to that command to isolate only the addresses for that MAC.
Ok, so now I have to know the MAC address of the new device. Will that automatically given v6 address stay fixed, so that I can map names to addresses in my /etc/hosts file? -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)