C2960_POE - bad mask /24 on Int VLAN1

Answered Question
Aug 5th, 2010
User Badges:

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.

Correct Answer by Jon Marshall about 6 years 11 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
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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
User Badges:

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