实验9.IPV6

  1. 建立物理连接
    1399347-20190706224400001-843208854.png

  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

转载于:https://www.cnblogs.com/akiz/p/11144484.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值