cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
40947
Views
21
Helpful
7
Replies

bad mask /24

JAYESH RAMAIYA
Level 1
Level 1

Hi

I need to enter the config below on one of our core switches -

interface vlan 603

description *** HOTEL_TRANS ***

ip address 192.168.4.0 255.255.255.0

ip access-group ACL_HOTEL_TRANS in

standby 602 ip 192.168.4.0

standby 602 timers 1 4

standby 602 priority 100

standby 602

           

When I enter this I get the message bad mask 24 for address 192168.4.0 255.255.255.0

If I enter the no ip subnet zero would this help?

Regards

2 Accepted Solutions

Accepted Solutions

paulstone80
Level 3
Level 3

You are entering the Network Address for that subnet. You need to choose an IP address between 192.168.4.1 - .254, or use a different subnet mask that allows 192.168.4.0 to be used as a valid IP.

HTH Paul ****Please rate useful posts****

View solution in original post

Hi Jayesh,

The standby group number needs to be a number between 0 and 255, so if your vlan matches one of those numbers (except 0) then Yes it can be the same as the vlan id.

Kind regards,

Paul

HTH Paul ****Please rate useful posts****

View solution in original post

7 Replies 7

paulstone80
Level 3
Level 3

You are entering the Network Address for that subnet. You need to choose an IP address between 192.168.4.1 - .254, or use a different subnet mask that allows 192.168.4.0 to be used as a valid IP.

HTH Paul ****Please rate useful posts****

Thanks for your answer Paul.

Can the standby number be the same as the vlan number?

For instance  -

interface vlan 603

description *** HOTEL_TRANS ***

ip address 192.168.4.1 255.255.255.0

ip access-group ACL_HOTEL_TRANS in

standby 603 ip 192.168.4.1

standby 603 timers 1 4

standby 603 priority 100

standby 603

Hi Jayesh,

Can the standby number be the same as the vlan number?

For instance  -

...

Yes it can be the same, these are independent numbers.

Best regards,

Jan

Hi Jayesh,

The standby group number needs to be a number between 0 and 255, so if your vlan matches one of those numbers (except 0) then Yes it can be the same as the vlan id.

Kind regards,

Paul

HTH Paul ****Please rate useful posts****

Hi,

actually standby group number is a number between 0 and 255 when using HSRP version 1.

But when using HSRP v2, the range is 0 to 4095. HSRPv2 was integrated into Cisco IOS release 12.2(25)S.

If you want to know more about HSRP version 2, restrictions and comparation to version 1 see this link

http://www.cisco.com/en/US/docs/ios/12_3t/12_3t4/feature/guide/gthsrpv2.html

Best regards,

Jan

Your standby address should be different from your interface address.  There should be three addresses in play here, each between .1 and .254. Each router should have a different address, and the standby address should be the same on both routers, but different from the interface addresses.  The machines on the VLAN should use the standby address as their default gateway.

Kevin Dorrell

Luxembourg

prompt.sajidf1
Level 1
Level 1

192.168.4.1

Review Cisco Networking for a $25 gift card