FS#49738 - [dhcpcd] not honoring static IP's netmask

Attached to Project: Arch Linux
Opened by Isabell Cowan (Izzette) - Thursday, 16 June 2016, 18:25 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 23 June 2016, 16:26 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Ronald van Haren (pressh)
Anatol Pomozov (anatolik)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I've set a static IP with dhcpcd in /etc/dhcpcd.conf. It is on a virtual bridge interface, which I use as DHCP/DNS/router for my virtual machines. I've set the ip as 172.16.0.1/24, however every time it boots, it sets the netmask to /16. If I manually set the IP/netmask with ip addr, it works as expected. Notably, my DHCP server (dhcpd) tells clients to use the /24 netmask.

Additional info:
* I'm using dhcpcd-6.11.0-2, but I do believe that this occured in earlier versions
* I've included my dhcpcd.conf
* I've included a snippet of my log pertaining to DHCP and my bridge (br0)
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Thursday, 23 June 2016, 16:26 GMT
Reason for closing:  Upstream
Additional comments about closing:  Fixed in 6.11.1
Comment by Anatol Pomozov (anatolik) - Thursday, 23 June 2016, 15:18 GMT
There is also dhcpcd-6.11.1 in the [testing] repo. You might want to try it as well.
Comment by Roy Marples (rsmarples) - Thursday, 23 June 2016, 16:00 GMT
I'm pretty sure this is fixed in dhcpcd-6.11.1
Comment by Isabell Cowan (Izzette) - Thursday, 23 June 2016, 16:21 GMT
This is fixed for me in dhcpcd-6.11.1, thanks. 6.11.0 was a mess.

Loading...