V Mon, Jun 05, 2023 at 03:27:58PM +0200, Michal Schorm napsal(a):
Thought:
(disclaimer: I don't know much about networking)
IPv4 addresses are in some cases 'human readable' / 'human usable' /
'human friendly'.
How can one set up a temporary network of several devices for a LAN
party or any similar connecting application use cases?
From my own experience, the vast majority of people have no idea that
when one tells you "write in: ten zero zero eight", they have to put
dots in between. Because they have no idea what IP address is and how
it's formatted.
I can't imagine I would say this out loud to even a tech experienced
person and they would get it right the first time.
1a01:4204:b07d:af00:21c6:542a:611:73ea
Not mentioning all the times I need to connect devices in many rooms
across several floors in the whole building.
Is there any easy way to keep exchanging the IP address 'human usable' ?
It is. And it works exactly the same way as in IPv4. You pick a well-known
prefix and then append a simple number. Should I continue your example with
LAN, then the prefix is fe80::/64. E.g. fe80::1, fe80::2 etc. are valid
addresses.
(The fe80::/64 prefix has some theoretical constraints on some higher bits in
the address, but I guess nobody invites more than 2^24 people on a party, so
you don't have to be concerned. There are also practical constraints, like
this prefix is not routable and if you have more network interfaces, you would
have to follow it with a network interface identifier in your applications.)
-- Petr