points by growse 15 hours ago | 0 comments
You're welcome to not use hex. For either addressing scheme.
[–] bottled_poe 15 hours ago
And vice-versa for decimal on ipv6 if desired, I guess?
[–] throw0101c 15 hours ago
> And vice-versa for decimal on ipv6 if desired, I guess?
Or octal:
* https://networkingtoolbox.net/ip-address-convertor/represent...
[–] charlieyu1 11 hours ago
[–] dspillett 10 hours ago
Though I've never seen a v6 address represented that way, it would make then noticeably longer, so I don't know if anything will accept such a string as a valid address. Though IPv4-mapped addresses are sometimes show as a mix (::ffff:10.5.2.1 for 10.5.2.1) so maybe I'm wrong there.
Likewise I've never seen IPv4 addresses written in hex in the wild, but the relevant specs say it is valid. `ping 0xc0a82bc2` works just as well as `ping 192.168.43.194` but I doubt many forms accepting IPv4 addresses will validate that and allow it.