ipv6地址概述——配置ipv6
创始人
2024-02-22 12:40:52
0

  • 个人简介:云计算网络运维专业人员,了解运维知识,掌握TCP/IP协议,每天分享网络运维知识与技能。
  • 个人爱好: 编程,打篮球,计算机知识
  • 个人名言:海不辞水,故能成其大;山不辞石,故能成其高。
  • 个人主页:小李会科技的主页

 

目录

配置命令: 

1.配置ip地址   

在R1上:

在R2上:

在R3上:

2.启用rip

在R1上:

在R2上:

在R3上:

3.测试连通性

在c1上ping c2

4.配置ospf

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

在r1上:

在R2上:

在R3上:

5.测试连通性  

  在c1上ping  c2


 

 


 

配置命令: 

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)查看到。

相关内容

热门资讯

监控摄像头接入GB28181平... 流程简介将监控摄像头的视频在网站和APP中直播,要解决的几个问题是:1&...
Windows10添加群晖磁盘... 在使用群晖NAS时,我们需要通过本地映射的方式把NAS映射成本地的一块磁盘使用。 通过...
protocol buffer... 目录 目录 什么是protocol buffer 1.protobuf 1.1安装  1.2使用...
Fluent中创建监测点 1 概述某些仿真问题,需要创建监测点,用于获取空间定点的数据࿰...
educoder数据结构与算法...                                                   ...
MySQL下载和安装(Wind... 前言:刚换了一台电脑,里面所有东西都需要重新配置,习惯了所...
MFC文件操作  MFC提供了一个文件操作的基类CFile,这个类提供了一个没有缓存的二进制格式的磁盘...
在Word、WPS中插入AxM... 引言 我最近需要写一些文章,在排版时发现AxMath插入的公式竟然会导致行间距异常&#...
有效的括号 一、题目 给定一个只包括 '(',')','{','}'...
【Ctfer训练计划】——(三... 作者名:Demo不是emo  主页面链接:主页传送门 创作初心ÿ...