C2960_POE - bad mask /24 on Int VLAN1

Answered Question
Aug 5th, 2010

Greetings,

(Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(44)SE6)

I'm attempting to configure the IP address on int VLAN1 to 192.168.3.0 255.255.255.0 and keep getting:

Bad mask /24 for address 192.168.3.0

I've even tried adding "ip subnet-zero" to the config. but it doesn't make any difference.

It will accept other addresses:  example:  172.18.1.1 255.255.255.0 works fine.

Thanks.

I have this problem too.
0 votes
Correct Answer by Jon Marshall about 6 years 4 months ago

iholdings wrote:

Greetings,

(Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(44)SE6)

I'm attempting to configure the IP address on int VLAN1 to 192.168.3.0 255.255.255.0 and keep getting:

Bad mask /24 for address 192.168.3.0

I've even tried adding "ip subnet-zero" to the config. but it doesn't make any difference.

It will accept other addresses:  example:  172.18.1.1 255.255.255.0 works fine.

Thanks.

192.168.3.0 is the network number. You can't use that. You can use 192.168.3.1 -> 192.168.3.254 with 192.168.3.255 being the broadcast address.

Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Jon Marshall Thu, 08/05/2010 - 12:42

iholdings wrote:

Greetings,

(Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(44)SE6)

I'm attempting to configure the IP address on int VLAN1 to 192.168.3.0 255.255.255.0 and keep getting:

Bad mask /24 for address 192.168.3.0

I've even tried adding "ip subnet-zero" to the config. but it doesn't make any difference.

It will accept other addresses:  example:  172.18.1.1 255.255.255.0 works fine.

Thanks.

192.168.3.0 is the network number. You can't use that. You can use 192.168.3.1 -> 192.168.3.254 with 192.168.3.255 being the broadcast address.

Jon

iholdings Thu, 08/05/2010 - 12:50

I believe I came to the same conclusion just as you

were typing your reply.

I can't even use the 'I'm a noob' as an excuse.

Thanks for your prompt reply.  All set.

Actions

This Discussion