6 Oct 2024 |
Arian | If you don't have your router in bridge mode you simply just have a /64 and all the devices assign ip addresses through SLAAC | 09:58:09 |
Arian | * This is not fully correct. It's /56 for your modem /64 for your router in residential areas | 09:58:26 |
Arian | Iirc | 09:58:46 |
| jeroen left the room. | 10:21:04 |
steveej | In reply to @arianvp:matrix.org If you don't have your router in bridge mode you simply just have a /64 and all the devices assign ip addresses through SLAAC this sounds like what i'm seeing. i'm still not sure whether prefix delegation is happening at all behind my ISP router | 10:48:12 |
Arian | Yeh so figure out if you can put your ISP router in bridge mode | 10:54:38 |
Arian | If you can then you can usually request larger prefixes with DHCPv6 | 10:54:57 |
Arian | It's usually possible | 10:55:23 |
Arian | (or get your own modem if they allow it) | 10:55:32 |
steveej | Arian: do you know if systemd-networkd can be configured to emit prefix delegation request logs? i'm curious if my ISPs router answers these at all. | 11:13:15 |
Arian | Maybe if you set the log level to debug | 11:25:57 |
Arian | Otherwise I'd Wireshark it | 11:26:21 |
Ramses 🇵🇸 | It does when you set the log level to debug | 12:22:46 |
Ramses 🇵🇸 | But of you're behind another router, then I'm pretty sure you won't get this to work | 12:23:12 |
Ramses 🇵🇸 | * But if you're behind another router, then I'm pretty sure you won't get this to work | 12:23:37 |
Ramses 🇵🇸 | You might also need to set WithoutRA = "solicit"; in the dhcpv6 config to ask explicitly for a prefix, when you're not being offered one by default | 12:26:12 |
Ramses 🇵🇸 | Also, you won't see the prefix in ip a , you'd see two GUA /64 addresses, one is the one obtained via slaac, and the other one is the range that the router assigned to itself from the delegated prefix | 12:33:10 |
Ramses 🇵🇸 | There's a lot of networkd options that control all of this though, and some of them imply certain default values for others, so it can get a bit complicated | 12:34:26 |
Ramses 🇵🇸 | In reply to @rvdp:infosec.exchange Also, you won't see the prefix in ip a , you'd see two GUA /64 addresses, one is the one obtained via slaac, and the other one is the range that the router assigned to itself from the delegated prefix And then most probably you'd see for each of those /64s at least two addresses, one stable one and one temporary one, and possibly additional deprecated ones | 12:36:16 |
Ramses 🇵🇸 | In reply to @rvdp:infosec.exchange Also, you won't see the prefix in ip a , you'd see two GUA /64 addresses, one is the one obtained via slaac, and the other one is the range that the router assigned to itself from the delegated prefix This is on your WAN interface, BTW. On the LAN side you'll only see a /64 from the delegated prefix | 12:42:25 |
Ramses 🇵🇸 | Probably this is not actually the right room for this | 12:48:38 |
Arian | Yeh let's move to offtopic if you need more help | 12:52:24 |
Arian | It's a bit awkward that the final image for verity images is now config.system.build.finalImage instead of config.system.build.image | 14:59:59 |
Arian | Wish nixos module system worked more like overlays.... | 15:00:41 |
| @sofo:matrix.org left the room. | 15:24:39 |
ElvishJerricco | Arian: So I was looking at https://github.com/NixOS/nixpkgs/pull/345899 and it reminded me again that I'd really like to figure out how to get PID 1 == systemd for non-initrd cases. As far as I'm aware, this is pretty much exclusively containers, is it not? | 18:43:32 |
K900 | WSL ecks dee | 18:44:02 |
ElvishJerricco | hm... | 18:44:15 |
K900 | It's fine actually | 18:44:28 |
K900 | systemd is PID1 on WSL | 18:44:34 |