10-11-2011 07:33 PM - edited 03-07-2019 02:44 AM
I have a 3750 stack as my core. I am setting up HSRP between 2 routers. I found lots of examples on how to set up the routers, but how do I configure the switch ports that both routers connect to, since they are on the same subnet?
3750>interface gi1/0/1
3750>description- router A interface port
3750>no switchport
3750> ?
3750>no shut
3750>interface gi1/0/2
3750>description- router B interface port
3750>no switchport
3750> ?
3750>no shut
I tried to assign IP addresses to both ports gi1/0/1 and gi1/0/2 in the HSRP subnet, but the switch only took the first one.
Solved! Go to Solution.
10-11-2011 08:18 PM
Reza
I am surprised that you did not recognize the basic issue here. If the OP wants to configure HSRP then the switch ports must be access ports in the same VLAN. The basic mistake of OP was to configure no switchport. For HSRP both switch ports must be access ports (switchport access VLAN x) in the same VLAN.
HTH
Rick
Sent from Cisco Technical Support iPhone App
10-11-2011 07:44 PM
Hi
When the switches are stacked, they logically act as one switch not two. That is why you can't configure the same subnet twice. If you want to connect one interface from each 3750 to two different routers, you need use 2 different subnets.
example:
Switch(config-if)#interface gigabitEthernet 1/0/1
Switch(config-if)#ip address 10.10.10.1 255.255.255.0
Switch(config-if)#interface gigabitEthernet 1/0/2
Switch(config-if)#ip address 10.10.20.1 255.255.255.0
HTH
10-11-2011 07:48 PM
Is there a way to connect one core switch to 2 different routers and let HSRP choose which router to go to?
10-11-2011 08:18 PM
Reza
I am surprised that you did not recognize the basic issue here. If the OP wants to configure HSRP then the switch ports must be access ports in the same VLAN. The basic mistake of OP was to configure no switchport. For HSRP both switch ports must be access ports (switchport access VLAN x) in the same VLAN.
HTH
Rick
Sent from Cisco Technical Support iPhone App
10-12-2011 05:23 AM
Hi Rick,
I couldn't quite understand what the OP wants to do, as he has configured "no switch" and also looking for HSRP config. I guess, it is a matter of interpretation. Most times, it is easier to show a simple drawing.
Reza
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