Summary: | net-misc/netifrc (net-misc/dhcpcd with nogateway option) breaks network on router's reset | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey S. Starikoff <Ikonta> |
Component: | Current packages | Assignee: | William Hubbs <williamh> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | base-system, netifrc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sergey S. Starikoff
2022-09-22 17:24:17 UTC
I suspect it goes something like this: 1. netifrc calls dhcpcd -G (nogateway). This adds a 192.168.100.x/24 address to the interface. 2. netifrc adds the "default via 192.168.100.1" route. This is bound implicitly to the 192.168.100.x address on the interface. 3. Your router resets. 4. dhcpcd attempts to renew the lease and fails somehow. It removes the 192.168.100.x address and replaces it with a 169.254.0.0 address. This also removes the "default via 192.168.100.1" route since it was tied to the 192.168.100.x address. This seems to be more of a dhcpcd problem than a netifrc problem. # eix -Ic netifrc [I] net-misc/netifrc (0.7.3@09.04.2021): Gentoo Network Interface Management Scripts (In reply to Mike Gilbert from comment #1) > This seems to be more of a dhcpcd problem than a netifrc problem. I think, it will be right to enshure, that other DHCP clients handle this case correctly. I can make such check, but think it would be better to ask native users. |