R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

293
[RouterB] ipv6 route-static 3:: 64 5::1
# Enable IPv6 and configure the IPv6 default route on Router C.
<RouterC> system-view
[RouterC] ipv6
[RouterC] ipv6 route-static :: 0 5::2
3. Configure the IPv6 addresses of hosts and gateways:
Configure the IPv6 addresses of all the hosts based on the network diagram, and configure the
default gateway of Host A as 1::1, Host B as 2::1, and Host C as 3::1.
4. Verify the configuration:
# Display the IPv6 routing table on Router A.
[RouterA] display ipv6 routing-table
Routing Table : Public
Destinations : 5 Routes : 5
Destination : :: Protocol : Static
NextHop : 4::2 Preference: 60
Interface : GE2/2/0 Cost : 0
Destination: ::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 1::/64 Protocol : Direct
NextHop : 1::1 Preference: 0
Interface : GE2/1/1 Cost : 0
Destination: 1::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: FE80::/10 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0 Cost : 0
# Ping Host C on Router A to verify the reachability.
[RouterA] ping ipv6 3::2
PING 3::2 : 56 data bytes, press CTRL_C to break
Reply from 3::2
bytes=56 Sequence=1 hop limit=62 time = 63 ms
Reply from 3::2
bytes=56 Sequence=2 hop limit=62 time = 62 ms
Reply from 3::2
bytes=56 Sequence=3 hop limit=62 time = 62 ms
Reply from 3::2
bytes=56 Sequence=4 hop limit=62 time = 63 ms
Reply from 3::2
bytes=56 Sequence=5 hop limit=62 time = 63 ms
--- 3::2 ping statistics ---