> And in my point of view it is a failure that you tell a methode to store
> 192.168.1.33/29 and it's stores 192.168.1.32/29.
> It would be better to inform the caller that the value that he submitted is
> not supported and tell him why.
> In other case somebody could get trapped cause he stores the value and
> sometime later he use it. He'll be very suprised if the value is altered.
> 
> Objective:
> Both opinions have his points. But in anycase the decision should be mentioned
> in the doc. So everyone knows about it and what it means for the user.
> 

I'd suggest a wrapper class: IPAddressWithContext or something. Let it
have the net and host methods, and make use of IPAddr internally.