摘要:Systems
IP addresses, both IPv4 and IPv6, appear to be complicated when
you first encounter them, but in reality they are simple constructions,
and a using a few basic rules will allow you to find the important
information for any situation very quickly—and with minimal
math. In this article, we review some of the basics of IPv4 address
layout, and then consider a technique to make working with IPv4
addresses easier. Although this is not the “conventional” method you
might have been taught to work with in IP address space, you will
find it is very easy and fast. We conclude with a discussion of applying
those techniques to the IPv6 address space.