1. <ul id="0c1fb"></ul>

      <noscript id="0c1fb"><video id="0c1fb"></video></noscript>
      <noscript id="0c1fb"><listing id="0c1fb"><thead id="0c1fb"></thead></listing></noscript>

      99热在线精品一区二区三区_国产伦精品一区二区三区女破破_亚洲一区二区三区无码_精品国产欧美日韩另类一区

      RELATEED CONSULTING
      相關(guān)咨詢
      選擇下列產(chǎn)品馬上在線溝通
      服務(wù)時(shí)間:8:30-17:00
      你可能遇到了下面的問(wèn)題
      關(guān)閉右側(cè)工具欄

      新聞中心

      這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷解決方案
      eNSP解決OSPF不規(guī)則區(qū)域幾個(gè)方法和vlink-peer-創(chuàng)新互聯(lián)

      因?yàn)閯倢W(xué)OSPF路由協(xié)議,下面只是個(gè)人實(shí)驗(yàn)結(jié)果,可能也有不準(zhǔn)確的地方,請(qǐng)批評(píng)指正,謝謝

      成都創(chuàng)新互聯(lián)是一家專注于網(wǎng)站建設(shè)、成都網(wǎng)站設(shè)計(jì)與策劃設(shè)計(jì),文成網(wǎng)站建設(shè)哪家好?成都創(chuàng)新互聯(lián)做網(wǎng)站,專注于網(wǎng)站建設(shè)十余年,網(wǎng)設(shè)計(jì)領(lǐng)域的專業(yè)建站公司;建站業(yè)務(wù)涵蓋:文成等地區(qū)。文成做網(wǎng)站價(jià)格咨詢:18982081108

      解決OSPF不規(guī)則區(qū)域

      1、多進(jìn)程雙向重分布

      2、Tunnel隧道

      3、virtual-link

      1、多進(jìn)程雙向重分布:

      拓?fù)洌?/p>

      eNSP解決OSPF不規(guī)則區(qū)域幾個(gè)方法和vlink-peer

      在R3上有兩個(gè)OSPF進(jìn)程,當(dāng)R3雙向多進(jìn)程重分布時(shí),可以看到兩邊的路由都能學(xué)到

      關(guān)鍵配置:

      [R1]dis cur

      #

      sysname R1

      #

      router id 91.1.1.1

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 12.1.1.1 255.255.255.0

      #

      interface LoopBack0

       ip address 1.1.1.1 255.255.255.0

      #

      ospf 10

       area 0.0.0.0

       network 1.1.1.1 0.0.0.0

       network 12.1.1.1 0.0.0.0

      #

      [R2]dis cur

      #

      sysname R2

      #

      router id 92.2.2.2

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 12.1.1.2 255.255.255.0

      #

      interface Serial0/0/1

       link-protocol ppp

       ip address 23.1.1.2 255.255.255.0

      #

      interface LoopBack0

       ip address 2.2.2.2 255.255.255.0

      #

      ospf 10

       area 0.0.0.0

       network 2.2.2.2 0.0.0.0

       network 12.1.1.2 0.0.0.0

       area 0.0.0.1

       network 23.1.1.2 0.0.0.0

      #

      [R3]dis cur

      #

      sysname R3

      #

      router id 93.3.3.3

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 34.1.1.3 255.255.255.0

      #

      interface Serial0/0/1

       link-protocol ppp

       ip address 23.1.1.3 255.255.255.0

      #

      interface LoopBack0

       ip address 3.3.3.3 255.255.255.0

      #

      ospf 10

       import-route ospf 100

       area 0.0.0.1

       network 3.3.3.3 0.0.0.0

       network 23.1.1.3 0.0.0.0

      #

      ospf 100

       import-route ospf 10

       area 0.0.0.0

       network 34.1.1.3 0.0.0.0

      #

      [R4]dis cur

      #

      sysname R4

      #

      router id 94.4.4.4

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 34.1.1.4 255.255.255.0

      #

      interface LoopBack0

       ip address 4.4.4.4 255.255.255.0

      #

      ospf 100

       area 0.0.0.0

       network 4.4.4.4 0.0.0.0

       network 34.1.1.4 0.0.0.0

      #

      這樣兩邊ospf能學(xué)到對(duì)方路由,但學(xué)到是LSA5類外部路由,額外提供LSA4類:

      [R4]dis ip rou p os

      Route Flags: R - relay, D - downloadto fib

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

      Public routing table : OSPF

              Destinations : 5       Routes : 5

      OSPF routing table status :

              Destinations : 5       Routes : 5

      Destination/Mask   Proto  Pre Cost     Flags NextHop        Interface

             1.1.1.1/32 O_ASE  150 1          D  34.1.1.3       Serial0/0/0

             2.2.2.2/32 O_ASE  150 1          D  34.1.1.3       Serial0/0/0

             3.3.3.0/24 O_ASE  150 1          D  34.1.1.3       Serial0/0/0

            12.1.1.0/24 O_ASE  150 1          D  34.1.1.3       Serial0/0/0

            23.1.1.0/24 O_ASE  150 1          D  34.1.1.3       Serial0/0/0

      2、Tunnel隧道

      拓?fù)洌?/p>

      eNSP解決OSPF不規(guī)則區(qū)域幾個(gè)方法和vlink-peer

      tunnel做在R2、R3上,把tunnel宣告到Area0上,讓Area2看上去好像掛在骨干區(qū)上

      關(guān)鍵配置:

      [R2]dis cur

      #

      sysname R2

      #

      router id 92.2.2.2

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 12.1.1.2 255.255.255.0

      #

      interface Serial0/0/1

       link-protocol ppp

       ip address 23.1.1.2 255.255.255.0

      #

      interface LoopBack0

       ip address 2.2.2.2 255.255.255.0

      #

      interface Tunnel0/0/0

       ip address 100.1.1.2 255.255.255.0

       tunnel-protocol gre

       source 23.1.1.2

       destination 23.1.1.3

      #

      ospf 10

       area 0.0.0.0

       network 2.2.2.2 0.0.0.0

       network 12.1.1.2 0.0.0.0

       network 100.1.1.2 0.0.0.0

       area 0.0.0.1

       network 23.1.1.2 0.0.0.0

      #

      [R3]dis cur

      #

      sysname R3

      #

      router id 93.3.3.3

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 34.1.1.3 255.255.255.0

      #

      interface LoopBack0

       ip address 3.3.3.3 255.255.255.0

      #

      interface Tunnel0/0/0

       ip address 100.1.1.3 255.255.255.0

       tunnel-protocol gre

       source 23.1.1.3

       destination 23.1.1.2

      #

      ospf 10

       import-route ospf 100 cost 2 type 1 tag 100

       area 0.0.0.0

       network 100.1.1.3 0.0.0.0

       area 0.0.0.1

       network 3.3.3.3 0.0.0.0

       network 23.1.1.3 0.0.0.0

       area 0.0.0.2

       network 34.1.1.3 0.0.0.0

      #

      這有個(gè)很奇怪的問(wèn)題,在R1上:

      [R1]dis ospf abr-asbr

              OSPF Process 10 with Router ID91.1.1.1

                      Routing Table to ABR and ASBR

       RtType     Destination      Area      Cost Nexthop        Type

       Intra-area 92.2.2.2         0.0.0.0   1562 12.1.1.2       ABR

       Intra-area 93.3.3.3         0.0.0.0   3124 12.1.1.2       ABR/ASBR

      [R1]dis ospf asbr

              OSPF Process 10 with Router ID91.1.1.1

      [R1]dis ospf lsdb

              OSPF Process 10 with Router ID91.1.1.1

                      Link State Database

                              Area: 0.0.0.0

       Type     LinkState ID   AdvRouter         Age Len  Sequence  Metric

       Router   92.2.2.2       92.2.2.2         1562 84   80000003   1562

       Router   91.1.1.1       91.1.1.1         1563 60   80000002      0

       Router   93.3.3.3       93.3.3.3         1563 48   80000002   1562

       Sum-Net  23.1.1.0       92.2.2.2         1573 28   80000001   1562

       Sum-Net  23.1.1.0       93.3.3.3         1572 28   80000001   1562

       Sum-Net  3.3.3.3        92.2.2.2         1563 28   80000001   1562

       Sum-Net  3.3.3.3        93.3.3.3         1572 28   80000001      0

       Sum-Net  4.4.4.4        93.3.3.3         1563 28   80000001   1562

       Sum-Net  34.1.1.0       93.3.3.3         1572 28   80000001   1562

       Sum-Asbr 93.3.3.3       92.2.2.2         1563 28   80000001   1562

      R2居然通告R3是ASBR,并且產(chǎn)生一條LSA4

      [R1]dis ospf lsdb asbr

              OSPF Process 10 with Router ID91.1.1.1

                              Area: 0.0.0.0

                      Link State Database

       Type     : Sum-Asbr

       Ls id    : 93.3.3.3

       Adv rtr  : 92.2.2.2

       Ls age   : 1648

       Len      : 28

       Options  : E

       seq#     : 80000001

       chksum   : 0xe65

       Tos 0 metric: 1562

      重啟OSPF進(jìn)程也一樣。也就是說(shuō),在華為路由器上,沒(méi)有LSA5也可以產(chǎn)生LSA4,后來(lái)練習(xí)完下面的vlink-peer再返回來(lái)做這個(gè)練習(xí),發(fā)現(xiàn)又正常了,R1上沒(méi)有LSA4,只有LSA3的路由,這個(gè)可能是緩存當(dāng)時(shí)沒(méi)有得到徹底的清除所導(dǎo)致

      利用tunnel的方法,可以看到R1上收到的Area2的路由是以LSA3類形式存在的,比用第一種雙向多進(jìn)程重分布要好點(diǎn)

      3、virtual-link專業(yè)工具

      拓?fù)洌?/p>

      eNSP解決OSPF不規(guī)則區(qū)域幾個(gè)方法和vlink-peer

      vlink的方法在實(shí)際鏈路上仍然要傳遞hello報(bào)文,只不過(guò)由于組播不能超過(guò)一跳,單播報(bào)文

      在R2、R3上配置vlink,關(guān)鍵配置:

      [R2]dis cur config ospf

      #

      ospf 10

       area 0.0.0.0

       network 2.2.2.2 0.0.0.0

       network 12.1.1.2 0.0.0.0

       area 0.0.0.1

       network 23.1.1.2 0.0.0.0

       vlink-peer 93.3.3.3

      #

      [R3]dis cur config ospf

      #

      ospf 10

       area 0.0.0.1

       network 3.3.3.3 0.0.0.0

       network 23.1.1.3 0.0.0.0

       vlink-peer 92.2.2.2

       area 0.0.0.2

       network 34.1.1.3 0.0.0.0

      #

      看到

      [R1]dis ospf lsdb summary 4.4.4.4

              OSPF Process 10 with Router ID91.1.1.1

                              Area: 0.0.0.0

                      Link State Database

       Type     : Sum-Net

       Ls id    : 4.4.4.4

       Adv rtr  : 93.3.3.3

       Ls age   : 510

       Len      : 28

       Options  : E

       seq#     : 80000003

       chksum   : 0x6262

       Net mask : 255.255.255.255

       Tos 0 metric: 1562

       Priority : Medium

      [R1]dis ip rou

      Route Flags: R - relay, D - downloadto fib

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

      Routing Tables: Public

              Destinations : 12      Routes : 12

      Destination/Mask   Proto  Pre Cost     Flags NextHop        Interface

             1.1.1.0/24 Direct 0   0          D  1.1.1.1        LoopBack0

             1.1.1.1/32 Direct 0   0          D  127.0.0.1      LoopBack0

             2.2.2.2/32 OSPF   10  1562       D  12.1.1.2       Serial0/0/0

             3.3.3.3/32 OSPF   10  3124       D  12.1.1.2       Serial0/0/0

             4.4.4.4/32 OSPF   10  4686       D  12.1.1.2       Serial0/0/0

            12.1.1.0/24 Direct 0   0          D  12.1.1.1       Serial0/0/0

            12.1.1.1/32 Direct 0   0          D  127.0.0.1      Serial0/0/0

            12.1.1.2/32 Direct 0   0          D  12.1.1.2       Serial0/0/0

            23.1.1.0/24 OSPF   10  3124       D  12.1.1.2       Serial0/0/0

            34.1.1.0/24 OSPF   10  4686       D  12.1.1.2       Serial0/0/0

           127.0.0.0/8  Direct 0   0          D  127.0.0.1      InLoopBack0

           127.0.0.1/32 Direct 0   0          D  127.0.0.1      InLoopBack0

      比較tunnel和vlink-peer,發(fā)現(xiàn)兩者都得到LSA3類路由,而且兩者都是p2p鏈路

      vlink仍然是p2p類型:

      [R2]dis ospf vlink

              OSPF Process 10 with Router ID92.2.2.2

                      Virtual Links

       Virtual-link Neighbor-id -> 93.3.3.3, Neighbor-State: Full

       Interface: 23.1.1.2 (Serial0/0/1)

       Cost: 1562 State: P-2-P Type: Virtual

       Transit Area: 0.0.0.1

       Timers: Hello 10 , Dead 40 , Retransmit 5 ,Transmit Delay 1

      tunnel也是p2p類型:

      [R3]dis ospf int all

              OSPF Process 10 with Router ID93.3.3.3

                      Interfaces

       Area: 0.0.0.0         (MPLS TE not enabled)

       Interface: 100.1.1.3 (Tunnel0/0/0)--> 100.1.1.2

       Cost: 1562   State: P-2-P    Type: P2P      MTU: 1500

       Timers: Hello 10 , Dead 40 , Poll 120 , Retransmit 5 , Transmit Delay 1

      這兩者其實(shí)很像

      和vlink一起的考試經(jīng)常是說(shuō)要在Area0上做區(qū)域認(rèn)證,那么請(qǐng)把vlink認(rèn)證補(bǔ)全,這種問(wèn)題其實(shí)在華為路由器上特別簡(jiǎn)單,只要在vlink-peer后面接著做相同的認(rèn)證就可以了

      補(bǔ)全不規(guī)則區(qū)域:

      vlink-peer之貪吃蛇一

      拓?fù)洌?/p>

      eNSP解決OSPF不規(guī)則區(qū)域幾個(gè)方法和vlink-peer

      關(guān)鍵配置:

      重點(diǎn)在Area1和Area2上配置vlink即可

      [R1]dis cur

      #

      sysname R1

      #

      router id 91.1.1.1

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 12.1.1.1 255.255.255.0

      #

      interface LoopBack0

       ip address 1.1.1.1 255.255.255.0

      #

      ospf 10

       area 0.0.0.0

       network 1.1.1.1 0.0.0.0

       network 12.1.1.1 0.0.0.0

      #

      [R2]dis cur

      #

      sysname R2

      #

      router id 92.2.2.2

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 12.1.1.2 255.255.255.0

      #

      interface Serial0/0/1

       link-protocol ppp

       ip address 23.1.1.2 255.255.255.0

      #

      interface LoopBack0

       ip address 2.2.2.2 255.255.255.0

      #

      ospf 10

       area 0.0.0.0

       network 2.2.2.2 0.0.0.0

       network 12.1.1.2 0.0.0.0

       area 0.0.0.1

       network 23.1.1.2 0.0.0.0

       vlink-peer 93.3.3.3

      #

      [R3]dis cur

      #

      sysname R3

      #

      router id 93.3.3.3

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 34.1.1.3 255.255.255.0

      #

      interface Serial0/0/1

       link-protocol ppp

       ip address 23.1.1.3 255.255.255.0

      #

      interface LoopBack0

       ip address 3.3.3.3 255.255.255.0

      #

      ospf 10

       area 0.0.0.1

       network 3.3.3.3 0.0.0.0

       network 23.1.1.3 0.0.0.0

       vlink-peer 92.2.2.2

       area 0.0.0.2

       network 34.1.1.3 0.0.0.0

       vlink-peer 94.4.4.4

      #

      [R4]dis cur

      #

      sysname R4

      #

      router id 94.4.4.4

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 34.1.1.4 255.255.255.0

      #

      interface Serial0/0/1

       link-protocol ppp

       ip address 45.1.1.4 255.255.255.0

      #

      interface LoopBack0

       ip address 4.4.4.4 255.255.255.0

      #

      ospf 10

       area 0.0.0.2

       network 4.4.4.4 0.0.0.0

       network 34.1.1.4 0.0.0.0

       vlink-peer 93.3.3.3

       area 0.0.0.3

       network 45.1.1.4 0.0.0.0

      #

      [R5]dis cur

      #

      sysname R5

      #

      router id 95.5.5.5

      #

      interface Serial0/0/1

       link-protocol ppp

       ip address 45.1.1.5 255.255.255.0

      #

      interface LoopBack0

       ip address 5.5.5.5 255.255.255.0

      #

      ospf 10

       area 0.0.0.3

       network 5.5.5.5 0.0.0.0

       network 45.1.1.5 0.0.0.0

      #

      vlink-peer貪吃蛇二

      拓?fù)洌?/p>

      eNSP解決OSPF不規(guī)則區(qū)域幾個(gè)方法和vlink-peer

      在Area 1、Area 2、Area 3上做vlink,關(guān)鍵配置:

      [R1]dis cur

      #

      sysname R1

      #

      router id 91.1.1.1

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 12.1.1.1 255.255.255.0

      #

      interface Serial0/0/1

       link-protocol ppp

       ip address 13.1.1.1 255.255.255.0

      #

      interface LoopBack0

       ip address 1.1.1.1 255.255.255.0

      #

      ospf 10

       area 0.0.0.0

       network 1.1.1.1 0.0.0.0

       network 13.1.1.1 0.0.0.0

       area 0.0.0.1

       network 12.1.1.1 0.0.0.0

       vlink-peer 92.2.2.2

      #

      [R2]dis cur

      #

      sysname R2

      #

      router id 92.2.2.2

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 12.1.1.2 255.255.255.0

      #

      interface Serial0/0/1

       link-protocol ppp

       ip address 24.1.1.2 255.255.255.0

      #

      interface LoopBack0

       ip address 2.2.2.2 255.255.255.0

      #

      ospf 10

       area 0.0.0.1

       network 2.2.2.2 0.0.0.0

       network 12.1.1.2 0.0.0.0

       vlink-peer 91.1.1.1

       area 0.0.0.3

       network 24.1.1.2 0.0.0.0

       vlink-peer 94.4.4.4

      #

      [R3]dis cur

      #

      sysname R3

      #

      router id 93.3.3.3

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 34.1.1.3 255.255.255.0

      #

      interface Serial0/0/1

       link-protocol ppp

       ip address 13.1.1.3 255.255.255.0

      #

      interface LoopBack0

       ip address 3.3.3.3 255.255.255.0

      #

      ospf 10

       area 0.0.0.0

       network 13.1.1.3 0.0.0.0

       area 0.0.0.2

       network 34.1.1.3 0.0.0.0

       network 3.3.3.3 0.0.0.0

       vlink-peer 94.4.4.4

      #

      [R4]dis cur

      #

      sysname R4

      #

      router id 94.4.4.4

      #

      interface Serial0/0/0

       link-protocol ppp

       ip address 34.1.1.4 255.255.255.0

      #

      interface Serial0/0/1

       link-protocol ppp

       ip address 24.1.1.4 255.255.255.0

      #

      interface LoopBack0

       ip address 4.4.4.4 255.255.255.0

      #

      ospf 10

       area 0.0.0.2

       network 34.1.1.4 0.0.0.0

       vlink-peer 93.3.3.3

       area 0.0.0.3

       network 4.4.4.4 0.0.0.0

       network 24.1.1.4 0.0.0.0

       vlink-peer 92.2.2.2

      #

      這里涉及到LSA3選路問(wèn)題:

      [R4]dis ip routing-table

      Route Flags: R - relay, D - downloadto fib

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

      Routing Tables: Public

              Destinations : 15      Routes : 15

      Destination/Mask   Proto  Pre Cost     Flags NextHop        Interface

             1.1.1.1/32 OSPF   10  3124       D  24.1.1.2       Serial0/0/1

             2.2.2.2/32 OSPF   10  1562       D  24.1.1.2       Serial0/0/1

             3.3.3.3/32 OSPF   10  1562       D  34.1.1.3       Serial0/0/0

             4.4.4.0/24 Direct 0   0          D  4.4.4.4        LoopBack0

       以下略。

      應(yīng)該說(shuō)R4關(guān)于1.1.1.1/32的路由從R2、R3收到,有兩條做負(fù)載均衡才對(duì),但這只有一條。

      真實(shí)的情況如下:

      [R4]dis ospf lsdb

              OSPF Process 10 with Router ID 94.4.4.4

                      Link State Database

                              Area: 0.0.0.0

                              Area: 0.0.0.2

       Type     LinkState ID   AdvRouter         Age Len  Sequence  Metric

      Sum-Net  1.1.1.1        94.4.4.4          940 28   80000002   3124

       Sum-Net  1.1.1.1        93.3.3.3         1275 28   80000001   1562

                              Area: 0.0.0.3

       Type     LinkState ID   AdvRouter         Age Len  Sequence  Metric

      Sum-Net  1.1.1.1        92.2.2.2          960 28   80000002   1562

      可以看到,R4收到Area 2的兩條,Area 3的一條關(guān)于1.1.1.1/32主機(jī)路由,由于Area 2中同一條LSA比較metric,最后兩條是Area 2和Area 3的路由,它們的metric一樣,只不過(guò)所在Area區(qū)域不同,由于OSPF規(guī)定這樣的等價(jià)路由比較Area區(qū)域號(hào),哪個(gè)大用哪個(gè),所以ospf把92.2.2.2的1.1.1.1路由放入路由表中(區(qū)域零例外,因?yàn)閰^(qū)域零最小)

      另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。


      網(wǎng)站欄目:eNSP解決OSPF不規(guī)則區(qū)域幾個(gè)方法和vlink-peer-創(chuàng)新互聯(lián)
      當(dāng)前鏈接:http://www.ef60e0e.cn/article/jjgip.html
      99热在线精品一区二区三区_国产伦精品一区二区三区女破破_亚洲一区二区三区无码_精品国产欧美日韩另类一区
      1. <ul id="0c1fb"></ul>

        <noscript id="0c1fb"><video id="0c1fb"></video></noscript>
        <noscript id="0c1fb"><listing id="0c1fb"><thead id="0c1fb"></thead></listing></noscript>

        龙井市| 科尔| 江孜县| 敦煌市| 苍梧县| 临湘市| 开远市| 德令哈市| 肇源县| 衢州市| 常宁市| 英吉沙县| 安国市| 清苑县| 酒泉市| 托克逊县| 宽城| 阿巴嘎旗| 夏河县| 铁岭县| 乌鲁木齐县| 贵南县| 柏乡县| 无棣县| 镇康县| 车致| 余庆县| 巴南区| 常宁市| 桐梓县| 紫金县| 大足县| 霍林郭勒市| 循化| 湟中县| 开化县| 青岛市| 璧山县| 云和县| 个旧市| 武穴市|