当前位置:网站首页>IPv6 foundation construction experiment
IPv6 foundation construction experiment
2022-07-03 03:53:00 【Idle fish King】
Catalog
3.R1 and R2 Network construction between
3.1.IPV4 The network structures, RIP
4. On the right IPV6 To configure
1. subject

2.IP Divide

The public network is used R3 Substitutes
therefore R2 and R4 All have default points R3
[r2]ip route-static 0.0.0.0 0 23.1.1.2
[r4]ip route-static 0.0.0.0 0 34.1.1.1
3.R1 and R2 Network construction between
3.1.IPV4 The network structures, RIP
R2
[r2]rip 1
[r2-rip-1]ver 2
[r2-rip-1]network 192.168.2.0
[r2-rip-1]network 192.168.0.0
R1
[r1]rip 1
[r1-rip-1]ver 2
[r1-rip-1]network 192.168.1.0
[r1-rip-1]network 192.168.0.0
Yes R1 The above two loops are summarized
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]rip summary-address 192.168.1.0 255.255.255.0

then R2 towards R1 Send a default
[r2-rip-1]default-route originate

Make ACL, Enable NAT
[r2]acl 2000
[r2-acl-basic-2000]rule permit source 192.168.0.0 0.0.255.255
[r2-acl-basic-2000]int g0/0/1
[r2-GigabitEthernet0/0/1]nat outbound 2000

3.2.R1 and R2 IPV6 build
IPV6 IP Distribute
23.1.1.1 --->2002:1701:0101::/48
2002:1701:101::/64 --- 2002:1701:101:FFFF:/64
2002:1701:101::/65 As R1 Loopback
2002:1701:101:0:8000::/65 As R1 Loopback
2002:1701:101:1:: 64 As an interface IP
2002:1701:101:2:: 64 As R2 Loopback
[r1]ipv6
[r1]int lo0[r1-LoopBack0]ipv6 enable
[r1-LoopBack0]ipv6 add 2002:1701:101::1 65[r1-LoopBack1]ipv6 enable
[r1-LoopBack1]ipv6 add 2002:1701:101:0:8000::1 65[r1-LoopBack1]int g0/0/0
[r1-GigabitEthernet0/0/0]ipv6 enable
[r1-GigabitEthernet0/0/0]ipv6 address 2002:1701:101:1::1 64
[r2]ipv6
[r2]int g0/0/0[r2-GigabitEthernet0/0/0]ipv6 enable
[r2-GigabitEthernet0/0/0]ipv6 add 2002:1701:101:1::2 64[r2-LoopBack0]ipv6 add 2002:1701:101:2::1 64
RIPNG build
R1 ps:RIPNG It's an excuse to announce
[r1]ripng 1
[r1-ripng-1]int lo0
[r1-LoopBack0]ripng 1 enable
[r1-LoopBack0]int lo1
[r1-LoopBack1]ripng 1 enable
[r1-LoopBack1]int g0/0/0
[r1-GigabitEthernet0/0/0]ripng 1 enable
R2
[r2]ripng 1
[r2-ripng-1]int lo0
[r2-LoopBack0]ripng 1 enable
[r2-LoopBack0]int g0/0/0
[r2-GigabitEthernet0/0/0]ripng 1 enable

Summarize the two loops
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]ripng summary-address 2002:1701:101:0000:: 64

R2 to R1 default
[r2-GigabitEthernet0/0/0]ripng default-route only

