New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DHCPv4 Classless routes : Gateway dropped explicitely #28280
Comments
This issue seems to be related to This commit added 4 cases of invalid DHCP routes configuration. It seem to me that the 3rd case "requested route destination XYZ is in the assigned network" is responsible of this behaviour. I believe this comes in violation of RFC 3442. To my knowledge this is a valid routing case. Also note that "dhclient" tool adds the route as excpected. An real-life example to illustrate such cases : |
…n the same network Fixes systemd#28280.
Fix is waiting in #28286. |
…n the same network Fixes systemd#28280. (cherry picked from commit 77451f6) (cherry picked from commit 234b51f) (cherry picked from commit 2ed8067)
For issue systemd#28280. (cherry picked from commit 86f6760) (cherry picked from commit f74337b) (cherry picked from commit 7cf1bc0)
…n the same network Fixes systemd#28280. (cherry picked from commit 77451f6) (cherry picked from commit 234b51f)
For issue systemd#28280. (cherry picked from commit 86f6760) (cherry picked from commit f74337b)
…n the same network Fixes systemd#28280. (cherry picked from commit 77451f6)
For issue systemd#28280. (cherry picked from commit 86f6760)
systemd version the issue has been seen with
systemd 252 (252.5-2ubuntu3)
Used distribution
Ubuntu
Linux kernel version used
6.2.0-24-generic
CPU architectures issue was seen on
x86_64
Component
systemd-networkd
Expected behaviour you didn't see
After DHCP configuration, the following routes should have been added :
Unexpected behaviour you saw
But the following routes have been added :
Steps to reproduce the problem
Use a machine on a network that includes a DHCPv4 sending the following options :
DHCP option 1 : [SubnetMask]
DHCP option 121 : classless static route [DestCIDR] [Gateway]
Ensure DestCIDR is within the SubnetMask.
Additional program output to the terminal or log subsystem illustrating the issue
The text was updated successfully, but these errors were encountered: