当前位置: 首页 > 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)查看到。

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

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

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

相关文章:

  • 【微信小程序】列表渲染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
  • 国家网信办举办在欧中资企业座谈会,就数据跨境流动等进行交流
  • 来论|受美国“保护”,日本民众要付出什么代价?
  • 2024“好评中国”网络评论大赛结果揭晓
  • 白云山一季度营收净利双降,此前称今年将挖掘盘活自身资源
  • 言短意长|新能源领军者密集捐赠母校
  • 大学男生被捉奸后将女生推下高楼?桂林理工大学辟谣