| 2 Jun 2025 |
mjm | depends how stable your prefix from your isp is | 03:18:07 |
Charles | let's assume that it is | 03:18:15 |
mjm | mine seems to change whenever they do non-trivial work | 03:18:18 |
mjm | if you've got one that seems to match your mac address, that one should be stable | 03:19:41 |
Charles | 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 | yes, that one | 03:23:04 |
Charles | ah the words following the address are documented here: https://man7.org/linux/man-pages/man8/ip-address.8.html#DESCRIPTION | 03:24:33 |
Charles | mngtmpaddr seems to mean "this is the stable one" | 03:24:44 |
Charles | or, imply it | 03:25:03 |
mjm | the lack of "temporary" as well | 03:25:29 |
Charles | thanks | 03:26:21 |
uep | in particular, the "tmp" part of that is for "template" not "temporary" | 03:32:05 |
Charles | ah, that makes more sense | 03:32:24 |
uep | that's the template that the periodic privacy-addresses will be based on | 03:32:37 |
uep | (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 |
| Fré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 | OK so here's an interesting question | 08:09:05 |
K900 | I have the GPON modem stick thing | 08:09:12 |
K900 | And it's got a management interface | 08:09:30 |
K900 | That's on the same physical link as the rest of the link | 08:09:51 |
K900 | But not the same subnet | 08:09:55 |
K900 | How the fuck do I make it reachable from inside the router | 08:10:11 |
uep | i 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 | so I just have a secondary address on the router in that subnet | 08:16:20 |
uep | as well as the dhcp and dhcpv6 for the service addresses | 08:16:44 |
uep | oh, and a nat rule because of course it doesn't have routes to the rest of my internal networks | 08:17:12 |
K900 | I can't figure out how to get networkd to both do DHCP and have a static prefix on the same interface | 08:17:38 |
K900 | Is the problem | 08:17:45 |
K900 | I've set up the actual thing to listen on 172.16.0.1/24 which is a prefix nothing will ever touch | 08:18:20 |
uep | yeah, can't help there, sorry.. all mikrotik here, for better or worse | 08:18:24 |