I suppose that it is really a bug in dhcpcd: Sometimes the route is set correctly, but usually not at the first run. Only after stopping and restarting dhcpcd the route is set correctly.
More precisely: If dhcpcd "works" (usually only after the second start) I get the output
Code: Select all
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
[correct ip] 0.0.0.0 255.255.254.0 U 202 0 0 eth0
127.0.0.0 - 255.0.0.0 ! 0 - 0 -
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 [correct gateway] 0.0.0.0 UG 202 0 0 eth0I guess a bug should be reported to Uberlord, but currently I have to many other things to do...



