View previous topic :: View next topic |
Author |
Message |
rini17 n00b
Joined: 04 Jan 2006 Posts: 25 Location: Bratislava, Slovakia
|
Posted: Fri Jun 08, 2018 2:51 pm Post subject: dhcpcd fails to add host route |
|
|
I have added host route to dhcp server to a public address W.X.Y.Z:
Code: | option classless-routes code 121 = array of unsigned integer 8;
option classless-routes 32,W,X,Y,Z,172,27,227,7,0,172,27,227,1; |
and it works on all machines except gentoo box, with following errors in the log. Any idea why?
Code: | [dhcpcd] eth0: leased 172.27.227.10 for 86400 seconds
[dhcpcd] eth0: adding route to 172.27.227.0/24
[dhcpcd] eth0: adding host route to W.X.Y.Z via 172.27.227.7
[dhcpcd] if_route (ADD): Network is unreachable
[dhcpcd] eth0: adding default route via 172.27.227.1
|
|
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 722 Location: /home
|
Posted: Sat Jun 09, 2018 9:50 am Post subject: |
|
|
Not a network expert, sorry. But you could try looking what versions of dhcpcd other working distros and gentoo are using, how they were built (configure options) and whether if it is openrc-systemd related.
Also if you updated to (faulty) version 7.0.5 of dhcpcd, try updating to 7.0.5b. |
|
Back to top |
|
|
sping Developer
Joined: 16 Aug 2009 Posts: 25 Location: Germany, Berlin
|
Posted: Fri Jun 29, 2018 10:35 pm Post subject: |
|
|
We had the exatc same problem -- static route passed by server and message .. Code: | if_route (ADD): Network is unreachable | . A downgrade to .. Code: | =net-misc/dhcpcd-6.11.5 | .. fixed the issue. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
|