Hacker News new | ask | show | jobs
by apearson 1207 days ago
Like fd::1? Valid ipv6 that is shorter than an ipv4 address
2 comments

Nah, "1.1" is a valid IPv4 address (Cloudflare DNS) and it's shorter
Touché, I guess I should’ve said a typical v4 address. Short hand v4 addresses aren’t as common knowledge though
fd::1 is a reserved address. Did you mean fd00::1?
fd::1 == 00fd::1. The :: expands to fill the available bits with 0
fd::1 == 00fd::0001, which is reserved by IETF.

The :: only expands to fill all-zero hextets.

Good catch, that is correct. Thank you
...This thread shows that the ipv6 notation is more complicated. It's good to at least use a smaller address space on a LAN like this, but I want the basic decimal notation.
Decimal is actually a nightmare for dealing with common CIDR prefixes. Would you rather write '1111111111110000' as fff0 or 65520?