3.3.tunner To configure 6to4
[r2]int t0/0/0
[r2-Tunnel0/0/0]ipv6 enable
[r2-Tunnel0/0/0]ipv6 address 2002:1701:101:3::1 64
[r2-Tunnel0/0/0]tunnel-protocol ipv6-ipv4 6to4
[r2-Tunnel0/0/0]source 23.1.11[r2]ipv6 route-static 2002:: 16 Tunnel 0/0/0
You need to configure a static , As long as there is no route to go Tunnel Interface
4. On the right IPV6 To configure
4.1.IP Divide
34.1.1.2 -----> 2002:2201:0102:: 48
2002:2201:0102:: 49 AS1
2002:2201:0102:: 64 2002:2201:0102:7fff:: 64
2002:2201:0102:8000:: 49 AS2
2002:2201:0102:8000:: 64 2002:2201:0102:FFFF:: 64
2002:2001:0102::1 64 R4 Loopback
2002:2201:0102:8000::1 R5 Loopback
2002:2201:0102:8002::1 64 R6 Loopback
2002:2201:0102:8004::1 64 R7 Loopback
2002:2201:0102:8006::1 64 R8 Loopback
2002:2201:0102:1:: 64 R4 R5 Interface link
2002:2201:102:8001:: R6 R5 Interface link
2002:2201:0102:8003:: R6 R7 Interface link
2002:2201:0102:8005:: R7 R8 Interface link
4::4 R4 Loopback
5::5 R5 Loopback
6::6 R6 Loopback
7::7 R7 Loopback
8::8 R8 Loopback
4.2.OSPFV3
This is running in AS2 Medium
R5
[r5]ospfv3 1
[r5-ospfv3-1]router-id 5.5.5.5
[r5-ospfv3-1]int lo0
[r5-LoopBack0]ospfv3 1 area 0
[r5-LoopBack0]int g0/0/1
[r5-GigabitEthernet0/0/1]ospfv3 1 area 0
R6
[r6]ospfv3 1
[r6-ospfv3-1]router-id 6.6.6.6
[r6-ospfv3-1]int lo0
[r6-LoopBack0]ospfv3 1 area 0
[r6-LoopBack0]int g0/0/0
[r6-GigabitEthernet0/0/0]ospfv3 1 area 0
[r6-GigabitEthernet0/0/0]int g0/0/1
[r6-GigabitEthernet0/0/1]ospfv3 1 area 0
R7
[r7]ospfv3 1
[r7-ospfv3-1]router-id 7.7.7.7
[r7-ospfv3-1]int lo0
[r7-LoopBack0]ospfv3 1 area 0
[r7-LoopBack0]int g0/0/0
[r7-GigabitEthernet0/0/0]ospfv3 1 area 0
[r7-GigabitEthernet0/0/0]int g0/0/1
[r7-GigabitEthernet0/0/1]ospfv3 1 area 0
R8
[r8]ospfv3 1
[r8-ospfv3-1]router-id 8.8.8.8
[r8-ospfv3-1]int lo0
[r8-LoopBack0]ospfv3 1 area 0
[r8-LoopBack0]int g0/0/0
[r8-GigabitEthernet0/0/0]ospfv3 1 area 0

4.3.BGP Jianlin
R4
[r4]bgp 1
[r4-bgp]router-id 4.4.4.4
[r4-bgp]peer 2002:2201:0102:1::2 as-number 2
[r4-bgp]ipv6
[r4-bgp-af-ipv6]peer 2002:2201:0102:1::2 enable
R5
[r5]bgp 64512
[r5-bgp]router-id 5.5.5.5
[r5-bgp]confederation id 2
[r5-bgp]peer 2002:2201:0102:1::1 as-number 1
[r5-bgp-af-ipv6]peer 2002:2201:0102:1::1 enable
[r5-bgp]peer 6::6 as-number 64512
[r5-bgp]peer 6::6 connect-interface LoopBack 0 5::5
[r5-bgp]ipv6
[r5-bgp-af-ipv6]peer 6::6 enable
R6

R7
[r7]bgp 64512
[r7-bgp]router-id 7.7.7.7
[r7-bgp]confederation id 2
[r7-bgp]confederation peer-as 64513
[r7-bgp]peer 6::6 as-number 64512
[r7-bgp]peer 6::6 connect-interface LoopBack 0 7::7
[r7-bgp]peer 8::8 as-number 64513
[r7-bgp]peer 8::8 connect-interface LoopBack 0 7::7
[r7-bgp]peer 8::8 ebgp-max-hop 2
[r7-bgp]ipv6
[r7-bgp-af-ipv6]peer 8::8 enable
[r7-bgp-af-ipv6]peer 6::6 enable
R8
[r8]bgp 64513
[r8-bgp]router-id 8.8.8.8
[r8-bgp]confederation id 2
[r8-bgp]confederation peer-as 64512
[r8-bgp]peer 7::7 as-number 64512
[r8-bgp]peer 7::7 connect-interface LoopBack 0 8::8
[r8-bgp]peer 7::7 ebgp-max-hop 2
[r8-bgp]ipv6
[r8-bgp-af-ipv6]peer 7::7 enable


