【实验说明】

在R1与R2之间以太网地址上配置IPv6 site local地址,其中主机位使用 EUI-64格式地址。

【实验拓扑】

 

Understanding Site Local IPv6 Addressing(本地站点地址)_第1张图片

【实验配置步骤】

  • 使用IPV6的本地站点网络地址FEC0::/64 配置R1、R2以太网接口
  • R1与R2的主机部分使用 modified EUI-64 地址

 
【实验分析】
  • IPv6中的 link-local, site-local, and global unicast 地址的区别?
  • site-local 地址的前缀是什么?
  • 什么是 EUI-64 地址,它设计的目的和作用是什么?

 
【实验配置】
R1 & R2:
interface FastEthernet0/0
ipv6 address FEC0::/64 eui-64
no shutdown

【实验验证】
R1#show ipv6 int brief
FastEthernet0/0 [up/up]
FE80::230:19FF:FE69:81A0
FEC0::230:19FF:FE69:81A0
(output omitted)
R1#show ipv6 int fastethernet0/0
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::230:19FF:FE69:81A0
Global unicast address(es):
FEC0::230:19FF:FE69:81A0, subnet is FEC0::/64
R2#show ipv6 int brief
FastEthernet0/0 [up/up]
FE80::202:4BFF:FE51:7C00
FEC0::202:4BFF:FE51:7C00
(output omitted)
R2#show ipv6 int fastethernet0/0
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::202:4BFF:FE51:7C00
Global unicast address(es):
FEC0::202:4BFF:FE51:7C00, subnet is FEC0::/64
Joined group address(es):
FF02::1
FF02::1:FF51:7C00
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds

 
R1#ping ipv6 FEC0::202:4BFF:FE51:7C00
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FEC0::202:4BFF:FE51:7C00, timeout is 2
seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/8 ms
R1#show ipv6 neighbors
IPv6 Address Age Link-layer Addr State Interface
FE80::CE01:EFF:FE68:0 36 cc01.0e68.0000 STALE Fa0/0
FEC0::CE01:EFF:FE68:0 36 cc01.0e68.0000 STALE Fa0/0
R2#show ipv6 neighbors
IPv6 Address Age Link-layer Addr State Interface
FE80::CE00:EFF:FE68:0 36 cc00.0e68.0000 STALE Fa0/0
FEC0::CE00:EFF:FE68:0 36 cc00.0e68.0000 STALE Fa0/0

 

 
【实验总结】
  • site-local地址和IPv4中的私有地址类似,只应用在局域网中
  • EUI-64 地址的来历为

Understanding Site Local IPv6 Addressing(本地站点地址)_第2张图片