Configure HSRP-Hot Standby Roter Protocol (Network redundency or Reliable Network solution)
R3 Running Configuration
R3#config t
R3(config)#
R3(config)#int g0/0
R3(config-subif)#ip address 10.35.20.1 255.255.255.0
R3(config-subif)#no shutdown
R3(config-subif)#exit
R3(config)#
R3(config)#int g0/1
R3(config-subif)#no shutdown
R3(config-subif)#exit
R3(config)#
R3(config)#int g0/1.10
R3(config-subif)#encapsulation dot1Q 10
R3(config-subif)#ip address 10.35.10.1 255.255.255.0
R3(config-subif)#standby 10 ip 10.35.10.10
R3(config-subif)#standby 10 priority 140
R3(config-subif)#standby 10 preempt
R3(config-subif)#exit
R3(config)#
R3(config)#int g0/1.30
R3(config-subif)#encapsulation dot1Q 30
R3(config-subif)#ip address 10.35.30.1 255.255.255.0
R3(config-subif)#standby 30 ip 10.35.30.30
R3(config-subif)#standby 30 priority 140
R3(config-subif)#standby 30 preempt
R3(config-subif)#exit
R3(config)#ip route 10.35.10.0 255.255.255.0 g0/1.10
R3(config)#ip route 10.35.30.0 255.255.255.0 g0/1.30
R3(config)#ip dhcp pool net10
R3(dhcp-config)#network 10.35.10.0 255.255.255.0
R3(dhcp-config)#default-router 10.35.10.1
R3(dhcp-config)#default-router 10.35.10.10
R3(dhcp-config)#exit
R3(config)#ip dhcp pool net30
R3(dhcp-config)#network 10.35.30.0 255.255.255.0
R3(dhcp-config)#default-router 10.35.30.1
R3(dhcp-config)#default-router 10.35.30.30
R3(dhcp-config)#exit
R3(config)#
R3>enable
R3#sh Run
Building configuration...
Current configuration : 1240 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R3
!
ip dhcp pool Net10
network 10.35.10.0 255.255.255.0
default-router 10.35.10.1
default-router 10.35.10.10
ip dhcp pool Net30
network 10.35.30.0 255.255.255.0
default-router 10.35.30.1
default-router 10.35.30.30
!
interface GigabitEthernet0/0
ip address 10.35.20.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/1.10
encapsulation dot1Q 10
ip address 10.35.10.1 255.255.255.0
standby 10 ip 10.35.10.10
standby 10 priority 140
standby 10 preempt
!
interface GigabitEthernet0/1.30
encapsulation dot1Q 30
ip address 10.35.30.1 255.255.255.0
standby 30 ip 10.35.30.30
standby 30 priority 140
standby 30 preempt
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route 10.35.10.0 255.255.255.0 GigabitEthernet0/1
ip route 10.35.30.0 255.255.255.0 GigabitEthernet0/1.30
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
R4 Running Configuration
R4#config t
R4(config)#
R4(config)#int g0/0
R4(config-subif)#ip address 10.35.20.2 255.255.255.0
R4(config-subif)#no shutdown
R4(config-subif)#exit
R4(config)#
R4(config)#int g0/1
R4(config-subif)#no shutdown
R4(config-subif)#exit
R4(config)#
R4(config)#int g0/1.10
R4(config-subif)#encapsulation dot1Q 10
R4(config-subif)#ip address 10.35.10.2 255.255.255.0
R4(config-subif)#standby 10 ip 10.35.10.10
R4(config-subif)#standby 10 priority 140
R4(config-subif)#standby 10 priority 120
R4(config-subif)#standby 10 preempt
R4(config-subif)#exit
R4(config)#
R4(config)#int g0/1.30
R4(config-subif)#encapsulation dot1Q 30
R4(config-subif)#ip address 10.35.30.2 255.255.255.0
R4(config-subif)#standby 30 ip 10.35.30.30
R4(config-subif)#standby 30 priority 140
R4(config-subif)#standby 30 priority 120
R4(config-subif)#standby 30 preempt
R4(config-subif)#exit
R4(config)#
R4(config)#ip route 10.35.10.0 255.255.255.0 g0/1.10
R4(config)#ip route 10.35.30.0 255.255.255.0 g0/1.30
R4(config)#ip dhcp pool net10
R4(dhcp-config)#network 10.35.10.0 255.255.255.0
R4(dhcp-config)#default-router 10.35.10.2
R4(dhcp-config)#default-router 10.35.10.10
R4(dhcp-config)#exit
R4(config)#ip dhcp pool net30
R4(dhcp-config)#network 10.35.30.0 255.255.255.0
R4(dhcp-config)#default-router 10.35.30.2
R4(dhcp-config)#default-router 10.35.30.30
R4(dhcp-config)#exit
R4(config)#
R4#
R4#sh run
R4#sh running-config
Building configuration...
Current configuration : 1183 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption<