!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

908 Members
Declaratively manage your switching, routing, wireless, tunneling and more.263 Servers

Load older messages


SenderMessageTime
2 Jun 2025
@uep:matrix.orguepyeah, can't help there, sorry.. all mikrotik here, for better or worse08:18:24
@k900:0upti.meK900And I can get to it if I add the route manually08:18:30
@uep:matrix.orguep(3 external links, all on their own routers, router backplane with ospf, 4 internal routers to different things, vpn links, etc etc.)08:20:25
@uep:matrix.orguepi would imagine networkd can do it, or can certainly do multiple addresses.. perhaps with dhcp is harder?)08:22:16
@uep:matrix.orguep* i would imagine networkd can do it, or can certainly do multiple addresses.. perhaps with dhcp is harder?08:22:34
@k900:0upti.meK900OK I think I'm an idiot08:23:04
@uep:matrix.orguepin which case some macvlan hackery may be in order?08:23:04
@k900:0upti.meK900I think it works if I specify both DHCP and static address IN THE SAME NETWORK FILE08:23:19
@uep:matrix.orguepI.. would hope that shouldn't matter, but am perhaps unsurprised if it does08:24:00
@uep:matrix.orguepoh.. i guess if it only uses the config from the highest priority file? ok, yeah08:25:11
@uep:matrix.orguepugh08:25:25
@k900:0upti.meK900It just overrides08:25:38
@k900:0upti.meK900Stackoverflow says it should work though08:27:39
@k900:0upti.meK900I wonder if I just need to bonk it harder08:27:45
@k900:0upti.meK900 OK yeah for some reason networkctl reconfigure fucks it up 08:28:48
@k900:0upti.meK900 But networkctl down followed by networkctl up does the right thing 08:28:53
@uep:matrix.orguepoof08:29:19
@uep:matrix.orguepat least the macvlan hack is available in case having it as a separate interface is helpfu08:30:38
@uep:matrix.orguep* at least the macvlan hack is available in case having it as a separate interface is helpful08:30:41
@uep:matrix.orguep(for this or other reasons)08:31:18
@k900:0upti.meK900I guess08:31:54
@k900:0upti.meK900Anyway time to grafanize that shit08:31:58
@elvishjerricco:matrix.orgElvishJerriccoyea only one network file applies to each interface. Any other that would match it is just completely irrelevant08:42:44
@elvishjerricco:matrix.orgElvishJerriccoI forget if it's the first or last when sorting the network files by name that applies08:43:13
@elvishjerricco:matrix.orgElvishJerricco 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:matrix.orgElvishJerriccocourse that's not super relevant for nixos08:44:03
@emilazy:matrix.orgemily 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:0upti.meK900I don't know how well it works with networkd11:29:49
@k900:0upti.meK900But I know pppd standalone is CURSED11:29:53
@hexa:lossy.networkhexa
      "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

Show newer messages


Back to Room ListRoom Version: 6