This should be easy, right ?

  • BigDanishGuy@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 days ago

    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.