| 2 Jun 2025 |
K900 | It just overrides | 08:25:38 |
K900 | Stackoverflow says it should work though | 08:27:39 |
K900 | I wonder if I just need to bonk it harder | 08:27:45 |
K900 | OK yeah for some reason networkctl reconfigure fucks it up | 08:28:48 |
K900 | But networkctl down followed by networkctl up does the right thing | 08:28:53 |
uep | oof | 08:29:19 |
uep | at least the macvlan hack is available in case having it as a separate interface is helpfu | 08:30:38 |
uep | * at least the macvlan hack is available in case having it as a separate interface is helpful | 08:30:41 |
uep | (for this or other reasons) | 08:31:18 |
K900 | I guess | 08:31:54 |
K900 | Anyway time to grafanize that shit | 08:31:58 |
ElvishJerricco | yea only one network file applies to each interface. Any other that would match it is just completely irrelevant | 08:42:44 |
ElvishJerricco | I forget if it's the first or last when sorting the network files by name that applies | 08:43:13 |
ElvishJerricco | the way to have separate files apply to the same interface is to use drop-ins for the same foo.network name | 08:43:44 |
ElvishJerricco | course that's not super relevant for nixos | 08:44:03 |
emily | for a router that needs to do PPPoE to get a WAN link, which is likely to be less painful, systemd-networkd and orchestrating pppd as a separate service, or just using NetworkManager which supports it natively? | 11:29:15 |
K900 | I don't know how well it works with networkd | 11:29:49 |
K900 | But I know pppd standalone is CURSED | 11:29:53 |
hexa (clat on linux when) | "60-ppp0" = {
matchConfig.Type = "ppp";
networkConfig = {
IPv6AcceptRA = true;
DHCP = "ipv6";
KeepConfiguration = true;
};
dhcpV6Config = {
WithoutRA = "solicit";
PrefixDelegationHint = "::/56";
};
ipv6SendRAConfig = {
Managed = true;
};
linkConfig.RequiredForOnline = "routable";
| 11:32:43 |
hexa (clat on linux when) | * "60-ppp0" = {
matchConfig.Type = "ppp";
networkConfig = {
IPv6AcceptRA = true;
DHCP = "ipv6";
KeepConfiguration = true;
};
dhcpV6Config = {
WithoutRA = "solicit";
PrefixDelegationHint = "::/56";
};
ipv6SendRAConfig = {
Managed = true;
};
linkConfig.RequiredForOnline = "routable";
};
| 11:32:55 |
emily | wait systemd-networkd supports it natively? everything I saw implied no | 11:33:21 |
hexa (clat on linux when) | I think the important bit is KeepConfiguration, since the PPP tunnel configures IPv4 by itself | 11:33:22 |
emily | or is this just separate to the glue to make pppd run at the right time? | 11:33:28 |
hexa (clat on linux when) | no, it just adds config on top of the ppp interface that pppd creates | 11:33:36 |
emily | right | 11:33:45 |
hexa (clat on linux when) | networkd reacts to interface creation | 11:33:49 |
emily | I guess you just need that + making the pppd service run whenever the underlying link comes up | 11:34:06 |
emily | was just wondering if NM might be better-integrated somehow | 11:34:16 |
hexa (clat on linux when) | * "60-ppp0" = {
matchConfig.Type = "ppp";
networkConfig = {
IPv6AcceptRA = true;
DHCP = "ipv6";
KeepConfiguration = true;
};
dhcpV6Config = {
WithoutRA = "solicit";
PrefixDelegationHint = "::/56";
};
ipv6SendRAConfig = {
Managed = true;
};
linkConfig.RequiredForOnline = "routable";
};
| 11:34:20 |
hexa (clat on linux when) | certainly not | 11:34:24 |