其他分享
首页 > 其他分享> > 实验九IPV6

实验九IPV6

作者:互联网

  1. 建立物理连接

  2. 配置接口自动生成链路本地地址及测试可达性,查看邻居信息
    配置RTA
    [RTA-GigabitEthernet0/0]ipv6 address auto link-local
    配置RTB
    [RTB-GigabitEthernet0/0]ipv6 address auto link-local

查看RTBipv6地址:
display ipv6 interface GigabitEthernet 0/0 brief
*down: administratively down
(s): spoofing
Interface Physical Protocol IPv6 Address
GigabitEthernet0/0 up up FE80::70B0:E3FF:FEC6:105
RTA ping RTB:
ping ipv6 -i GigabitEthernet 0/0 FE80::70B1:FF:FE40:205
Ping6(56 data bytes) FE80::70B0:E3FF:FEC6:105 --> FE80::70B1:FF:FE40:205, press CTRL_C to break
56 bytes from FE80::70B1:FF:FE40:205, icmp_seq=0 hlim=64 time=1.000 ms
56 bytes from FE80::70B1:FF:FE40:205, icmp_seq=1 hlim=64 time=0.000 ms
56 bytes from FE80::70B1:FF:FE40:205, icmp_seq=2 hlim=64 time=0.000 ms
56 bytes from FE80::70B1:FF:FE40:205, icmp_seq=3 hlim=64 time=1.000 ms
56 bytes from FE80::70B1:FF:FE40:205, icmp_seq=4 hlim=64 time=1.000 ms

--- Ping6 statistics for FE80::70B1:FF:FE40:205 ---
RTA查看ipv6邻居:
display ipv6 neighbors all
Type: S-Static D-Dynamic O-Openflow R-Rule I-Invalid
IPv6 address Link layer VID Interface/Link ID State T Age
FE80::70B1:FF:FE40:205 72b1-0040-0205 N/A GE0/0 REACH D 10

  1. 配置接口生成全球单播地址并测试可达性
    [RTA-GigabitEthernet0/0]ipv6 address 3001::1/64
    [RTB-GigabitEthernet0/0]ipv6 address 3001::2/64
    ping ipv6 -i GigabitEthernet 0/0 3001::2
    Ping6(56 data bytes) 3001::1 --> 3001::2, press CTRL_C to break
    56 bytes from 3001::2, icmp_seq=0 hlim=64 time=2.000 ms
    56 bytes from 3001::2, icmp_seq=1 hlim=64 time=1.000 ms
    56 bytes from 3001::2, icmp_seq=2 hlim=64 time=1.000 ms
    56 bytes from 3001::2, icmp_seq=3 hlim=64 time=1.000 ms
    56 bytes from 3001::2, icmp_seq=4 hlim=64 time=0.000 ms

--- Ping6 statistics for 3001::2 ---

display ipv6 neighbors all
Type: S-Static D-Dynamic O-Openflow R-Rule I-Invalid
IPv6 address Link layer VID Interface/Link ID State T Age
3001::2 72b1-0040-0205 N/A GE0/0 REACH D 18
FE80::70B1:FF:FE40:205 72b1-0040-0205 N/A GE0/0 REACH D 8

标签:70B1,FE80,64,56,bytes,实验,IPV6,3001
来源: https://www.cnblogs.com/akiz/p/11144484.html