当前位置: 首页 > news >正文

IPv6通信实验

♥️作者:小刘在C站

♥️每天分享云计算网络运维课堂笔记,一起努力,共赴美好人生!

♥️夕阳下,是最美的,绽放。

目录

 实验命令指南

1)配置ip地址   

在r2上:

在r3上:

2)启用rip

在r1上:

在r2上:

在r3上:

3)测试连通性

4)配置ospf

在r1上:

在r2上:

在r3上:

5)测试连通性    


上期两篇文章讲述了IPv6现在来可以试一下以下实验

 实验命令指南

1)配置ip地址   

在r1上:
conf t
ipv6 unicast-routing
int f0/0
ipv6 add 2000::1/64
no sh
int f1/0
ipv6 add 2001::1/64
no sh

show ipv6 int br

在r2上:

ipv6 unicast-routing
int f0/0
ipv6 add 2001::2/64
no sh
int f1/0
ipv6 add 2002::2/64
no sh

在r3上:

ipv6 unicast-routing
int f0/0
ipv6 add 2002::1/64
no sh
int f1/0
ipv6 add 2003::1/64
no sh

2)启用rip


在r1上:

ipv6 router rip test
int f0/0
ipv6 rip test enable
int f1/0
ipv6 rip test enable

在r2上:

ipv6 router rip cisco
int f0/0
ipv6 rip cisco enable
int f1/0
ipv6 rip cisco enable

在r3上:

ipv6 router rip huawei
int f0/0
ipv6 rip huawei enable
int f1/0
ipv6 rip huawei enable
show ipv6 route

3)测试连通性

在c1上ping c2
c1和c2可以桥接windows和linux。
例如:
ping 2000::20c:29ff:fe02:7740,ip地址可以利用ipconfig或者ifconfig(linux)查看到。

4)配置ospf


在r1、r2、r3上分别执行:no ipv6 router rip test,去掉rip。

在r1上:

int lo 0
ip add 1.1.1.1 255.255.255.255
int f0/0
ipv6 ospf 1 area 0
int f1/0
ipv6 ospf 1 area 0

在r2上:

int lo 0
ip add 2.2.2.2 255.255.255.255

int f0/0
ipv6 ospf 1 area 0
int f1/0
ipv6 ospf 1 area 0

在r3上:

int lo 0
ip add 3.3.3.3 255.255.255.255
int f0/0
ipv6 ospf 1 area 0
int f1/0
ipv6 ospf 1 area 0

show ipv6 route

5)测试连通性    

在c1上ping  c2
例如:
ping 2000::20c:29ff:fe02:7740,ip地址可以利用ipconfig或者ifconfig(linux)查看到。

♥️关注,就是我创作的动力

♥️点赞,就是对我最大的认可

♥️这里是小刘,励志用心做好每一篇文章,谢谢大家

http://www.dtcms.com/a/208.html

相关文章:

  • 【微信小程序】列表渲染wx:for
  • 链表OJ题+牛客题
  • 使用Cpolar+freekan源码 创建在线视频网站
  • (HAL库)实验1 点亮一个LED
  • 小学生python游戏编程arcade----敌人自动移向角色并开火类的实现
  • java高级篇 Mybatis-Plus
  • 【数据结构】链表
  • 整夜我的背影是一条踏往星空的道路
  • java-net-php-python-jspm小区物业管理系统设计计算机毕业设计程序
  • CentOS 软件包 rpm 管理学习笔记
  • 对比Python,PySpark 大数据处理其实更香
  • 个人开发者轻松接入支付回调
  • vue3的面试题
  • 872. 最大公约数(史上最详细讲解 7种算法,STL+算法标准实现)
  • 计算机基础学习(好文必看)
  • 换工作有感
  • C++ Visual Studio 2022 中的改进、行为更改和错误修复
  • 简易版 图书管理系统
  • 服务器安装Ubuntu20及系统扩容
  • NX二次开发-UFUN CSYS坐标系转换UF_CSYS_map_point
  • 【JUC源码专题】AQS 源码分析(JDK8)
  • 3d稀疏卷积——spconv源码剖析(三)
  • 十四届蓝桥青少组模拟赛Python-20221108
  • 算法2:链表的逆转
  • Verilog 显示任务($display, $write, $strobe, $monitor)
  • 单片机毕业设计 stm32智能手环
  • Flink-输出算子(Sink)使用
  • 公众号配置调试“errMsg“:“config:fail,invalid signature
  • [附源码]Python计算机毕业设计安庆师范大学校园互助平台
  • 【C++位图】1. 快速查找某个数据是否在一个集合中 2. 排序(全部插入,遍历一遍) 3. 求两个集合的交集、并集等