I have a related problem. I'm parsing a lot of data from old IP address
spreadsheets at my company (we have millions of IPs) and sometimes the IPs
are represented like this: 192.168.016.000.
I was using IPAddress(192.168.016.000).format() to normalise the IPs (eg.
192.168.16.0). This was working fine most of the time, but I noticed when
doing this IP: 192.168.016.000 .format() resulted in: 192.168.14.0!