HSRP configration on GNS3

Source: Internet
Author: User

 

Internet:

Simulate the internet. Here we use a loopback port for testing.

Set the IP address f0/0 & f0/1

 

Set the IP address of a loopback port for testing

 

Initiate a RIP route and declare all network segments

 

After all the router RIP protocols are enabled, check whether all the network segment information has been learned.

R3725A:

 

Set the IP address f0/0 & f0/1

 

Initiate a RIP route and declare all network segments

 

Configure the priority of the virtual IP address and HSRP on the F0/1 interface. The router with the highest priority will become an active router.

 

The priority is lower than R3725B, so the current status is standby.

 

R3725B:

Set the IP address F0/0 & F0/1

 

Initiate a RIP route and declare all network segments

Configure the priority of the virtual IP address and HSRP on the F0/1 interface. The router with the highest priority will become an active router. (Here we set the R3725B priority to 120, which is higher than R3725A's priority 110, so here R3725B will become an active router.) configure the authorization of HSRP (configuration preauthorization purpose: after the down active router is restarted, it will not automatically take back the role of the original active router. By default, it will become a backup router, and the previous backup router will become an active router, therefore, you need to configure preauthorization so that the vro can be restored to the active vro after the fault is fixed. Here we enable preauthorization on R3725B, when R3725B is restored, it will seize R3725A to become an active vro again. Note that you only need to determine whether to enable preemptive authorization on the top of the priority)

 

 

The current status is active because the priority is higher than R3725A

 

Let's close the port.

 

Let's look at the response from R3725A. The status changes from standby to active.

 

Enable the port again to see if it is occupied and becomes an active route.

 

VPC:

Finally, ping test is performed on the simulated PC. We simulate the loopback 0 port set on the internet to prove that the test was successful.

 

 

This article is from the blog "Welcome to Allan Fan ".

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.