实验拓扑图如下:
全网可达
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
全网可达,实验完成
文章浏览阅读4.2k次。转自:https://blog.csdn.net/baidu_40487407/article/details/93042568RDBMS方言RDBMSDialectDB2org.hibernate.dialect.DB2DialectDB2 AS/400org.hibernate.dialect.DB2400DialectDB2 OS390org.hibern..._hibernate.dialect配置
文章浏览阅读4.4k次,点赞2次,收藏21次。南方硅谷ssv6x5x驱动移植_linux wifi驱动
文章浏览阅读6k次,点赞6次,收藏56次。本教程一共分为了10个步骤,每一个步骤都有图片,相对来说非常详细了,欢迎大家讨论与学习!_windows10下载u盘安装
文章浏览阅读3k次。今天安装了jdk1.8、tomcat8、和maven3.5.2,弄好后在myeclipse新建了一个maven项目,项目默认是jdk1.5,如图一,我把它改成jdk1.8,项目就报错了,如图二,然后update project后又变成jdk1.5了。图一:图二:解决方法:打开maven项目的pom.xml文件, 在build节点下加入下面这段代码 ,然后在选中项目右键--》maven4myecli..._myeclipse jdk没有1.8
文章浏览阅读3k次。CSS怎么设置文字自动换行?下面本篇文章就给大家介绍css设置文字(特别是连续的数字和英文)自动换行的方法。有一定的参考价值,有需要的朋友可以参考一下,希望对你们有所帮助。关于换行问题,正常字符的换行是比较合理的,但连续的数字和英文字符常常将容器撑大,而不换行,就挺让人头疼了,这就需要进行强制自动换行了。示例:html代码:正常文字的换行(亚洲文字和非亚洲文字)元素拥有默认的white-space..._css 让文字根据html源码一样换行
文章浏览阅读214次。新买的一台联想Thinkpad X1 carbon 12代笔记本,不知道怎么搞的,突然有一天启动后会出现一段黑屏时间,然后等一段时间才会正常,非常地烦人。打电话给联想客服只提供了附近的维修地点,但那得花时间跑去啊。今天下午自己摸索终于解决问题了。没什么好办法,我开始卸载电脑上很多的软件,一是不想用了,二是想卸载的这些软件可能就是导致这个问题出现的原因,在卸载的时候看到电脑上的相关应用,但是在点开相机应用的时候竞然发现相机不能用了。怎么这么奇怪,我想到我以前确实是设置了一下相机的权限,难道是这个问题引起的。_thinkpad x1carbon开机黑屏
文章浏览阅读5.8k次,点赞3次,收藏61次。本系列导航:高通平台8953 Linux DTS(Device Tree Source)设备树详解之一(背景基础知识篇)高通平台8953 Linux DTS(Device Tree Source)设备树详解之二(DTS设备树匹配过程)高通平台8953 Linux DTS(Device Tree Source)设备树详解之三(高通MSM8953 android7.1实例分析篇)一.什么是DTS?为..._高通提取dtb
文章浏览阅读301次。安装必备包sudo apt-get install build-essential cmake libjpeg-dev libtiff5-dev libjasper-dev安装gtkfor opencv3.2 and above:sudo apt-get install libgtk-3-devfor opencv2.4.x:sudo apt-get install libgtk2.0-dev安装v4l2sudo apt-get install v4l2ucp v4l-ut._libjasper-dev源码
文章浏览阅读4.6k次,点赞2次,收藏7次。内容会持续更新,有错误的地方欢迎指正,谢谢!方式一:手机上运行游戏,以ADB方式连UnityProfiler分析游戏性能1.安卓环境:jdk、sdk:cmd(Win+R打开界面并输入cmd) 里直接输入 java 能正常输出即可 https://www.jianshu.com/p/21babde25dd5 adb:cmd 里直接输入 adb 能正常输出即可 https://www..._unity profile 手机
文章浏览阅读3.6k次,点赞6次,收藏30次。_windows内置linux目录结构
文章浏览阅读913次,点赞13次,收藏27次。有些小改动需要在common中改,都很简单就不写了,看一下就知道,另外我这边只测试了8k的一帧编码,如需连续编码视频需要再扩展一下,我这边由于公司项目安排就没再继续做了,测试出来8k文件编码的结果如下,颜色偏差是因为我的YUV和板子支持的YUV的存储顺序不一致,这里时间关系也就不调了,也算是顺利实现了芯片的8k文件编码。第二个函数是SAMPLE_VENC_CheckSensor,应该是检查镜头的分辨率支不支持要编的尺寸,这里我们先试的4k,所以也可以不管这个。_rk_mpi_cal_comm_getpicbuffersize
文章浏览阅读919次,点赞12次,收藏10次。然后根据自定义的协议,解析对应的 BeaconItem 中的 bytes,首先创建一个 BeaconParser,传入对应的 BeaconItem,然后根据协议不断读取数据, 如果协议中某个字段占 1 个字节,则调用 readByte,若占用两个字节则调用 readShort,如果要取某个字节的某个 bit 则调用 getBit。// 获取第 1 字节的第 1bit。可以在广播中携带设备的自定义数据,用于设备识别,数据广播,事件通知等,这样手机端无需连接设备就可以获取设备推送的数据。_android蓝牙通信