OSPFv3

 OSPFv3  

先使用OSPF來建立IPV4Routing

Router-0(config)#router ospf 10

Router-0(config-router)#network 192.168.1.0 255.255.255.0 area 0

Router-0(config-router)#network 10.1.1.0 255.255.255.248 area 0

用一下二邊的pc來互相ping測試一下

OSPFv3的設定必須先開啟unicast-routing,然後直接進入介面設定OSPF+執行序號,並指定Area

Router-0(config)#ipv6 unicast-routing

Router-0(config)#int fastethernet 0/0

Router-0(config-if)#ipv6 ospf 20 area 0

Router-0(config-if)#int fastethernet 0/1

Router-0(config-if)#ipv6 ospf 20 area 0

啟動IPV6轉送

在介面上啟動OSPFv3,並加入Area

設定好之後一樣來測試ping一下ipv6

OSPF設定好之後,它的搜尋速度並沒有那麼快,要稍微等待一下

設定好之後,就可以來確認一下Routing Table

Router-0#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

       * - candidate default, U - per-user static route, o - ODR

       P - periodic downloaded static route

 

Gateway of last resort is not set

 

     10.0.0.0/29 is subnetted, 1 subnets

C       10.1.1.0 is directly connected, FastEthernet0/1

C    192.168.1.0/24 is directly connected, FastEthernet0/0

O    192.168.2.0/24 [110/2] via 10.1.1.2, 00:09:15, FastEthernet0/1

OSPFv3學習到的路徑一樣是由O作為標示

arrow
arrow
    全站熱搜

    林作倉 發表在 痞客邦 留言(0) 人氣()