0

I've been working with the ip 192.168.7.0 / 27 with jump 32, when I wanted to put 96 it no longer works for me and it says that the mask is an error.

192.168.7.96 255.255.255.224

MESSAGE FROM CISCO: BAD MAS / 27 TO 192.168.7.96

eh venido trabando con las ip 192.168.7.0 /27 con salto 32 , cuando eh querido poner la 96 ya no me funciona y dice que la mascara es un error.

192.168.7.96 255.255.255.224

MENSAJE DE CISCO : BAD MAS /27 TO 192.168.7.96

Ron Trunk
  • 68,291
  • 5
  • 66
  • 126

3 Answers3

6

I assume you tried to configure an interface with IP 192.168.7.96/27.

This cannot be done, since 192.168.7.96 is the network address of the network 192.168.7.96/27. Network and broadcast addresses cannot be assigned to an interface.

You can use 192.168.7.97/27, which is the first available IP of this network.

JFL
  • 19,884
  • 1
  • 36
  • 68
1

You cannot use any IPv4 address that has all host-part bits set to zero. That is the network address or subnet address that cannot be used as host address by convention. Nearly all devices reject such a configuration.

255.255.255.224 or /27 uses the first three octets and the first three bits of the last octet - 27 bits in total - for the network address, and the remaining five bits for the host part. Accordingly, the last octets 0, 32, 64, 96, 128, ... (multiples of 25) cannot be used for addressing a host in a /27 subnet.

A host part with all ones cannot be used either, as that address is the subnet's directed broadcast address (for /27 that's the last octet with 31, 63, 95, 127, ...).

PS: As @JörgWMittag has correctly pointed out, the special /31 peer-to-peer subnet from RFC 3021 does allow using 0 and 1 in the host bit, but it's the only exception to the rule.

Zac67
  • 90,111
  • 4
  • 75
  • 141
-3

En 3 routerenter image description heres pude configurar perfectamente con 192.168.7.32 , después con 192.168.7.64 , la siguiente debería ser 192.168.7.96 y me dice que las mascara 255.255.255.224 no es compatible