logoalt Hacker News

RulerOftoday at 2:04 AM2 repliesview on HN

I don't remember my ipv4 addresses either, but I recognize them as mine when I see them.

I've never recognized an IPv6 address or prefix used in my networks.


Replies

jorvitoday at 2:26 AM

You can set your ULA to something like "fddd:192:168::/48" and then on your vlan you prefix hint, say, "66". Now, any device on that vlan will be addressable by "fddd:192:168:66::$host". For example, your gateway ('router') for that vlan would be "fddd:192:168:66::1".

If you want to be really wonky you can script DHCPv6 to statically assign ULA IPv6 leases that match the IPv4, and expire them when the IPv4 lease expires, but like said upthread, addressing hosts via IPv6 is the wrong way to go about it. On your lan, you really want to be doing ".local" / ".lan" / ".home".

show 2 replies
miyurutoday at 7:08 AM

it will naturally happen when you work with it long term, similar to how it was with v4.