4.4. Other configuration
R4--Tunner To configure
[r4]int t0/0/0
[r4-Tunnel0/0/0]ipv6 enable
[r4-Tunnel0/0/0]ipv6 add 2002:2201:0102:2::1 64
[r4-Tunnel0/0/0]tunnel-protocol ipv6-ipv4 6to4
[r4-Tunnel0/0/0]source 34.1.1.2[r4]ipv6 route-static 2002:: 16 Tunnel 0/0/0
You need a static line to go directly to the left
Summarize and announce
[r5]ipv6 route-static 2002:2201:0102:8000:: 49 NULL 0
[r5]bgp 64512
[r5-bgp]ipv6
[r5-bgp-af-ipv6]network 2002:2201:0102:8000:: 49[r4]bgp 1
[r4-bgp]ipv6
[r4-bgp-af-ipv6]network 2002:: 16[r5-bgp-af-ipv6]peer 6::6 next-hop-local This should be changed to local, otherwise R6 There's no way to use
[r6-bgp-af-ipv6]peer 7::7 reflect-client Reflector let R6 Can pass the route to R7
5. test

边栏推荐
- 2022 mobile crane driver examination registration and mobile crane driver operation examination question bank
- [national programming] [software programming - Lecture Video] [zero foundation introduction to practical application]
- Hutool dynamically adds scheduled tasks
- [embedded module] OLED display module
- [mathematical logic] propositional logic (propositional logic reasoning | formal structure of reasoning | inference law | additional law | simplification law | hypothetical reasoning | refusal | disju
- sigaction的使用
- [combinatorics] brief introduction to generating function (definition of generating function | Newton binomial coefficient | commonly used generating function | correlation with constant | correlation
- shardingsphere动态数据源
- 基于Pytorch和RDKit的QSAR模型建立脚本
- Table structure of Navicat export database
猜你喜欢

navicat 导出数据库的表结构
![Ansible introduction [unfinished (semi-finished products)]](/img/2a/0003daf761ba02d8837c4657fc3f29.png)
Ansible introduction [unfinished (semi-finished products)]

leetcode:297. 二叉树的序列化与反序列化

105. SAP UI5 Master-Detail 布局模式的联动效果实现明细介绍

105. Detailed introduction of linkage effect realization of SAP ui5 master detail layout mode

Ffmpeg download and installation tutorial and introduction

How to move towards IPv6: IPv6 Transition Technology - Shangwen network quigo

FileZilla Client下载安装

2022deepbrainchain biweekly report no. 104 (01.16-02.15)

Web session management security issues
随机推荐
Open Visual Studio 2010 hangs when opening a SQL file sql file
Hutool动态添加定时任务
【学习笔记】seckill-秒杀项目--(11)项目总结
记一次 .NET 差旅管理后台 CPU 爆高分析
[learning notes] seckill - seckill project - (11) project summary
Role of JS No
如何迈向IPv6之IPv6过渡技术-尚文网络奎哥
How does the pytorch project run?
释放数据力量的Ceph-尚文网络xUP楠哥
Makefile demo
第十届中国云计算大会·中国站:展望未来十年科技走向
2022 tea master (intermediate) examination questions and analysis and tea master (intermediate) practical examination video
Commands related to the startup of redis under Linux server (installation and configuration)
[DRM] simple analysis of DRM bridge driver call process
What is pytorch? Is pytorch a software?
105. Detailed introduction of linkage effect realization of SAP ui5 master detail layout mode
递归:一维链表和数组
Applet get user avatar and nickname
The difference between static web pages and dynamic web pages & the difference between Web1.0 and Web2.0 & the difference between get and post
[mathematical logic] propositional logic (judgment of the correctness of propositional logic reasoning | formal structure is eternal truth - equivalent calculus | deduction from premise - logical reas