tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Proposal to apply mask to IP address set on rule



On Fri, 23 May 2025 08:11:59 -0400
Michael Richardson <mcr%sandelman.ca@localhost> wrote:

> Edgar Fuß <ef%math.uni-bonn.de@localhost> wrote:
>     >> It is extremely common to express a "subnet" as "addr/mask" and still
>     >> have non-zero host bits in the "addr" part.  
> 
>     > Is it? I never use that.  
> 
> The advantage of doing so is that you no longer risk zeroing the wrong number
> of bits when go from a /128 to the subnet that encloses it.  v6: pretty
> non-trivial to get right.  

Is it? As v6 has addresses in hex, it's simpler to apply calculations.

> v4 with non-multiples of 8: saves many mistakes.

-- 
WBR, @nuclight


Home | Main Index | Thread Index | Old Index