On 04/04/2019 03.16, James Knott wrote:
On 04/03/2019 02:45 PM, Carlos E. R. wrote:
nano1:~ # ping6 -I wlan0 fe80::1 Why fe80, is that not a hardware address?
No, it's a link local address, but part of it is usually based on the MAC address. Link local addresses are commonly used for routing.
I mean that it is not an address me or my router assigns to the devices, they get those automatically, they invent them, whatever.
ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.14 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fc00::14 prefixlen 64 scopeid 0x0<global> inet6 fe80::221:85ff:fe16:2d0b prefixlen 64 scopeid 0x20<link> ether 00:21:85:16:2d:0b txqueuelen 1000 (Ethernet)
The inet6 address gets part of the MAC to invent the numbers. The MAC is the hardware address (yes, I know I can change it), so the fe80:: address to me it is also a hardware related address. Even if it can be reprogrammed. The devices have those fe80:: addresses automatically, independent of where they are connected. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)