023A-IPv6基础实验

如下图,配置ipv6地址,使得PC1能ping通PC2
在这里插入图片描述

#配置ipv6地址
[AR1]ipv6        //开启全局ipv6地址
[AR1]int g0/0/1
[AR1-GigabitEthernet0/0/1]ipv6 enable   //使能ipv6接口地址
[AR1-GigabitEthernet0/0/1]ipv6 address 2001:10:10:10::1 64
[AR1-GigabitEthernet0/0/1]ping ipv6 2001:10:10:10::10
  PING 2001:10:10:10::10 : 56  data bytes, press CTRL_C to break
    Reply from 2001:10:10:10::10 
    bytes=56 Sequence=1 hop limit=255  time = 140 ms
    Reply from 2001:10:10:10::10 
    bytes=56 Sequence=2 hop limit=255  time = 50 ms
    Reply from 2001:10:10:10::10 
    bytes=56 Sequence=3 hop limit=255  time = 50 ms
    Reply from 2001:10:10:10::10 
    bytes=56 Sequence=4 hop limit=255  time = 60 ms
    Reply from 2001:10:10:10::10 
    bytes=56 Sequence=5 hop limit=255  time = 50 ms

  --- 2001:10:10:10::10 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 50/70/140 ms



[AR1-GigabitEthernet0/0/1]int g0/0/0
[AR1-GigabitEthernet0/0/0]ipv6 enable
[AR1-GigabitEthernet0/0/0]ipv6 address 2001:12:12:12::1 64



[AR2]ipv6 
[AR2]int g0/0/0
[AR2-GigabitEthernet0/0/0]ipv6 enable 
[AR2-GigabitEthernet0/0/0]ipv6 address 2001:12:12:12::2 64
[AR2-GigabitEthernet0/0/0]int g0/0/1
[AR2-GigabitEthernet0/0/1]ipv6 enable 
[AR2-GigabitEthernet0/0/1]ipv6 address 2001:23:23:23::2 64

[AR3]ipv6 
[AR3]int g0/0/0
[AR3-GigabitEthernet0/0/0]ipv6 enable
[AR3-GigabitEthernet0/0/0]ipv6 address 2001:23:23:23::3 64
[AR3-GigabitEthernet0/0/0]int g0/0/1
[AR3-GigabitEthernet0/0/1]ipv6 en
[AR3-GigabitEthernet0/0/1]ipv6 address 2001:192:168:10::1 64

#配置路由
[AR1]ipv6 route-static 2001:192:168:10:: 64 2001:12:12:12::2
[AR2]ipv6 route-static 2001:192:168:10:: 64 2001:23:23:23::3 

[AR3]ipv6 route-static 2001:10:10:10:: 64 2001:23:23:23::2
[AR2]ipv6 route-static :: 0 2001:12:12:12::1       //配置默认路由

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值