Title

all 20 comments

sorted by: hot top controversial new old
[–] 20 points 10 months ago

This is fairly normal to receive 2 ipv6 addresses, depending on your provider. In my case, I receive a /128 address (single global address), and a /48 address (delegated global prefix). In addition, there is the link local address that will be fe80:.... Delegated prefixes allow your internal devices to be assigned a global address within that subnet and access ipv6 resources directly. Feel free to ask more.

  • source
  • [–] 11 points 10 months ago (6 children)

    One is probably link local the other is global, that’s pretty normal. https://en.wikipedia.org/wiki/IPv6_address#Address_Scopes

  • source
  • hideshow 6 child comments
  • [–] [S] 1 point 10 months ago (5 children)

    one my openwrt router WAN IPv6 shows 2 IPs. IPv4 does get linklocal though

  • source
  • parent
  • hideshow 5 child comments
  • [–] 3 points 10 months ago* (last edited 10 months ago) (4 children)

    If your ISP is doing to right IPv6 should be setup for SLAAC, in which case they would give you an entire /64. I don't use OpenWRT, but I assume it's showing you the IPv6 /64 from IPv6-PD used for SLAAC, and the /128 the router is using to communicate with the ISP If it's SLAAC your client devices should be getting two IPv6 addresses as well. One is for privacy, that's the one websites will see when you connect but can't be hit, and the other is the one you would use to reach your computer from another device.

    Edit: Refer to @Sammirr@aussie.zone's child comment for a better explanation with some corrections / clarifications.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 10 months ago (3 children)

    Perhaps I can improve this a little.

    SLAAC is for stateless assignment of an address without dhcp. It's what android uses exclusively for example. Delegated prefixes (/64) can be assigned by SLAAC or DHCPv6, and openwrt works with either. OP's provider may not even use SLAAC, or at least make it secondary since SLAAC and DHCPv6 don't always play nicely.

    In the case of privacy extensions, this is up to the clients. Some clients might even not use them. Global temporary addresses are an attempt to stop fingerprinting. They're largely ineffective these days however. Importantly, that temporary global address is still globally accessible (remember, there is no NAT), although most OS's will ignore incoming connections. Otherwise, correctly, clients should have a couple of ipv6 global addresses.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 10 months ago (2 children)

    Thanks for clarifying! It's been a while since I've worked with IPv6 directly, fortunately it "just works" in my current home environment and since I'm no longer doing colocation for my self hosted stuff it's on the back burner.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 10 months ago (1 child)

    Hope I didn't step on toes. The gist of what you said is on the money.

    I love that ipv6 is becoming more mainstream and well implemented. That said, some providers in my home country still don't support or use ipv6.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 4 points 10 months ago (2 children)
  • [–] 1 point 10 months ago

    Are both of them ula addresses? (both of them starting with 2). If they are not the same then the ISP is providing an internal unique address for isp internal configurations.

    If so, are they having the same network? ( The first 48 bits) if not, then is probably a miss configuration but probably in their side. But with no practical effects. You could ignore it.

    If yes again, then it is a miss configuration and it shouldn't happen, but this time it could be in your side, check that the dhcpv6 daemon doesn't try to give an ipv6 address To your Wan port

  • source
  • [+] -8 points 10 months ago (6 children)
  • [–] 11 points 10 months ago (1 child)

    Cgnat is for ipv4, has nothing to do with ipv6. Suggest reading up on ipv6.

  • source
  • parent
  • hideshow 1 child comment
  • [+] -14 points 10 months ago (1 child)
  • [–] 12 points 10 months ago

    There is misunderstanding here, perhaps about what the OP asked. I've interpreted the question to be why there are two different ipv6 addresses. I suspect you've interpreted it to be why is there a ipv4 and ipv6 addresses. At least I hope so.

    I gather that insulting internet randos is what you do for a living.

  • source
  • parent
  • load more comments (-1 replies)
  • [–] [S] 2 points 10 months ago (3 children)

    How can I tell if IPv6 is CGNATed ?

  • source
  • parent
  • hideshow 3 child comments