RIPng Routing基礎設定

 RIPng基礎設定  

IPV4IPV6的設定是分開來的,所以我們就先設定IPV4

Router-0(config)#router rip

Router-0(config-router)#network 192.168.1.0

Router-0(config-router)#network 10.0.0.0

設定好之後,就來測試一下是否正常

PC>ping 192.168.2.2

                                   

Pinging 192.168.2.2 with 32 bytes of data:

 

Reply from 192.168.2.2: bytes=32 time=1ms TTL=126

Reply from 192.168.2.2: bytes=32 time=7ms TTL=126

Reply from 192.168.2.2: bytes=32 time=0ms TTL=126

Reply from 192.168.2.2: bytes=32 time=0ms TTL=126

 

Ping statistics for 192.168.2.2:

    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

    Minimum = 0ms, Maximum = 7ms, Average = 2ms

 

設定RIPng

Router-0(config)#ipv6 unicast-routing

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

Router-0(config-if)#ipv6 rip 100 enable

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

Router-0(config-if)#ipv6 rip 100 enable

必須在Router上開啟IPV6流量轉送功能,這樣IPV6路由資料才可以在router之間轉送,不管是使用何種ipv6 Router協定,都必須要開啟轉送功能。

設定RIPng的語法是ipv6 rip + 識別標籤 + enable,識別標籤只是提供識別用途。

RIPng中,已不像RIP是使用network命令來宣告網路。

 

檢查一下route

Router-0#show ipv6 route

IPv6 Routing Table - 6 entries

Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP

       U - Per-user Static route, M - MIPv6

       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary

       O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2

       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2

       D - EIGRP, EX - EIGRP external

C   2001:1:1:1::/64 [0/0]

     via ::, FastEthernet0/0

L   2001:1:1:1::1/128 [0/0]

     via ::, FastEthernet0/0

R   2001:2:2:2::/64 [120/2]

     via FE80::2E0:F7FF:FE45:BB02, FastEthernet0/1

C   2001:10:10:10::/64 [0/0]

     via ::, FastEthernet0/1

L   2001:10:10:10::1/128 [0/0]

     via ::, FastEthernet0/1

L   FF00::/8 [0/0]

     via ::, Null0

RIPng學習到的路徑,一樣是以R做為標示

創作者介紹
創作者 林作倉 的頭像
林作倉

林作倉

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