Re: Proposal to apply mask to IP address set on rule
Michael Richardson <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.network |
|---|---|
| Message-ID | <[email protected]> |
Edgar Fuß <[email protected]> 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. v4 with non-multiples of 8: saves many mistakes.
signature.asc
(application/pgp-signature, 511 B)
-----BEGIN PGP SIGNATURE----- iQFFBAEBCgAvFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmgwZg8RHG1jckBzYW5k ZWxtYW4uY2EACgkQgItw+93Q3WUEygf/QXIzBD9VlkEmx/aTxoYR+cb4bRKba0mK NVF5yT6I469O0Zl/VxX41b7NY6udgVytS4Uo0u3M8rxAxA2rfKPUOY9kfISxIYPJ vrpwzui0KttpX3cJtqrfaKp7Ct4tRn13d1OPh8WCR3PoAO+Re1txprfGOOLU8+M3 XbJ/q5XvmQFJ+tDwLSCJgknq/jg0GAmB4quAwpD9Cy6Cwi7OU8KOorejnlomwPDF 2Ynn9ZVMCHLJd3CG2mFwBteCVV8sZsZACm8MQPBV9U8EJ9fG9D8PIV6R0ouMnX28 OJAq7iL7rVpQ+Ws01No5z5n684i0/yKTNJAyccyc3jMhCMili57sGQ== =U0DN -----END PGP SIGNATURE-----