Homepage

HSRP



hostname Internet: No need configure on Internet just keep default
Client PC: The traffic will goes through via R1, After R1 down the traffic will goes go through R2 instead

hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
no ip icmp rate-limit unreachable
ip cef
ip tcp synwait-time 5
!
no ip dhcp use vrf connected
!
no ip domain lookup
no ip ips deny-action ips-interface
!
interface FastEthernet0/0
 ip address 10.10.10.1 255.255.255.0
 duplex full
 standby 1 ip 10.10.10.3
 standby 1 timers 2 3
 standby 1 priority 150
 standby 1 preempt
!
interface GigabitEthernet1/0
 ip address 172.17.95.200 255.255.255.0
 negotiation auto
!
router ospf 1
 log-adjacency-changes
 network 10.10.10.0 0.0.0.255 area 0
 network 172.17.95.0 0.0.0.255 area 0
!
hostname R2
!
ip subnet-zero
no ip icmp rate-limit unreachable
ip cef
ip tcp synwait-time 5
!
no ip dhcp use vrf connected
!
no ip domain lookup
no ip ips deny-action ips-interface
!
interface FastEthernet0/0
 ip address 10.10.10.2 255.255.255.0
 duplex full
 standby 1 ip 10.10.10.3
 standby 1 timers 2 3
 standby 1 preempt
!
interface GigabitEthernet1/0
 ip address 172.17.95.201 255.255.255.0
 negotiation auto
!
router ospf 1
 log-adjacency-changes
 network 10.10.10.0 0.0.0.255 area 0
 network 172.17.95.0 0.0.0.255 area 0
!

No comments:

Post a Comment