[CentOS] DHCP static hosts and subnet configuration

Filipe Brandenburger filbranden at gmail.com
Fri Oct 17 16:57:06 UTC 2008


Hi,

On Fri, Oct 17, 2008 at 12:37, John <jses27 at gmail.com> wrote:
> On subnet 192.168.0.16 with a mask of 255.255.255.224 will give enuff ips
> for 29 clients. One for the broadcast addy.

I think you are mistaken here, with netmask 255.255.255.224 you can
have network 192.168.0.0 (from 0 to 31) and 192.168.0.32 (from 32 to
63), but not 192.168.0.16 going up to 47. The address and netmask must
align, if you configure 192.168.0.16/255.255.255.224 you will actually
have a network that goes from 0 to 31, not 16 to 47.

Filipe



More information about the CentOS mailing list