189 8069 5689

VRRP冗余RIP/OSPFSTP配置-创新互联

实验三:

成都创新互联成立于2013年,是专业互联网技术服务公司,拥有项目网站设计制作、成都网站制作网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元望城做网站,已为上家服务,为望城各地企业和个人服务,联系电话:18982081108

                                            VRRP冗余 RIP/OSPF  STP配置

      VRRP冗余 RIP/OSPF  STP配置


分析:查看sw1 和sw2 的stp可知 sw1和sw2 是根网桥 sw3和sw6的11端口


        为阻塞端口 ,因此可以知道pc机之间数据包的走向,也可以改变交换


        机的角色:stp priority{id}  (为4096的倍数,默认值32768)


思路与配置:


     1.配置SW3 创建vlan10 和vlan20


                 将1端口加入vlan10  11和13端口为trunk模式


                  VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

      2.配置SW4 创建vlan10 和vlan20

                 将1端口加入vlan20  11和14端口为trunk模式

                  VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

     3.配置SW5 创建vlan10 和vlan20

                 将1端口加入vlan10  11和13端口为trunk模式

                  VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

     4.配置SW6 创建vlan10 和vlan20

                 将1端口加入vlan20  11和14端口为trunk模式

                  VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

     5.配置SW1 创建vlan10和vlan20


                 12,13 ,14端口配置为trunk模式


                 1和3端口加入vlan10 2端口加入vlan20


                  VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

     6.配置SW2 创建vlan10和vlan20

                 12,13 ,14端口配置为trunk模式

                 1和3端口加入vlan20 2端口加入vlan10

                  VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

     7.配置R1 0端口ip:192.168.10.254 255.255.255.0

           配置虚拟网管 以及提高优先级 链路监听


                         vrrp vrid 1 virtual-ip 192.168.10.250


                        vrrp vrid 1 priority 150


                        vrrp vrid 1 track interface g0/0/2 reduce 80


                 1端口ip:192.168.20.254 255.255.255.0


            配置虚拟网管


                         vrrp vrid 2 virtual-ip 192.168.20.250

                   2端口ip:192.168.30.1 255.255.255.0

                  VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

        8.配置R2 0端口ip:192.168.20.253 255.255.255.0

           配置虚拟网管 以及提高优先级 链路监听

                         vrrp vrid 2 virtual-ip 192.168.20.250

                        vrrp vrid 2 priority 150

                        vrrp vrid 2 track interface g0/0/2 reduce 80

                 1端口ip:192.168.10.253 255.255.255.0

            配置虚拟网管

                         vrrp vrid 1 virtual-ip 192.168.10.250

                   2端口ip:192.168.30.2 255.255.255.0

                  VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

       9.配置R3 0端口ip:192.168.10.252 255.255.255.0

            配置虚拟网管 以及提高优先级

                         vrrp vrid 1 virtual-ip 192.168.10.250

                        vrrp vrid 1 priority 120

                 1端口ip:192.168.20.252 255.255.255.0

             配置虚拟网管 以及提高优先级

                         vrrp vrid 2 virtual-ip 192.168.20.250

                        vrrp vrid 2 priority 120

                   2端口ip:192.168.30.3 255.255.255.0

                  VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

       10.配置sw7 创建vlan30 将1,2,3,4端口加入vlan30

            VRRP冗余 RIP/OSPF  STP配置        VRRP冗余 RIP/OSPF  STP配置

       11.配置R4 ,配置1端口ip:192.168.30.254 255.255.255.0

                      配置0端口ip:192.168.40.254 255.255.255.0


                    配置rip


                       rip


                          version 2


                             network 192.168.30.0


                             network 192.168.40.0

                     VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

        12.配置R1

                配置rip

                       rip

                          version 2

                             network 192.168.10.0

                             network 192.168.20.0

                              network 192.168.30.0


               VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

        13.配置R2

                配置rip

                       rip

                          version 2

                             network 192.168.10.0

                             network 192.168.20.0

                              network 192.168.30.0

               VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

        14.配置R3

                配置rip

                       rip

                          version 2

                             network 192.168.10.0

                             network 192.168.20.0

                              network 192.168.30.0

                  VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

        15.配置pc1 ip:192.168.10.1 255.255.255.0


                          网管 192.168.10.254


                     VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

            配置pc2 ip:192.168.20.1 55.255.255.0

                          网管 192.168.20.254

                  VRRP冗余 RIP/OSPF  STP配置        VRRP冗余 RIP/OSPF  STP配置

            配置pc3 ip:192.168.10.2 255.255.255.0

                          网管 192.168.10.254

                     VRRP冗余 RIP/OSPF  STP配置    VRRP冗余 RIP/OSPF  STP配置

            配置pc4 ip:192.168.20.2 255.255.255.0

                          网管 192.168.20.254

                        VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

           配置server ip 192.168.40.1 255.255.255.0

                          网管 192.168.40.254


                  VRRP冗余 RIP/OSPF  STP配置        VRRP冗余 RIP/OSPF  STP配置

        16.此时全网互通


===========================================================================

步骤11-14也可用OSPF


        配置R1


              ospf route-id 1.1.1.1


                 area 0


                    network 192.168.10.0 0.0.0.255


                    network 192.168.20.0 0.0.0.255


                    network 192.168.30.0 0.0.0.255


                  VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

         配置R2

              ospf route-id 2.2.2.2

                 area 0

                    network 192.168.10.0 0.0.0.255

                    network 192.168.20.0 0.0.0.255

                    network 192.168.30.0 0.0.0.255

                        VRRP冗余 RIP/OSPF  STP配置

           配置R3

              ospf route-id 3.3.3.3

                 area 0

                    network 192.168.10.0 0.0.0.255

                    network 192.168.20.0 0.0.0.255

                    network 192.168.30.0 0.0.0.255

                  VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置

         配置R4

              ospf route-id 4.4.4.4

                 area 0

                    network 192.168.10.0 0.0.0.255

                    network 192.168.20.0 0.0.0.255

                    network 192.168.30.0 0.0.0.255

               VRRP冗余 RIP/OSPF  STP配置VRRP冗余 RIP/OSPF  STP配置


==========================================================================

此时外网也可以ping通内网,在现实环境中是不可能存在的,因此外网会运用隔离vlan技术

----------------------------------------------------------------------------------------------------------------------------

        重点:


2层


     链路捆绑


3层

     vlan间路


        路由器


        单臂路由


        SVI


     单点故障


        冗余链路/设备


           链路捆绑(链路备份/数据负载均衡)


              不捆绑(链路备份-浮动路由)


          网关冗余技术

              VRRP(group)

              HSRP

              GLBP

==========================================

确保终端设备(pc/server)互通

     一个网段


           交换


     不同网段


           路由


  故障:


     1.本身的交换故障


     2.单点故障


           冗余链路/设备


                 问题-2层环路问题


                       生成树协议


                 带宽不足的问题


                       链路捆绑


     3.本身路由故障


     4.单点故障


           冗余链路/设备


                 问题-3层环路问题


                       路由协议


                 选路问题


                       路由协议


                 带宽不足问题


                       链路捆绑



另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


当前题目:VRRP冗余RIP/OSPFSTP配置-创新互联
网址分享:http://cdxtjz.com/article/cdcjpg.html

其他资讯