zoukankan      html  css  js  c++  java
  • VRRP 虚拟路由冗余协议

    1.1.1         配置

    1)按拓扑连接好,和配置接口相应IP

    2)在交换机207和208上配置VRRP

    208:

    xNet#con t

    xNet(config)#router vrrp 48 ge48

    xNet(config-router)#virtual-ip 192.168.4.208 master

    xNet(config-router)#advertisement-interval 3

    xNet(config-router)#enable

    207:

    xNet#con t

    xNet(config)#router vrrp 48 ge48

    xNet(config-router)#virtual-ip 192.168.4.208 backup

    xNet(config-router)#advertisement-interval 3

    xNet(config-router)#enable

    xNet(config-router)#end

    xNet#

    3)查看VRRP结果

    208:

    207:

    1.1.2         结果

    1)使用PC-12发ping包,网关为192.168.4.208,ping 192.168.3.99使报文通过网关

           a)两台交换机均工作正常时

           PC-12发出来的报文经过208号经,最终PC-92收到ping包

    b)当使208的ge48 shutdown,网关切换,PC-12发出来的报文,最终PC-91收到

           此时查看两台机器VRRP情况:

           207:

          

          

    208:

    2)当208号机的ge48 no shutdown后,VRRP Master又切换回来,208再次成为Master。

  • 相关阅读:
    如何对一台服务器进行免密操作
    MySQL 中的自增主键
    mysql 添加多版本数据库
    Group by 优化
    join 查询优化
    CCF2020-09-Python题解
    CCF2019-09-Python题解
    CCF2019-12-Python题解
    CCF202006-Python题解
    差分约束
  • 原文地址:https://www.cnblogs.com/niezhongle/p/11075390.html
Copyright © 2011-2022 走看看