I’m on att for my home internet and unless you go to the effort to bypass their router (it does 802.1x authentication so it’s a bit of a pain to do so), they only give you /64s via dhcpv6 prefix delegation, nothing bigger. You can request up to 8 of them though.

It looks like mikrotik can’t request multiple prefixes in a single request, based on their documentation.

Edge routers look like they can if configured from the cli.

I’ve been using a linux box with dhcpcd and that works. Would be nicer if systemd-networkd supported multiple prefixes directly so I didn’t have to try to get dhcpcd and systemd-networkd to try to play nice with each other since I use systemd-networkd for the lan side interfaces, wireguard, etc.

What other routers and dhcpv6 clients support requesting multiple prefixes in a single request? I’m looking to see if there’s a better option out there than what I’m doing now.

  • iwasgodonce@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    It looked to me like what was merged didn’t actually solve that issue.

    Do you know if multiple interfaces like that would work without having to make custom source routing rules? (so the right ip addresses go out the interface associated with the dhcp range) Would connection tracking (for use with nftables) be able to work correctly without source routing rules. I’d be afraid if I had to hard code source routing rules that if the power went out for a while, it would end up with the wrong range assigned to a given interface.

    • TCB13@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      If you’ve a bridge it shouldn’t matter, at the end of the day everything will come out on the same place. Either way there are a few options systemd’s network config under the [Route] and [RoutingPolicyRule] sections that might help you setup priorities and some kind of tracking automatically. Whenever you get new prefixed systemd will automatically recreate the routes for you.

      https://www.freedesktop.org/software/systemd/man/systemd.network.html#[RoutingPolicyRule] Section Options

      To be honest I’m not sure if those things will work as expected. You’ll have to read the docs very carefully and try. I’ve had my fair share of issues with systemd and IPv6, PD, SLAAC, DAD and others in the past. Most things seem to be fixed now, but systemd wasn’t designed as a networking solution like, for instance, OpenWRT is.