On Friday 12 Dec 2014 23:55:23 Roy Marples wrote: > On Friday 12 Dec 2014 15:51:20 John D. Baker wrote: > > My ISP's upstream router is operating as a DHCP relay as the DHCP > > server is on an entirely different network from that presented by > > the upstream router. Perhaps this causes confusion? > > Possibly. > Can you email me a full tcpdump off the DHCP message so I can analyse it > please?
So far this is the likely culprit. I tested dhcpcd on a bigendian mips router I have (running linux though) and again it installed a /20 fine and was correct for IPv4LL as well. So very interested in a tcpdump. > > My ISP seems to suffer prolonged outages of its upstream router, so > > when the lease expires, an IPv4LL/APIPA address is assigned and this > > also frequently has the wrong netmask (usually /24 instead of /16). > > > > I don't know if this is architecture-dependent or not. Perhaps I'll > > copy my firewall rules over to one of my Soekris net4501s and see how > > it behaves on an i386 system in place of the sparc system. (I have a > > local patch to work around kern/49124 for -7/-current.) > > I cannot replicate this on i386, a /20 is assigned fine from my local ISC > dhcpd server using dhcpcd-6.6.5. > > I suppose I cannot rule out any architectural problems and I don't have any > big endian hardware to test on, but I've not heard of any problems with > dhcpcd on these platforms. > > Does anyone else on bigendian have a problem with dhcpcd and subnet masks? Roy
