CCNP學習筆記7-路由部分--OSPF綜合題2

wKioL1ZqrkujOgEPAACGyTYrjpU740.png




一,地址描述

1,R1--R5 都要一個loopback0=10.10.x.x

2, R1--R3 e0地址=1.1.123.x

3, R2--R4 的廣域網接口爲 1.1.234.x/24

4,R4-R5  的廣域網接口=1.1.45.x/24

二,橋接

    配置R1-R3以太網地址

    配置R2-R4之間物理IP

    R2-R4之間的frame-relay 是全互聯1        

        R2:         

            int s2/2            

                frame-relay map ip 1.1.234.4 204

                frame-relay map ip 1.1.234.3 203

          R3:

            int s2/2

                fram map ip 1.1.123.2 302

                fram map ip 1.1.123.4 304

           R4:

             int s2/2

                fame map ip 1.1.123.2 402

                fame map ip 1.1.123.3 403

    配置R4-R5之間爲PPP,並配置相應IP

    配置R1-R5的loopback0

    測試連通性


三,RIP 配置

        加快rip收斂速度

        router rip

            times basic 5 10 10 10

    -R1 R3 以太網接口運行rip v2

    -R1 R3 只是相互發送路由更新,且所有的更新都是明細路由

            注意:單播更新路由,支持子網

      R1:router rip

            no auto

            net 1.0.0.0

            neighbor 1.1.123.3

      R3:router rip

            no auto

            net 1.0.0.0

            nei 1.1.123.1

    -需要用最安全的方式進行驗證,通過驗證方式,使R3可以接受R1的路由,而 R1不接受R3的路由

        R1:

            key chani test

                key 1

                key-string cisco

            int f0/0

                ip rip auten  mode md5

                ip rip authen key-chain test

            sho ip ro

        R3:

            ken chani test

                key 2

                key-string cisco 

            sho ip ro

        rip MD5驗證原理:key-ID 從上至下一次匹配,如果對方發來的key 文件和自己沒有匹配的,          就key-ID+1,直到匹配到相同的密碼,若對方發來的一個key-ID比自己的第一個key-ID大,就直         接找和對方key-ID相同的,如果有就匹配,沒有就失敗

      解決方案2

            passive 一端update明細路由;邊不update路由,只接收

      解決方案3

             R1:

                router rip 

                    ip rip receive version 1


四,ospf基本配置

    - R1-R2之間要盡肯能的縮短ospf的收斂時間,不能進行選舉

        sho ip ospf neigh 查看

    - R4-R5之間的網段需要進行選舉,且所有的ospf包的交互都是單播 

        int s2/1

            ip ospf network non-broadcast

        router os  1

            neighbor 1.1.45.5 

    - R2-R4之間的234網段不能使用默認的網絡類型,不能使用廣播網絡類型,要使用相同的網絡類         型,且可以通過組播相互交互協議包

        R2:

            int s2/2

                ip os net po-to-mul

        R3:

            int s2/2

                ip os net po-to-mul

        r4:

            int s2/2

                ip os net po-to-mul

    - R1-R5的loopback0 可以放在任何area,但宣告R4的接口進入ospf要求用最小的命令

            R4:

                router os 1

                    net 1.1.45.4 0.0.0.0 a 0

                    net 0.0.0.0 255.255.255.255 a 1

    - 









發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章