Experimental 1_ipv6 address configuration

Source: Internet
Author: User

IPV6 address configuration

Experimental tasks

(1) Master How to configure IPV6 address on router and PC

(2) master How to use IPv6 ping command to IPv6 address accessibility check

(3) Learn how to use the command to view IPV6 address configuration

Experimental process

in the Configuration on RT

System View:return to User View with Ctrl + Z.

[H3c]int g0/0

[H3c-gigabitethernet0/0]dis IPv6 int g0/0

Ip6stack is not configured.

Configure link-local addresses

[H3c-gigabitethernet0/0]ipv6 address Fe80::1 link-local

Configure global Unique addresses

[H3c-gigabitethernet0/0]ipv6 Address 1::1 64

View configuration Status

[H3c-gigabitethernet0/0]dis IPv6 int g0/0

gigabitethernet0/0 Current State:up

Line protocol Current State:up

IPV6 is enabled, link-local address is fe80::1 [tentative]

Global unicast Address (es):

1::1, subnet is 1::/64 [tentative]

Joined Group Address (es):

Ff02::1

Ff02::2

Ff02::1:ff00:1

MTU is bytes

ND Dad is enabled, number of dad attempts:1

ND reachable time is 30000 milliseconds

ND retransmit interval is milliseconds

Hosts use stateless AutoConfig for addresses

in the Configuration on the PC

installation IPV6 protocol and enable

C:\>netsh Interface ipv6 Install

Are you sure.

C:\>netsh

Netsh>interface IPv6

netsh interface ipv6>show interface

querying Active status ...

Index Met MTU Status name

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

8 0 Connected Local connection 6

7 0 The local connection has been disconnected 5

6 0 Switch off wi-Fi 2

5 0 Connected VirtualBox host-only Network

4 2 tunneling disconnected Teredo pseudo-interface

3 1 Pseudo-Interface connected 6to4

2 1 tunneling connected Automatic Pseudo-Interface

1 0 connected Loopback Pseudo-Interface

View automatically configured link-local addresses

C:\>ipconfig/all

Ethernet Adapter Local Area Connection 6:

Connection-specific DNS Suffix. :

Description ........... : Microsoft Loopback Adapter

Physical Address ..... . : 02-00-4c-4f-4f-50

DHCP is Enabled ..... : Yes

Autoconfiguration Enabled .... : Yes

Autoconfiguration IP Address ...: 169.254.25.129

Subnet Mask ........... : 255.255.0.0

IP address. ...........:fe80::4cff:fe4f:4f50%8

Default Gateway ..... . :

DNS Servers ........... : fec0:0:0:ffff::1%1

fec0:0:0:ffff::2%1

fec0:0:0:ffff::3%1

netsh interface ipv6>show address 8

querying Active status ...

Interface 8: Local Area Connection 6

Single broadcast address : FE80::4CFF:FE4F:4F50

type : link

DAD status : Preferences

Effective life : Infinite

Preferred life : Infinite

scope : link

prefix Origin : famous

suffix Origin : link-Layer address

No items found.

netsh interface ipv6>add address 8 fe80::2

Are you sure.

netsh interface ipv6>add address 8 1::2

Are you sure.

netsh interface ipv6>show address 8

querying Active status ...

Interface 8: Local Area Connection 6

Single broadcast address : 1::2

type : manual

DAD status : Preferences

Effective life : Infinite

Preferred life : Infinite

scope : global

prefix Origin : manual

suffix Origin : manual

Single broadcast address : Fe80::2

type : manual

DAD status : Preferences

Effective life : Infinite

Preferred life : Infinite

scope : link

prefix Origin : manual

suffix Origin : manual

Single broadcast address : FE80::4CFF:FE4F:4F50

type : link

DAD status : Preferences

Effective life : Infinite

Preferred life : Infinite

scope : link

prefix Origin : famous

suffix Origin : link-Layer address

No items found.

Test IPV6 Address Accessibility

in the Test PC on RT

[H3c-gigabitethernet0/0]ping ipv6-i g0/0 Fe80::2

Ping6 (data bytes) Fe80::1--and Fe80::2, press Ctrl_c to break

Bytes from Fe80::2, icmp_seq=0 hlim=128 time=1.150 ms

Bytes from Fe80::2, icmp_seq=1 hlim=128 time=0.662 ms

