cor...@free.fr wrote: > On 22/05/2023 11:08, Tim Woodall wrote: > > On Mon, 22 May 2023, cor...@free.fr wrote: > > > In CIDR a host address is xx.xx.xx.xx/32 which means 255.255.255.255. > > > isn't it? > > > > > > > It depends on what question you're asking. > > > > An individual address is a /32, but a host address might be listed as a > > /24 for example. This means there are 256 addresses that can be reached > > without routing. > > I see. thanks. > In some use cases my configuration requires a host address with /32 for > CIDR. such as postscreen whitelist stuff. > > I know 192.168.1.0/24 means a C class. > But 192.168.1.100/24 means what? C class or that separated address > 192.168.1.100?
The C in CIDR stands for Classless; the Class system went away, even though people still routinely (and slightly incorrectly) talk about any /24 as a class C. 192.168.1.100/24 either means: one IP, 192.168.1.100, with a /24 network mask to define the network or the entirety of 192.168.1.*, but badly specified. The first meaning is more usual. -dsr-