03-23-2018 12:14 AM - edited 03-08-2019 02:22 PM
Hi,
I have just tried to configure HSRP in routers, where VLAN 10 and 20 are configured and communicating, can access web server also. I got an error while configuring stand by ip...i doubt its not possible in this topology.
03-23-2018 12:53 AM
Hello,
on both routers you need an interface configured with an IP address is the same address space.
Post the Packet Tracer file (save the project as .pkt and rename it to .jpg, otherwise you cannot post the file).
03-23-2018 01:56 AM
Hi,
In your case, your basic configuration for HSRP as:
on Active Router:
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.1.254 255.255.255.0
standby 1 ip 192.168.1.1
standby 1 priority 110
standby 1 preempt
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 192.168.2.254 255.255.255.0
standby 2 ip 192.168.2.1
standby 2 priority 110
standby 2 preempt
!
On Standby Router:
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.1.253 255.255.255.0
standby 1 ip 192.168.1.1
standby 1 preempt
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 192.168.2.253 255.255.255.0
standby 2 ip 192.168.2.1
standby 2 preempt
Match with your configuration and test again in the lab. Don't forget to configure switch ports as a trunk and allowed VLANs are 20, and 30.
Regards,
Deepak Kumar
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