实验拓扑图如下:
全网可达
1.先通V4网络,R1、2、9、10
R1给R2做缺省
R2给R9做缺省
R10给R9做缺省
r2上做acl、nat
2.R1、R2为双栈,同时做V6网络
R1
[r1]ipv6
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ipv6 enable
[r1-GigabitEthernet0/0/0]ipv6 address 2002:1d01:0101::1 64
[r1]ipv6 route-static :: 0 2002:1d01:0101::2
R2
[r2]ipv6
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]ipv6 enable
[r2-GigabitEthernet0/0/0]ipv6 address 2002:1d01:0101::2 64
[r2]int t0/0/0 做隧道
[r2-Tunnel0/0/0]tunnel-protocol ipv6-ipv4
[r2-Tunnel0/0/0]ipv6 enable
[r2-Tunnel0/0/0]ipv6 address 2002:1d01:0101:1::1 64
[r2-Tunnel0/0/0]source g0/0/2
[r2-Tunnel0/0/0]destination 91.1.1.2
[r2]ipv6 route-static 2002:: 16 Tunnel 0/0/0
R10
[r10]ipv6
[r10]int g0/0/1
[r10-GigabitEthernet0/0/1]ipv6 enable
[r10-GigabitEthernet0/0/1]ipv6 address 2002:5b01:0102::1 64
[r10]int Tunnel 0/0/0 做隧道
[r10-Tunnel0/0/0]tunnel-protocol ipv6-ipv4
[r10-Tunnel0/0/0]source g0/0/0
[r10-Tunnel0/0/0]destination 29.1.1.1
[r10-Tunnel0/0/0]ipv6 enable
[r10-Tunnel0/0/0]ipv6 address 2002:5b01:0102:2::1 64
[r10]ipv6 route-static 2002:: 16 t0/0/0
[r10]ripng 1
[r10]int g0/0/1
[r10-GigabitEthernet0/0/1]ripng 1 enable 调用ripng
[r10]int g0/0/1
[r10-GigabitEthernet0/0/1]ripng default-route originate 强制下放缺省
R11
[r11]ipv6
[r11]int g0/0/0
[r11-GigabitEthernet0/0/0]ipv6 enable
[r11-GigabitEthernet0/0/0]ipv6 address 2002:5b01:0102::2 64
[r11]ipv6
[r11]int lo0
[r11-LoopBack0]ipv6 enable
[r11-LoopBack0]ipv6 address 2002:5b01:0102:1::1 64
[r11]ripng 1 调用ripng
[r11-ripng-1]int g0/0/0
[r11-GigabitEthernet0/0/0]ripng 1 enable
[r11]int lo0
[r11-LoopBack0]ripng 1 enable
用R1 ping R11
2.BGP通
R3
[R3]ipv6 配置地址
[R3]int lo0
[R3-LoopBack0]ipv6 enable
[R3-LoopBack0]ipv6 address 3::3 64
[R3]int g0/0/1
[R3-GigabitEthernet0/0/1]ipv6 enable
[R3-GigabitEthernet0/0/1]ipv6 address 2002:1d01:0101:2::1 64
[R3]ospfv3 100 起ospfv3
[R3-ospfv3-100]router-id 3.3.3.3
[R3]int lo0
[R3-LoopBack0]ospfv3 100 area 0 调用ospfv3
[R3]int g0/0/1
[R3-GigabitEthernet0/0/1]ospfv3 100 area 0
[R3]bgp 64511 起BGP,联邦
[R3-bgp]router-id 3.3.3.3
[R3-bgp]confederation id 100
[R3-bgp]peer 4::4 as-number 64511
[R3-bgp]peer 4::4 connect-interface lo0
[R3-bgp]ipv6-family
[R3-bgp-af-ipv6]peer 4::4 enable
R4
[r4]ospfv3 100
[r4-ospfv3-100]router-id 4.4.4.4
[r4]int lo0
[r4-LoopBack0]ospfv3 100 area 0
[r4-LoopBack0]int g0/0/0
[r4-GigabitEthernet0/0/0]ospfv3 100 area 0
[r4]int g0/0/1
[r4-GigabitEthernet0/0/1]ospfv3 100 area 0
[r4]bgp 64511
[r4-bgp]router-id 4.4.4.4
[r4-bgp]confederation id 100
[r4-bgp]peer 3::3 as-number 64511
[r4-bgp]peer 3::3 connect-interface lo0
[r4-bgp]peer 5::5 as-number 64511
[r4-bgp]peer 5::5 connect-interface lo0
[r4-bgp]ipv6-family
[r4-bgp-af-ipv6]peer 3::3 enable
[r4-bgp-af-ipv6]peer 5::5 enable
[r4-bgp-af-ipv6]peer 5::5 reflect-client 做反射器
[r4-bgp-af-ipv6]peer 3::3 reflect-client
R5
[r5]ipv6
[r5]int lo0
[r5-LoopBack0]ipv6 enable
[r5-LoopBack0]ipv6 address 5::5 64
[r5]int g0/0/0
[r5-GigabitEthernet0/0/0]ipv6 enable
[r5-GigabitEthernet0/0/0]ipv6 address 2002:1d01:0101:3::2 64
[r5]int g0/0/1
[r5-GigabitEthernet0/0/1]ipv6 enable
[r5-GigabitEthernet0/0/1]ipv6 address 2002:1d01:0101:4::1 64
[r5]ospfv3 100
[r5-ospfv3-100]router-id 5.5.5.5
[r5]int lo0
[r5-LoopBack0]ospfv3 100 area 0
[r5]int g0/0/0
[r5-GigabitEthernet0/0/0]ospfv3 100 area 0
[r5]int g0/0/1
[r5-GigabitEthernet0/0/1]ospfv3 100 area 0
[r5]bgp 64511
[r5-bgp]router-id 5.5.5.5
[r5-bgp]confederation id 100
[r5-bgp]confederation peer-as 64512
[r5-bgp]peer 4::4 as-number 64511
[r5-bgp]peer 4::4 connect-interface LoopBack 0
[r5-bgp]peer 6::6 as-number 64512
[r5-bgp]peer 6::6 connect-interface lo0
[r5-bgp]peer 6::6 ebgp-max-hop
[r5-bgp]ipv6-family
[r5-bgp-af-ipv6]peer 4::4 enable
[r5-bgp-af-ipv6]peer 6::6 enable
R6
[r6]ipv6
[r6]int lo0
[r6-LoopBack0]ipv6 enable
[r6-LoopBack0]ipv6 address 6::6 64
[r6]int g0/0/0
[r6-GigabitEthernet0/0/0]ipv6 enable
[r6-GigabitEthernet0/0/0]ipv6 address 2002:1d01:0101:4::2 64
[r6]int g0/0/1
[r6-GigabitEthernet0/0/1]ipv6 enable
[r6-GigabitEthernet0/0/1]ipv6 address 2002:1d01:0101:5::1 64
[r6]ospfv3 100
[r6-ospfv3-100]router-id 6.6.6.6
[r6]int lo0
[r6-LoopBack0]ospfv3 100 area 0
[r6]int g0/0/0
[r6-GigabitEthernet0/0/0]ospfv3 100 area 0
[r6]bgp 64512
[r6-bgp]router-id 6.6.6.6
[r6-bgp]confederation id 100
[r6-bgp]confederation peer-as 64511
[r6-bgp]peer 5::5 as-number 64511
[r6-bgp]peer 5::5 connect-interface lo0
[r6-bgp]peer 5::5 ebgp-max-hop
[r6-bgp]peer 2002:1d01:0101:5::2 as-number 101
[r6-bgp]ipv6-family
[r6-bgp-af-ipv6]peer 5::5 enable
[r6-bgp-af-ipv6]peer 2002:1d01:0101:5::2 enable
[r6-bgp-af-ipv6]import-route ospfv3 100 重发布ospfv3 R7、R8跑ripng需要
[r6-bgp-af-ipv6]import-route direct 宣告直连,否则R7、R8不通
R7
[r7]ipv6
[r7]int lo0
[r7-LoopBack0]ipv6 enable
[r7-LoopBack0]ipv6 address 7::7 64
[r7]int g0/0/0
[r7-GigabitEthernet0/0/0]ipv6 enable
[r7-GigabitEthernet0/0/0]ipv6 address 2002:1d01:0101:5::2 64
[r7]int g0/0/1
[r7-GigabitEthernet0/0/1]ipv6 enable
[r7-GigabitEthernet0/0/1]ipv6 address 2002:1d01:0101:6::1 64
[r7]ripng 1
[r7]int lo0
[r7-LoopBack0]ripng 1 enable
[r7-LoopBack0]int g0/0/1
[r7-GigabitEthernet0/0/1]ripng 1 enable
[r7]bgp 101
[r7-bgp]router-id 7.7.7.7
[r7-bgp]peer 2002:1d01:0101:5::1 as-number 100
[r7-bgp]peer 8::8 as-number 101
[r7-bgp]peer 8::8 connect-interface lo0
[r7-bgp]ipv6-family
[r7-bgp-af-ipv6]peer 8::8 enable
[r7-bgp-af-ipv6]peer 2002:1d01:0101:5::1 enable
[r7-bgp-af-ipv6]import-route ripng 1 重发布ripng
[r7-bgp-af-ipv6]import-route direct 宣告直连
[r7]ipv6 route-static :: 0 2002:1d01:0101:5::1
[r7]int g0/0/1
[r7-GigabitEthernet0/0/1]ripng default-route originate 下放缺省,否则ping不通R8
R8
[r8]ipv6
[r8]int lo0
[r8-LoopBack0]ipv6 enable
[r8-LoopBack0]ipv6 address 8::8 64
[r8]int g0/0/0
[r8-GigabitEthernet0/0/0]ipv6 enable
[r8-GigabitEthernet0/0/0]ipv6 address 2002:1d01:0101:6::2 64
[r8]ripng 1
[r8]int lo0
[r8-LoopBack0]ripng 1 enable
[r8-LoopBack0]int g0/0/1
[r8-GigabitEthernet0/0/1]ripng 1 enable
[r8]bgp 101
[r8-bgp]router-id 8.8.8.8
[r8-bgp]peer 7::7 as-number 101
[r8-bgp]peer 7::7 connect-interface lo0
[r8-bgp]ipv6-family
[r8-bgp-af-ipv6]peer 7::7 enable
R3 ping R8
BGP通
4.使得全网可达
R2上0/0/1口配ip 写一个汇总缺省
[r2]int g0/0/1
[r2-GigabitEthernet0/0/1]ipv6 enable
[r2-GigabitEthernet0/0/1]ipv6 address 2002:1d01:0101:7::1 64
[r2]ipv6 route-static 2002:1d01:0101:: 61 2002:1d01:0101:7::2 汇总缺省
R3上0/0/0口配IP
[R3]int g0/0/0
[R3-GigabitEthernet0/0/0]ipv6 enable
[R3-GigabitEthernet0/0/0]ipv6 address 2002:1d01:0101:7::2
[R3]ipv6 route-static :: 0 2002:1d01:0101:7::1 写一个指向R2的缺省
[R3]ospfv3 100
[R3-ospfv3-100]default-route-advertise ospfv3强制下放缺省
R1 ping R8
全网可达,实验完成
文章浏览阅读311次。环境:<java.version>1.8</java.version><spring-boot.version>2.0.4.RELEASE</spring-boot.version><spring-cloud.version>Finchley.SR1</spring-cloud.version><lcn.last.v..._springboot 2.4 可以使用feign调用吗
文章浏览阅读8.8w次,点赞48次,收藏252次。Windows的用户文件夹默认所在位置是系统盘(通常是C盘)下的“\Users”目录之内。该文件夹中保存着所有的用户个人数据,比如你保存在“桌面”上的文件(实际上是保存在C:\Users\你的用户名\Desktop\目录之中),再比如你保存在“我的文档”里的文件(实际上是保存在C:\Users\用户名\Documents目录之中)。用户文件夹处于系统盘的坏处在于,如若系统盘一旦坏掉,就可能连带用..._该应用程序位于未经授权的位置 请移至非系统文件夹
文章浏览阅读6.7k次,点赞7次,收藏35次。约瑟夫环的数学方法解决 编写约瑟夫环程序时会发现,当我们把整个报数过程的人数N变的很大,例如到几百万,虽然在最后还是只剩下两个人报数,但也要循环几百万次才能确定最后留下来的那个人。这样程序执行的效率不高,会占用大量时间去执行循环的过程。有时会发生输出一直等待很长时间才能出来结果。经过查询资料,找到了约瑟夫环的数学解决方法,以及它的算法具体执行的过程来做分享。我们假设..._约瑟夫出圈问题公式
文章浏览阅读120次。1.薪资丰厚: 基本薪资+绩效+项目奖金+年终奖2.福利: 和正式员工福利基本看齐,共享工位,免费夜宵,班车,一流办公环境,月末周六双倍工资3.技术栈:C/C+当用例很多的时候,每次。不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦。不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦虑不焦。
文章浏览阅读871次,点赞11次,收藏3次。*单片机设计介绍, 基于51单片机冰箱温度控制器设计。_基于51单片机的智能冰箱控制系统设计
文章浏览阅读4.8k次。一、sftp服务器进入root模式(下面的操作默认都是在root用户下)#安装openssh-serverapt-get install -y openssh-server创建sftp的组和用户#创建sftp-users组groupadd sftp-users#创建sftp用户目录alicemkdir /home/alice#创建sftp用户alice,并且绑定其主目..._ubuntu sftp服务器查看用户和密码
文章浏览阅读309次。笔记_禅道的运行日志放在哪
文章浏览阅读4.3w次,点赞79次,收藏882次。我们要使用这些知识实现一个简单的网页设计,利用HTML的a标签做文本内容跳转以及超链接的应用,CSS设计内容样式和图片、动画、视频的大小位置格式,JavaScript实现轮播图效果等。学习如何设计网页中的轮播图和动画效果,并掌握a标签文本内容跳转、超链接的应用、播放音乐与视频等操作。通过对Web知识内容的了解,我们掌握了HTML、CSS和JavaScript的基本知识以及利用它们实现一些简单的应用。1、使用Web知识实现一个简单的网页设计,利用HTML的a标签做文本内容跳转以及超链接的应用。_web前端网页设计代码
Matlab中讲解了如何约束ODE解为非负解的示例,并以绝对值函数和膝盖问题为例进行了说明。文章指出在某些情况下,由于方程的物理解释或解性质的原因,施加非负约束是必要的。
文章浏览阅读1.1k次。电脑上装的东西多了就很容引起版本或者依赖问题。。。这不,按照高博教程做octomap实验时候运行g2o_viewer data/result_after.g2o时候就直接coredump。。。。回想起来自己ROS系统中装了libg2o,于是卸载之:sudo apt-get remove ros-indigo-libg2o然后重新执行g2o_viewer data/result_after.g2o注..._libg2o_
文章浏览阅读2w次,点赞58次,收藏268次。学习通不想好好上课系列_学习通脚本
文章浏览阅读1.6k次。将Total Commander设置为“默认”文件管理器?法一:开始,运行,输入regedit ,回车: 定位到HKEY_LOCAL_MACHINE_total commander默认文件管理器