Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Simple Application of hsrp

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Lab Topology:

Experimental requirements: interworking between pc0.pc1 and pc2, single point link failure does not affect communication

Experimental steps and ideas:

Using Cisco's proprietary protocol hsrp to implement

Configure PC ip address, plan each network segment ip, configure gateway and hsrp on route

Configuration on routing:

Router1:

Router (config-if) # ip add 192.168.10.254 255.255.255.0

Router (config-if) # standby 1 ip 192.168.10.250 (virtual ip address)

Router (config-if) # standby 1 preempt (turn on the main router first, choose the main router)

This prompt appears:

Active for primary router and standby for backup router

Router (config) # rou rip

Router (config-router) # version 2

Router (config-router) # no auto-summary

Router (config-router) # network 192.168.10.0

Router (config-router) # network 192.168.20.0

Router2:

Router (config-if) # ip add 192.168.10.253 255.255.255.0

Router (config-if) # standby 1 ip 192.168.10.250

Router (config-if) # standby 1 preempt

Router (config-if) # router rip

Router (config-router) # version 2

Router (config-router) # no auto

Router (config-router) # net 192.168.10.0

Router (config-router) # net 192.168.30.0

Validate, test, save

Router1: Router#show standby brief

Router2: Router#show standby brief

You can see that router1 is the main router

Ping pc 2: ping 192.168.40.1

Disconnect the port gi0/0 of router1 and then go to ping

After disconnecting the port, it can still communicate with each other, indicating that the backup is successful.

Experimental questions and summary:

* * 1. With the increasing scale of the network in the enterprise, link backup is necessary to prevent single point link failure. At the same time, it is necessary to prevent the priority of the route in the loop topology from being different and can be set to the same. In this way, the backup is also achieved load balancing, which is conducive to improving equipment utilization. * *

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report