Some DHCP servers gives you a netmask of 255.255.255.255 so gateway is
not routable. Make a host route instead.

This fixes the issue but the implementation is very specific. It would
probably be better to check the route table first. What do you think?

The code from dhcpcd that works around this issue is on line 637.
https://android.googlesource.com/platform/external/dhcpcd/+/master/configure.c

Attachment: 211-0001-network-dhcp-create-host-route-if-dhcp-subnet-is-255.patch
Description: Binary data

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to