![图片[1]-第3章 EUI-64的方式形成的地址-大赛人网](https://www.dsrw.com/wp-content/uploads/2023/03/图片10-22.png)
1.查看R1接口的MAC地址
<R1>display interface GigabitEthernet 0/0/0
GigabitEthernet0/0/0 current state : UP
Line protocol current state : DOWN
Description:HUAWEI, AR Series, GigabitEthernet0/0/0 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet protocol processing : disabled
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc3f-49de
2.查看R1本地接口的IPV6 link-local地址,在MAC地址的OUI与厂商之间插入16bit的FFFE,变成00e0-fcff–fe3f-49de,根据EUI-64形成IPV6接口的规则。
1)EUI-64地址第一个字节的第七位反转得到:02e0-fcff--fe3f-49de
2)加上固定前缀FE80得到本接口link-local地址:FE80::2E0:FCFF:FE3F:49DE
<R1>display ipv6 interface GigabitEthernet 0/0/0
GigabitEthernet0/0/0 current state : UP
IPv6 protocol current state : UP
IPv6 is enabled, link-local address is FE80::2E0:FCFF:FE3F:49DE
3.使用EUI-64形成全局的地址
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ipv6 address 2011::/64 eui-64
[R1]display ipv6 interface GigabitEthernet 0/00/
^
Error: Wrong parameter found at '^' position.
[R1]display ipv6 interface GigabitEthernet 0/0/0
GigabitEthernet0/0/0 current state : UP
IPv6 protocol current state : UP
IPv6 is enabled, link-local address is FE80::2E0:FCFF:FE3F:49DE
Global unicast address(es):
2012::1, subnet is 2012::/64
2011::2E0:FCFF:FE3F:49DE, subnet is 2011::/64
Joined group address(es):
FF02::1:FF3F:49DE
FF02::2
FF02::1
FF02::1:FF00:1
MTU is 1500 bytes
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND retransmit interval is 1000 milliseconds
Hosts use stateless autoconfig for addresses
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容