Bytes from Fe80::2, icmp_seq=2 hlim=128 time=0.691 ms

Bytes from Fe80::2, icmp_seq=3 hlim=128 time=0.543 ms

Bytes from Fe80::2, icmp_seq=4 hlim=128 time=0.732 ms

---Ping6 statistics for fe80::2---

5 packets transmitted, 5 packets received, 0.0% packet loss

Round-trip Min/avg/max/std-dev = 0.543/0.756/1.150/0.207 ms

[H3c-gigabitethernet0/0]%oct 7 12:30:10:910 h3c ping/6/ping_statistics:ping6 STATISTICS for Fe80::2:5 packets Tran Smitted, 5 packets received, 0.0% packet loss, round-trip Min/avg/max/std-dev = 0.543/0.756/1.150/0.207 Ms.

[h3c-gigabitethernet0/0]

[H3c-gigabitethernet0/0]ping ipv6-i g0/0 1::2

Ping6 (data bytes) 1::1--and 1::2, press Ctrl_c to break

Bytes from 1::2, icmp_seq=0 hlim=128 time=1.447 ms

Bytes from 1::2, icmp_seq=1 hlim=128 time=0.708 ms

Bytes from 1::2, icmp_seq=2 hlim=128 time=0.703 ms

Bytes from 1::2, icmp_seq=3 hlim=128 time=0.691 ms

Bytes from 1::2, icmp_seq=4 hlim=128 time=0.688 ms

---Ping6 statistics for 1::2---

5 packets transmitted, 5 packets received, 0.0% packet loss

Round-trip Min/avg/max/std-dev = 0.688/0.847/1.447/0.300 ms

[H3c-gigabitethernet0/0]%oct 7 12:32:36:806 h3c ping/6/ping_statistics:ping6 STATISTICS for 1::2:5 packets Transmi Tted, 5 packets received, 0.0% packet loss, round-trip Min/avg/max/std-dev = 0.688/0.847/1.447/0.300 Ms.

[h3c-gigabitethernet0/0]

[H3c-gigabitethernet0/0]ping ipv6-i g0/0 FE80::4CFF:FE4F:4F50

Ping6 (data bytes) Fe80::1--and FE80::4CFF:FE4F:4F50, press Ctrl_c to break

Bytes from Fe80::4cff:fe4f:4f50, icmp_seq=0 hlim=128 time=0.769 ms

Bytes from Fe80::4cff:fe4f:4f50, icmp_seq=1 hlim=128 time=0.721 ms

Bytes from Fe80::4cff:fe4f:4f50, icmp_seq=2 hlim=128 time=0.681 ms

Bytes from Fe80::4cff:fe4f:4f50, icmp_seq=3 hlim=128 time=0.717 ms

Bytes from Fe80::4cff:fe4f:4f50, icmp_seq=4 hlim=128 time=0.740 ms

---Ping6 statistics for FE80::4CFF:FE4F:4F50---

5 packets transmitted, 5 packets received, 0.0% packet loss

Round-trip Min/avg/max/std-dev = 0.681/0.726/0.769/0.029 ms

[H3c-gigabitethernet0/0]%oct 7 12:33:50:652 h3c ping/6/ping_statistics:ping6 STATISTICS for FE80::4CFF:FE4F:4F50: 5 packets transmitted, 5 packets received, 0.0% packet loss, round-trip Min/avg/max/std-dev = 0.681/0.726/0.769/0.029 Ms.

in the Test RT on PC

C:\Documents and Settings\administrator>ping fe80::1%8

Pinging fe80::1%8 with + bytes of data:

Reply from Fe80::1%8:time<1ms

Reply from Fe80::1%8:time<1ms

Reply from Fe80::1%8:time<1ms

Reply from Fe80::1%8:time<1ms

Ping Statistics for Fe80::1%8:

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

Approximate round trip times in Milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\administrator>

C:\Documents and Settings\administrator>ping 1::1

Pinging 1::1 with + bytes of data:

Reply from 1::1:time=1ms

Reply from 1::1:time<1ms

Reply from 1::1:time<1ms

Reply from 1::1:time<1ms

Ping statistics for 1:: 1:

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

Approximate round trip times in Milli-seconds:

Minimum = 0ms, Maximum = 1ms, Average = 0ms

Experimental 1_ipv6 address configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.