!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

920 Members
Declaratively manage your switching, routing, wireless, tunneling and more.267 Servers

Load older messages


SenderMessageTime
2 Jun 2025
@mjm:midna.devmjmdepends how stable your prefix from your isp is03:18:07
@charles:computer.surgeryCharleslet's assume that it is03:18:15
@mjm:midna.devmjmmine seems to change whenever they do non-trivial work03:18:18
@mjm:midna.devmjmif you've got one that seems to match your mac address, that one should be stable03:19:41
@charles:computer.surgeryCharles

so for this:

2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 58:47:ca:71:7c:7d brd ff:ff:ff:ff:ff:ff
    altname enx5847ca717c7d
    inet 192.168.0.10/24 metric 1024 brd 192.168.0.255 scope global dynamic enp2s0
       valid_lft 3147sec preferred_lft 3147sec
    inet6 2601:1c1:8400:a440:aed7:7fb7:8907:d07a/64 scope global temporary dynamic
       valid_lft 3172sec preferred_lft 1372sec
    inet6 2601:1c1:8400:a440:5a47:caff:fe71:7c7d/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 3172sec preferred_lft 1372sec
    inet6 fe80::5a47:caff:fe71:7c7d/64 scope link proto kernel_ll
       valid_lft forever preferred_lft forever

probably second inet6 line?

03:22:42
@mjm:midna.devmjmyes, that one03:23:04
@charles:computer.surgeryCharlesah the words following the address are documented here: https://man7.org/linux/man-pages/man8/ip-address.8.html#DESCRIPTION03:24:33
@charles:computer.surgeryCharlesmngtmpaddr seems to mean "this is the stable one"03:24:44
@charles:computer.surgeryCharlesor, imply it03:25:03
@mjm:midna.devmjmthe lack of "temporary" as well03:25:29
@charles:computer.surgeryCharlesthanks03:26:21
@uep:matrix.orguepin particular, the "tmp" part of that is for "template" not "temporary"03:32:05
@charles:computer.surgeryCharlesah, that makes more sense03:32:24
@uep:matrix.orguepthat's the template that the periodic privacy-addresses will be based on03:32:37
@uep:matrix.orguep(which is why it's not used to create routes, the idea being that the other ones should be source for outbound connections)03:33:27
@frederic:scs.ems.hostFrédéric Christ (back on 02.01.) changed their display name from Frédéric Christ (🧳 12.05. - 02.06.) to Frédéric Christ.07:02:13
@k900:0upti.meK900OK so here's an interesting question08:09:05
@k900:0upti.meK900I have the GPON modem stick thing08:09:12
@k900:0upti.meK900And it's got a management interface08:09:30
@k900:0upti.meK900That's on the same physical link as the rest of the link08:09:51
@k900:0upti.meK900But not the same subnet08:09:55
@k900:0upti.meK900How the fuck do I make it reachable from inside the router08:10:11
@uep:matrix.orguepi have something like that for my random shitful HFC cablemodem. For about 120s after boot, it's visible via a 192.168.100.1/24 address, and it goes away again if not poked in that window (and sometimes if it is)08:16:03
@uep:matrix.orguepso I just have a secondary address on the router in that subnet08:16:20
@uep:matrix.orguepas well as the dhcp and dhcpv6 for the service addresses08:16:44
@uep:matrix.orguepoh, and a nat rule because of course it doesn't have routes to the rest of my internal networks08:17:12
@k900:0upti.meK900I can't figure out how to get networkd to both do DHCP and have a static prefix on the same interface08:17:38
@k900:0upti.meK900Is the problem08:17:45
@k900:0upti.meK900I've set up the actual thing to listen on 172.16.0.1/24 which is a prefix nothing will ever touch08:18:20
@uep:matrix.orguepyeah, can't help there, sorry.. all mikrotik here, for better or worse08:18:24

Show newer messages


Back to Room ListRoom Version: 6