Introduction
簡介
In this discovery lab, you will explore the configuration of IPv6 in a small network that contains three routers and three end hosts. Study the topology diagram and Device Information Table to understand the network connectivity and addressing. All systems currently are configured with IPv4 addresses and Routing Information Protocol (RIP) routing. During migration, IPv4 and IPv6 are commonly implemented in parallel with dual stacks on IPv6-capable systems. You will leave the IPv4 configuration in place during this exercise. Initially, IPv6 is also fully configured on R2 and PC2. This discovery lab will guide you through configuring IPv6 on the rest of the network devices.
在這個探索實驗中,您將探索在包含三台路由器與三台終端主機的小型網路中設定 IPv6 的方式。請研讀拓樸圖與裝置資訊表,以了解網路連線與定址方式。所有系統目前都已設定 IPv4 位址並使用路由資訊協定(RIP)進行路由。在遷移期間,通常會在支援 IPv6 的系統上以雙堆疊方式同時實作 IPv4 與 IPv6。在本練習中,您將保留現有的 IPv4 設定不變。一開始,R2 與 PC2 已經完整設定好 IPv6。本探索實驗將引導您在其餘網路裝置上設定 IPv6。
First, you will configure static IPv6 addresses on R1 and R3. Note that, for simplicity, all static IPv6 addresses in the topology differ in only four hexadecimal fields (an IPv6 address has 32 hexadecimal fields, including leading zeros and successive fields of zeros). The first 14 hexadecimal fields are the same and are 2001:0db8:0000:00. The following two fields complete the 64-bit prefix and represent the network (01, 02, 03, 04, 05, or 06) within the topology. The next 14 hexadecimal fields are all 00. The last two fields specify the host on the network; in this example, the byte is either 01 or 02.
首先,您將在 R1 與 R3 上設定靜態 IPv6 位址。請注意,為求簡化,拓樸中所有靜態 IPv6 位址僅在四個十六進位欄位上有所不同(一個 IPv6 位址共有 32 個十六進位欄位,包括前導零與連續的零欄位)。前 14 個十六進位欄位相同,皆為 2001:0db8:0000:00。接下來兩個欄位補足 64 位元前綴,代表拓樸中的網路編號(01、02、03、04、05 或 06)。再接下來的 14 個十六進位欄位皆為 00。最後兩個欄位指定該網路上的主機,本例中該位元組為 01 或 02。
After configuring the IPv6 addresses on R1 and R3, you will configure PC1 and SRV1 for IPv6 stateless autoconfiguration. Then, you will verify the connectivity between PC1 and R1 and between SRV1 and R3.
在 R1 與 R3 上設定完 IPv6 位址後,您將設定 PC1 與 SRV1 使用 IPv6 無狀態自動設定,接著驗證 PC1 與 R1 之間,以及 SRV1 與 R3 之間的連線。
Topology
拓樸
Job Aid
工作輔助資料
Device Information
裝置資訊
Device Information Table
裝置資訊表
Device 裝置 | Characteristic 特性 | Value 數值 |
PC1 PC1 | IPv6 address IPv6 位址 | 2001:db8:0:1::/64 Auto 2001:db8:0:1::/64 自動 |
PC2 PC2 | IPv6 address IPv6 位址 | 2001:db8:0:2::/64 Auto 2001:db8:0:2::/64 自動 |
SRV1 SRV1 | IPv6 address IPv6 位址 | 2001:db8:0:3::/64 Auto 2001:db8:0:3::/64 自動 |
R1 R1 | Ethernet0/0 IPv6 address Ethernet0/0 IPv6 位址 | 2001:db8:0:1::1/64 2001:db8:0:1::1/64 |
R1 R1 | Serial1/1 IPv6 address Serial1/1 IPv6 位址 | 2001:db8:0:4::1/64 2001:db8:0:4::1/64 |
R1 R1 | Serial1/2 IPv6 address Serial1/2 IPv6 位址 | 2001:db8:0:5::1/64 2001:db8:0:5::1/64 |
R2 R2 | Ethernet0/0 IPv6 address Ethernet0/0 IPv6 位址 | 2001:db8:0:2::1/64 2001:db8:0:2::1/64 |
R2 R2 | Serial1/2 IPv6 address Serial1/2 IPv6 位址 | 2001:db8:0:5::2/64 2001:db8:0:5::2/64 |
R2 R2 | Serial1/3 IPv6 address Serial1/3 IPv6 位址 | 2001:db8:0:6::1/64 2001:db8:0:6::1/64 |
R3 R3 | Ethernet0/0 IPv6 address Ethernet0/0 IPv6 位址 | 2001:db8:0:3::2/64 2001:db8:0:3::2/64 |
R3 R3 | Serial1/1 IPv6 address Serial1/1 IPv6 位址 | 2001:db8:0:4::2/64 2001:db8:0:4::2/64 |
R3 R3 | Serial1/3 IPv6 address Serial1/3 IPv6 位址 | 2001:db8:0:6::2/64 2001:db8:0:6::2/64 |
Task 1: Configure IPv6 Addresses
任務 1:設定 IPv6 位址
Activity
活動
On R1, enable IPv6 routing.
在 R1 上啟用 IPv6 路由。
By default, routing for IPv6 is not enabled on a Cisco router. To enable IPv6 routing, use the ipv6 unicast-routing command in global configuration mode. If IPv6 routing is not enabled, the router still plays the role of IPv6 host once it has an IPv6 address.
在 Cisco 路由器上,IPv6 路由預設並未啟用。若要啟用 IPv6 路由,請在全域設定模式下使用 ipv6 unicast-routing 命令。若未啟用 IPv6 路由,路由器一旦有了 IPv6 位址,仍會扮演 IPv6 主機的角色。
On R1, enter the following commands:
在 R1 上,輸入下列命令:
R1# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)# ipv6 unicast-routingYou can use abbreviated commands during configuration. For example, you can use conf t for configure terminal. If there is any confusion, you can attempt tab completion to expand the full command syntax. For example, conf t would expand to configure terminal.
設定時可以使用縮寫命令。例如,您可以用 conf t 代替 configure terminal。若有任何疑問,可以嘗試按 Tab 鍵補齊完整的命令語法。例如,conf t 會展開為 configure terminal。
On R1, configure the IPv6 address 2001:db8:0:5::1/64 on the Serial1/2 interface.
在 R1 上,於 Serial1/2 介面設定 IPv6 位址 2001:db8:0:5::1/64。
On R1, enter the following commands:
在 R1 上,輸入下列命令:
R1(config)# interface Serial1/2
R1(config-if)# ipv6 address 2001:db8:0:5::1/64R2 is fully IPv6-configured, and Serial1/2 is the link to R1. If you have correctly configured the address of R1, you should be able to ping the R2 IPv6 address (2001:db8:0:5::2). Enter the do command to execute an EXEC mode ping to verify the connectivity from R1 to R2.
R2 已完整設定 IPv6,且 Serial1/2 是連接到 R1 的鏈路。若您已正確設定 R1 的位址,應該能夠 ping 通 R2 的 IPv6 位址(2001:db8:0:5::2)。輸入 do 命令以執行 EXEC 模式下的 ping,驗證 R1 到 R2 的連線。
On R1, enter the following command:
在 R1 上,輸入下列命令:
R1(config-if)# do ping 2001:db8:0:5::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:5::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 6/8/9 msConfigure the R1 IPv6 addresses on Ethernet0/0 (2001:db8:0:1::1/64) and Serial1/1 (2001:db8:0:4::1/64). Remember to take advantage of the Cisco IOS command recall. The IPv6 addresses in the topology are very similar. Currently, there are no configured IPv6 peers on Ethernet0/0 or Serial1/1, so you cannot use the ping command for verification. Leave the configuration mode when the addressing is complete.
在 Ethernet0/0(2001:db8:0:1::1/64)與 Serial1/1(2001:db8:0:4::1/64)上設定 R1 的 IPv6 位址。記得善用 Cisco IOS 命令回溯功能,因為拓樸中的 IPv6 位址非常相似。目前 Ethernet0/0 或 Serial1/1 上並沒有已設定 IPv6 的對端裝置,因此無法使用 ping 命令進行驗證。完成定址後請離開設定模式。
On R1, enter the following commands:
在 R1 上,輸入下列命令:
R1(config-if)# interface Ethernet0/0
R1(config-if)# ipv6 address 2001:db8:0:1::1/64
R1(config-if)# interface Serial1/1
R1(config-if)# ipv6 address 2001:db8:0:4::1/64
R1(config-if)# end
R1#On R1, display the full IPv6 information that is associated with Ethernet0/0 using the show ipv6 interface command. It is similar to the show ip interface command, except that it is IPv6-specific.
在 R1 上,使用 show ipv6 interface 命令顯示與 Ethernet0/0 相關的完整 IPv6 資訊。此命令與 show ip interface 命令類似,差別在於它是專屬於 IPv6 的。
On R1, enter the following command:
在 R1 上,輸入下列命令:
R1# show ipv6 interface Ethernet0/0
Ethernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::A8BB:CCFF:FE00:100
No Virtual link-local address(es):
Description: Link to SW1
Global unicast address(es):
2001:DB8:0:1::1, subnet is 2001:DB8:0:1::/64
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF00:1
FF02::1:FF00:100
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ICMP unreachables are sent
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds (using 30000)
ND advertised reachable time is 0 (unspecified)
ND advertised retransmit interval is 0 (unspecified)
ND router advertisements are sent every 200 seconds
ND router advertisements live for 1800 seconds
ND advertised default router preference is Medium
Hosts use stateless autoconfig for addresses.The output displays both the global unicast address and the link-local address.
輸出會同時顯示全球單播位址與鏈路本地位址。
IPv6 automatically joins several required multicast groups. All addresses starting with FF are IPv6 multicast addresses. The third hexadecimal digit "0" means it is a permanent or well-known multicast address. The fourth hexadecimal digit indicates that this multicast address has a link-local scope and is not to be routed.
IPv6 會自動加入數個必要的群播群組。所有以 FF 開頭的位址都是 IPv6 群播位址。第三個十六進位數字「0」表示這是永久性或知名的群播位址。第四個十六進位數字則表示此群播位址具有鏈路本地範圍,不會被路由。
ff02::1 is all node address to reach out all IPv6 nodes in the same link, ff02::2 is used to reach all IPv6 routers on the same link, while ff02::1:FF00:1 is IPv6 solicited-node multicast group for the global unicast address 2001:db8:0:1::1 and ff02::1:ff00:100 for the link-local address fe80::a8bb:ccff:fe00:100.
ff02::1 是用於到達同一鏈路上所有 IPv6 節點的全節點位址,ff02::2 用於到達同一鏈路上所有 IPv6 路由器,而 ff02::1:FF00:1 是全球單播位址 2001:db8:0:1::1 的 IPv6 請求節點群播群組,ff02::1:ff00:100 則是鏈路本地位址 fe80::a8bb:ccff:fe00:100 的請求節點群播群組。
IPv6 neighbor discovery is automatically enabled when the interface has an IPv6 address. R1 will send neighbor discovery router advertisements containing the global unicast prefix on Ethernet0/0 when the ipv6 unicast-routing command is configured. The hosts on this network can use these advertisements for stateless autoconfiguration.
當介面擁有 IPv6 位址時,IPv6 鄰居探索會自動啟用。設定 ipv6 unicast-routing 命令後,R1 會在 Ethernet0/0 上傳送包含全球單播前綴的鄰居探索路由器通告。此網路上的主機可利用這些通告進行無狀態自動設定。
On R3, enable IPv6 routing.
在 R3 上啟用 IPv6 路由。
On R3, enter the following commands:
在 R3 上,輸入下列命令:
R3# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)# ipv6 unicast-routingConfigure the R3 IPv6 address (2001:db8:0:4::2/64) on Serial1/1, then verify that you can ping R1 (2001:db8:0:4::1) from R3.
在 Serial1/1 上設定 R3 的 IPv6 位址(2001:db8:0:4::2/64),接著驗證是否能從 R3 ping 通 R1(2001:db8:0:4::1)。
On R3, enter the following commands:
在 R3 上,輸入下列命令:
R3(config)# interface Serial1/1
R3(config-if)# ipv6 address 2001:db8:0:4::2/64
R3(config-if)# do ping 2001:db8:0:4::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:4::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/9 msConfigure the R3 IPv6 address (2001:db8:0:6::2/64) on Serial1/3, then verify that you can ping R2 (2001:db8:0:6::1) from R3. Remember to take advantage of the Cisco IOS command recall feature.
在 Serial1/3 上設定 R3 的 IPv6 位址(2001:db8:0:6::2/64),接著驗證是否能從 R3 ping 通 R2(2001:db8:0:6::1)。記得善用 Cisco IOS 命令回溯功能。
On R3, enter the following commands:
在 R3 上,輸入下列命令:
R3(config-if)# interface Serial1/3
R3(config-if)# ipv6 address 2001:db8:0:6::2/64
R3(config-if)# do ping 2001:db8:0:6::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:6::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/9 msConfigure the R3 IPv6 address (2001:db8:0:3::2/64) on Ethernet0/0. There are currently no IPv6 peers on Ethernet0/0, so you cannot use the ping command for verification. Leave the configuration mode when you are done configuring Ethernet0/0.
在 Ethernet0/0 上設定 R3 的 IPv6 位址(2001:db8:0:3::2/64)。目前 Ethernet0/0 上沒有 IPv6 對端裝置,因此無法使用 ping 命令進行驗證。完成 Ethernet0/0 設定後請離開設定模式。
On R3, enter the following commands:
在 R3 上,輸入下列命令:
R3(config-if)# interface Ethernet 0/0
R3(config-if)# ipv6 address 2001:db8:0:3::2/64
R3(config-if)# end
R3#On R3, display the Ethernet0/0 MAC address using the show interfacescommand. The output can be run through the include filter using address as the filter string to reduce the amount of command output.
在 R3 上,使用 show interfaces命令顯示 Ethernet0/0 的 MAC 位址。可以使用 include 篩選功能,以 address 作為篩選字串,減少命令輸出的內容。
On R3, enter the following command:
在 R3 上,輸入下列命令:
R3# show interfaces Ethernet0/0 | include address
Hardware is AmdP2, address is aabb.cc00.0300 (bia aabb.cc00.0300)
Internet address is 10.10.3.1/24The MAC address in your output may differ.
您輸出中的 MAC 位址可能會有所不同。
On R3, use the show ipv6 interface brief command to display the IPv6 addresses that are assigned to the R3 interfaces. It is similar to the show ip interface brief command, except that it is IPv6-specific.
在 R3 上,使用 show ipv6 interface brief 命令顯示指派給 R3 各介面的 IPv6 位址。此命令與 show ip interface brief 命令類似,差別在於它是專屬於 IPv6 的。
On R3, enter the following command:
在 R3 上,輸入下列命令:
R3# show ipv6 interface brief
Ethernet0/0 [up/up]
FE80::A8BB:CCFF:FE00:300
2001:DB8:0:3::2
Ethernet0/1 [administratively down/down]
unassigned
Ethernet0/2 [administratively down/down]
unassigned
Ethernet0/3 [administratively down/down]
unassigned
Serial1/0 [administratively down/down]
unassigned
Serial1/1 [up/up]
FE80::A8BB:CCFF:FE00:300
2001:DB8:0:4::2
Serial1/2 [administratively down/down]
unassigned
Serial1/3 [up/up]
FE80::A8BB:CCFF:FE00:300
2001:DB8:0:6::2There are two IPv6 addresses on each of the three configured interfaces. There is a link-local address that was statelessly autoconfigured. There is also the global unicast address that you configured.
已設定的三個介面上各有兩個 IPv6 位址:一個是以無狀態方式自動設定的鏈路本地位址,另一個則是您所設定的全球單播位址。
To statelessly autoconfigure a link-local address, Cisco IOS Software uses the EUI-64 interface ID with the fe80::/10 prefix. The IPv6 EUI-64 format address is obtained through the 48-bit MAC address. The MAC address is first separated into two 24-bits, with one being OUI (Organizationally Unique Identifier) and the other being NIC specific. Then the 16-bit 0xFFFE is then inserted between these two 24 bits for the 64-bit EUI address. Next, the seventh bit from the left, or the universal/local (U/L) bit, needs to be inverted. So, aa:bb:cc:00:03:00 becomes a8bb:ccff:fe00:300.
為了以無狀態方式自動設定鏈路本地位址,Cisco IOS 軟體會使用 EUI-64 介面 ID 搭配 fe80::/10 前綴。IPv6 EUI-64 格式的位址是透過 48 位元的 MAC 位址取得的。首先將 MAC 位址分成兩個 24 位元的部分,一個是機構唯一識別碼(OUI),另一個則是網路卡特定值,接著在這兩個 24 位元之間插入 16 位元的 0xFFFE,形成 64 位元的 EUI 位址。接著,需要反轉從左邊數來第七個位元,也就是全球/本地(U/L)位元。因此,aa:bb:cc:00:03:00 會變成 a8bb:ccff:fe00:300。
The serial interfaces, being point-to-point links, do not use MAC addresses. IPv6 "borrows" the MAC address from an Ethernet interface to compute the link-local address for serial interfaces. The result is that R3 is using the same link-local address on multiple interfaces. This situation is acceptable because the link-local address only needs to be unique on the "link", meaning data link.
序列介面屬於點對點鏈路,並不使用 MAC 位址。IPv6 會「借用」乙太網路介面的 MAC 位址,來計算序列介面的鏈路本地位址。結果是 R3 在多個介面上使用相同的鏈路本地位址,這種情況是可以接受的,因為鏈路本地位址只需要在「鏈路」(亦即資料鏈結)上具有唯一性即可。
Task 2: Configure IPv6 Stateless Autoconfiguration
任務 2:設定 IPv6 無狀態自動設定
Activity
活動
With R3 sending neighbor discovery router advertisements on its Ethernet0/0 interface, SRV1 can use stateless autoconfiguration for IPv6. On SRV1, display its MAC address.
由於 R3 會在其 Ethernet0/0 介面上傳送鄰居探索路由器通告,SRV1 可以使用 IPv6 無狀態自動設定。在 SRV1 上,顯示其 MAC 位址。
On SRV1, enter the following command:
在 SRV1 上,輸入下列命令:
SRV1# show interfaces Ethernet0/0 | include address
Hardware is AmdP2, address is aabb.cc00.0e00 (bia aabb.cc00.0e00)
Internet address is 10.10.3.30/24You can see the MAC address. You will see how it is used with the EUI-64 process to generate the SRV1 IPv6 address with stateless autoconfiguration.
您可以看到該 MAC 位址。稍後您會看到它如何透過 EUI-64 程序,用來以無狀態自動設定產生 SRV1 的 IPv6 位址。
The MAC address in your output may be different.
您輸出中的 MAC 位址可能會有所不同。
On SRV1, configure Ethernet0/0 to use stateless autoconfiguration for the IPv6 address assignment and the IPv6 default route assignment.
在 SRV1 上,設定 Ethernet0/0 使用無狀態自動設定來指派 IPv6 位址,以及指派 IPv6 預設路由。
PCs (for example, Windows) are typically enabled for SLAAC by default.
PC(例如 Windows)通常預設就已啟用 SLAAC。
On SRV1, enter the following commands:
在 SRV1 上,輸入下列命令:
SRV1# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SRV1(config)# interface Ethernet0/0
SRV1(config-if)# ipv6 address autoconfig default
SRV1(config-if)# end
SRV1#On SRV1, display the IPv6 addresses that are assigned to Ethernet0/0.
在 SRV1 上,顯示指派給 Ethernet0/0 的 IPv6 位址。
On SRV1, enter the following command:
在 SRV1 上,輸入下列命令:
SRV1# show ipv6 interface brief Ethernet0/0
Ethernet0/0 [up/up]
FE80::A8BB:CCFF:FE00:E00
2001:DB8:0:3:A8BB:CCFF:FE00:E00There are two addresses: the link-local address using the standard fe80::/10 prefix and the global unicast address using the 2001:db8:0:3::/64 prefix that SRV1 received from the R3 router advertisement. Both use the EUI-64 standard to incorporate the Ethernet0/0 MAC address into the IPv6 address.
共有兩個位址:一個是使用標準 fe80::/10 前綴的鏈路本地位址,另一個則是使用 SRV1 從 R3 路由器通告接收到的 2001:db8:0:3::/64 前綴所產生的全球單播位址。兩者都採用 EUI-64 標準,將 Ethernet0/0 的 MAC 位址併入 IPv6 位址中。
Display the IPv6 routing table on SRV1.
顯示 SRV1 上的 IPv6 路由表。
On SRV1, enter the following command:
在 SRV1 上,輸入下列命令:
SRV1# show ipv6 route
IPv6 Routing Table - default - 4 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO
ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2, l - LISP
ND ::/0 [2/0]
via FE80::A8BB:CCFF:FE00:300, Ethernet0/0
NDp 2001:DB8:0:3::/64 [2/0]
via Ethernet0/0, directly connected
L 2001:DB8:0:3:A8BB:CCFF:FE00:E00/128 [0/0]
via Ethernet0/0, receive
L FF00::/8 [0/0]
via Null0, receiveThe default route (to prefix ::/0) points to the R3 link-local address, as you saw earlier, that was created by a default option in the ipv6 address autoconfig command. The ND code indicates that this default route was learned as part of the neighbor discovery process.
預設路由(前往前綴 ::/0)指向 R3 的鏈路本地位址,如您先前所見,此路由是由 ipv6 address autoconfig 命令中的 default 選項所建立。ND 代碼表示此預設路由是透過鄰居探索程序學得的。
The NDp entry describes the prefix that has been learned by R3 router advertisement message.
NDp 項目描述的是透過 R3 路由器通告訊息所學得的前綴。
At this point, SRV1 should be able to ping the R3 global unicast addresses on Ethernet0/0 (2001:db8:0:3::2), on Serial1/1 (2001:db8:0:4::2), and Serial1/3 (2001:db8:0:6::2). Confirm this connectivity using the ping command. Again, be sure to take advantage of the Cisco IOS command recall feature.
此時,SRV1 應該能夠 ping 通 R3 在 Ethernet0/0(2001:db8:0:3::2)、Serial1/1(2001:db8:0:4::2)以及 Serial1/3(2001:db8:0:6::2)上的全球單播位址。請使用 ping 命令確認此連線,並記得善用 Cisco IOS 命令回溯功能。
On SRV1, enter the following commands:
在 SRV1 上,輸入下列命令:
SRV1# ping 2001:db8:0:3::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:3::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/20 ms
SRV1# ping 2001:db8:0:4::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:4::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
SRV1# ping 2001:db8:0:6::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:6::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 msHowever, you cannot ping addresses on R1 or R2. Attempt to ping the R1 Serial1/1 interface (2001:db8:0:4::1).
然而,您無法 ping 通 R1 或 R2 上的位址。請嘗試 ping R1 的 Serial1/1 介面(2001:db8:0:4::1)。
On SRV1, enter the following command:
在 SRV1 上,輸入下列命令:
SRV1# ping 2001:db8:0:4::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:4::1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)Because R3 is directly connected to the 2001:db8:0:4::/64 subnet, it can successfully send the probe to R1. The pingfails because R1 does not have a route back to the 2001:db8:0:3/64 network where SRV1 is connected.
由於 R3 直接連接到 2001:db8:0:4::/64 子網路,因此可以成功將探測封包傳送給 R1。ping失敗的原因是 R1 沒有回到 SRV1 所在的 2001:db8:0:3/64 網路的路由。
On PC1, configure Ethernet0/0 to use stateless autoconfiguration and the default route assignment.
在 PC1 上,設定 Ethernet0/0 使用無狀態自動設定以及預設路由指派。
On PC1, enter the following commands:
在 PC1 上,輸入下列命令:
PC1# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
PC1(config)# interface Ethernet0/0
PC1(config-if)# ipv6 address autoconfig default
PC1(config-if)# end
PC1#On PC1, display the IPv6 addresses that are assigned to Ethernet0/0.
在 PC1 上,顯示指派給 Ethernet0/0 的 IPv6 位址。
On PC1, enter the following command:
在 PC1 上,輸入下列命令:
PC1# show ipv6 interface brief e0/0
Ethernet0/0 [up/up]
FE80::A8BB:CCFF:FE00:C00
2001:DB8:0:1:A8BB:CCFF:FE00:C00Display the IPv6 routing table on PC1 to verify that it has an IPv6 default route.
顯示 PC1 上的 IPv6 路由表,以確認它擁有 IPv6 預設路由。
On PC1, enter the following command:
在 PC1 上,輸入下列命令:
PC1# show ipv6 route
IPv6 Routing Table - default - 4 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO
ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2, l - LISP
ND ::/0 [2/0]
via FE80::A8BB:CCFF:FE00:100, Ethernet0/0
NDp 2001:DB8:0:1::/64 [2/0]
via Ethernet0/0, directly connected
L 2001:DB8:0:1:A8BB:CCFF:FE00:C00/128 [0/0]
via Ethernet0/0, receive
L FF00::/8 [0/0]
via Null0, receiveFrom PC1, verify that you can ping the R1 Ethernet0/0 (2001:db8:0:1::1), Serial1/1 (2001:db8:0:4::1), and Serial1/2 (2001:db8:0:5::1) interfaces.
從 PC1 驗證是否能夠 ping 通 R1 的 Ethernet0/0(2001:db8:0:1::1)、Serial1/1(2001:db8:0:4::1)以及 Serial1/2(2001:db8:0:5::1)介面。
On PC1, enter the following commands:
在 PC1 上,輸入下列命令:
PC1# ping 2001:db8:0:1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/15 ms
PC1# ping 2001:db8:0:4::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:4::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
PC1# ping 2001:db8:0:5::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:5::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms