Kovács Attila wrote: > Gabor HALASZ írta: >> Miert? Miben ter el a 127.0.0.0/8 definicio a 127.0.0.1/8-tol? >> Vagy a 127.-tol? >> >> > A 127.0.0.1-et (vagy 127.x.y.z-t) lemaszkolod > 255.0.0.0-val -> 127.0.0.0, ami nem egyenlő 127.0.0.1-el. > > An IP address is part of a CIDR block, and is said to match the CIDR prefix if the initial N bits of the address and the CIDR prefix are the same. Thus, understanding CIDR requires that IP address be visualized in binary. Since the length of an IPv4 address has 32 bits, an N-bit CIDR prefix leaves 32-N bits unmatched, meaning that 232-N IPv4 addresses match a given N-bit CIDR prefix. Shorter CIDR prefixes match more addresses, while longer CIDR prefixes match fewer. An address can match multiple CIDR prefixes of different lengths.
http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_blocks -- Gabor HALASZ <[email protected]> _________________________________________________ linux lista - [email protected] http://mlf2.linux.rulez.org/mailman/listinfo/linux
