11-14-2012 02:18 AM - edited 03-07-2019 10:02 AM
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
Solved! Go to Solution.
11-14-2012 02:35 AM
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.
11-14-2012 05:19 AM
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
11-14-2012 02:35 AM
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.
11-14-2012 04:03 AM
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
11-14-2012 04:14 AM
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
11-14-2012 05:19 AM
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
11-14-2012 01:08 PM
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
11-14-2012 07:24 PM
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
11-15-2012 12:17 AM
192.168.4.1
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide