cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1452
Views
0
Helpful
2
Replies

C2960_POE - bad mask /24 on Int VLAN1

iholdings
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

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

View solution in original post

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card