Here is the HSRP LAB:
1> for VLAN 10 the primary is R1 and passive is R2
2> for vlan20 the active is R2 and the passive is R1
how to check
on R3 make the f0/2 shutdown and ping again to check if you are able to ping the stand by IP
Below is the config of R1, R2 and R3
R1:
!
interface FastEthernet0/2
switchport mode trunk
!
interface Vlan10
ip address 192.168.10.2 255.255.255.0
standby 1 ip 192.168.10.1
standby 1 priority 150
!
interface Vlan20
ip address 192.168.20.2 255.255.255.0
standby 2 ip 192.168.20.1
!
1> for VLAN 10 the primary is R1 and passive is R2
2> for vlan20 the active is R2 and the passive is R1
how to check
on R3 make the f0/2 shutdown and ping again to check if you are able to ping the stand by IP
Below is the config of R1, R2 and R3
R1:
!
interface FastEthernet0/2
switchport mode trunk
!
interface Vlan10
ip address 192.168.10.2 255.255.255.0
standby 1 ip 192.168.10.1
standby 1 priority 150
!
interface Vlan20
ip address 192.168.20.2 255.255.255.0
standby 2 ip 192.168.20.1
!
R2:
interface FastEthernet0/3
switchport mode trunk
!
interface Vlan10
ip address 192.168.10.3 255.255.255.0
standby 1 ip 192.168.10.1
!
interface Vlan20
ip address 192.168.20.3 255.255.255.0
standby 2 ip 192.168.20.1
standby 2 priority 150
!
R3:
!
interface FastEthernet0/2
switchport mode trunk
!
interface FastEthernet0/3
switchport mode trunk
shutdown
!
interface FastEthernet0/4
switchport access vlan 10
!
interface FastEthernet0/5
switchport access vlan 20
!
1 comment:
thank you
Post a Comment