this post was submitted on 22 Dec 2024
10 points (85.7% liked)
networking
2855 readers
1 users here now
Community for discussing enterprise networks and the ensuing chaos that comes after inheriting or building one.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What are you trying to achieve?
You need to be on the same network as the next hop (ie router), otherwise you can't communicate with it. That means that either your ISP or your VPN provider, will have to have the same prefix.
In a matter of "asking" for an IPv6 address, ie using DHCPv6, I don't think most ISPs do this. Hopefully your ISP just hands you a GUA prefix through SLAAC, meaning you'll do a Router Discovery broadcast when enabling IPv6 on your host interface, you'll get a Router Advertisement back, and from that you get the prefix. With the prefix in hand you generate the last 64bits either randomly or through EUI64 (if privacy isn't your thing).
When I say hopefully, it's because at least one of my possible ISPs insists on DHCPv6 with a ridiculously short lease time. Or at least that's what the customer rep said before I ran away.