当前位置:网站首页>IPv6 comprehensive experiment
IPv6 comprehensive experiment
2022-06-28 21:57:00 【m0_ fifty-eight million nine hundred and sixty-three thousand o】
Public distribution network IP
R2
R3
R4
use R2,4 The default point is 3 Connect the public network
R2
[R2]ip route-static 0.0.0.0 0 23.1.1.2
R4
[R4]ip route-static 0.0.0.0 0 34.1.1.1
Test public network connectivity

Configure the private network on the left IP
R1
R2
to R1,2 Write RIP
R1
#
rip 1
version 2
network 192.168.1.0
network 192.168.0.0
#
R2
#
rip 1
version 2
network 192.168.0.0
network 192.168.2.0
#
R1 Acquire R2 The loopback of
R2 Acquire R1 The loopback of
R1 Loopback summary for
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]rip summary-address 192.168.1.0 255.255.255.0
stay R2 Write default
[R2-rip-1]default-route originate
stay R1 Write the anti annulus interface
[R1]ip route-static 192.168.1.0 24 NULL 0
stay R2 Do on 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/0
[R2-GigabitEthernet0/0/0]nat outbound 2000
Test connectivity

6to4 tunnel Private address :2002::/16
IPV4 Compatible address --- every last IPV4 The address can be converted into a segment IPV6 Address ;
6to4 tunnel, All used ipv6 Address by ipv4 Address conversion
R2 Upper g0/0/1: 23.1.1.1
2002:1701:0101::/48
2002:1701:0101:0000::/64---2002:1701:0101:FFFF::/64
R1 Loopback
2002:1701:0101:0000::/64
2002:1701:0101:0000:0000:0000:0000:0000::/65--2002:1701:101::/65
2002:1701:0101:0000:1000:0000:0000:0000::/65--2002:1701:101:0:8000::/65
R1 Of g0/0/0
2002:1701:0101:0001::1/64
R2
G0/0/0
2002:1701:0101:1::2/64
Loopback :2002:1701:0101:2::1/64
take R1,2 Of ipv6 use ripng Get through
[R1]ripng 1
[R1-ripng-1]int l0
[R1-LoopBack0]ripng 1 enable
[R1-LoopBack0]int l1
[R1-LoopBack1]ripng 1 enable
[R1-LoopBack1]int g0/0/0
[R1-GigabitEthernet0/0/0]ripng 1 enable
[R2]ripng 1
[R2-ripng-1]int l0
[R2-LoopBack0]ripng 1 enable
[R2-LoopBack0]int g0/0/0
[R2-GigabitEthernet0/0/0]ripng 1 enable
R1 Acquire R2 The loopback of
R2 Acquire R1 The loopback of
Summary R1 The loopback of
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ripng summary-address 2002:1701:0101:0000:: 64
R2 to R1 Send default
[R2]int g0/0/0
[R2-GigabitEthernet0/0/0]ripng default-route only
R1 Write the anti annulus interface
[R1]ipv6 route-static 2002:1701:0101:0000:: 64 NULL 0
to R2 To make an export of 2 You can access the LAN on the right
[R2]int Tunnel 0/0/0
[R2-Tunnel0/0/0]ipv6 enable
[R2-Tunnel0/0/0]ipv6 address 2002:1701:0101:3::1 64
[R2-Tunnel0/0/0]tunnel-protocol ipv6-ipv4 6to4
[R2-Tunnel0/0/0]source 23.1.1.1
stay R2 Write a route so that the LAN on the left can access the LAN on the right
[R2]ipv6 route-static 2002:: 16 Tunnel 0/0/0
Configure the LAN on the right IPv6
34.1.1.2
2002:2201:0102::/48
AS1:2002:2201:0102::/49
2002:2201:0102::/64 -- 2002:2201:0102:7FFF::/64
AS2:2002:2201:0102:8000::/49
2002:2201:0102:8000::/64 -- 2002:2201:0102:FFFF::/64
with R4
[R4]ipv6
[R4]int l0
[R4-LoopBack0]ipv6 enable
[R4-LoopBack0]ipv6 address 2002:2201:0102::1 64
[R4-LoopBack0]int g0/0/1
[R4-GigabitEthernet0/0/1]ipv6 enable
[R4-GigabitEthernet0/0/1]ipv6 address 2002:2201:0102:1::1 64
R5
AS1
[R5]ipv6
[R5]int g0/0/1
[R5-GigabitEthernet0/0/1]ipv6 enable
[R5-GigabitEthernet0/0/1]ipv6 address 2002:2201:0102:1::2 64
AS2
[R5]INT L0
[R5-LoopBack0]ipv6 enable
[R5-LoopBack0]ipv6 address 2002:2201:0102:8000::1 64
[R5-LoopBack0]int g0/0/0
[R5-GigabitEthernet0/0/0]ipv6 enable
[R5-GigabitEthernet0/0/0]ipv6 address 2002:2201:0102:8001::1 64
R6
[R6]ipv6
[R6]int g0/0/0
[R6-GigabitEthernet0/0/0]ipv6 enable
[R6-GigabitEthernet0/0/0]ipv6 address 2002:2201:0102:8001::2 64
[R6-GigabitEthernet0/0/0]int l0
[R6-LoopBack0]ipv6 enable
[R6-LoopBack0]ipv6 address 2002:2201:0102:8002::1 64
[R6-LoopBack0]int g0/0/1
[R6-GigabitEthernet0/0/1]ipv6 enable
[R6-GigabitEthernet0/0/1]ipv6 address 2002:2201:0102:8003::1 64
R7
[R7]ipv6
[R7]int g0/0/1
[R7-GigabitEthernet0/0/1]ipv6 enable
[R7-GigabitEthernet0/0/1]ipv6 address 2002:2201:0102:8003::2 64
[R7-GigabitEthernet0/0/1]int l0
[R7-LoopBack0]ipv6 enable
[R7-LoopBack0]ipv6 address 2002:2201:0102:8004::1 64
[R7-LoopBack0]int g0/0/0
[R7-GigabitEthernet0/0/0]ipv6 enable
[R7-GigabitEthernet0/0/0]ipv6 address 2002:2201:0102:8005::1 64
R8
[R8]ipv6
[R8]int g0/0/0
[R8-GigabitEthernet0/0/0]ipv6 enable
[R8-GigabitEthernet0/0/0]ipv6 address 2002:2201:0102:8005::2 64
[R8-GigabitEthernet0/0/0]int l0
[R8-LoopBack0]ipv6 enable
[R8-LoopBack0]ipv6 address 2002:2201:0102:8006::1 64
stay R5,6,7,8 In between ospfv3 agreement
R5
[R5]ospfv3 1
[R5-ospfv3-1]router-id 5.5.5.5
[R5-ospfv3-1]int l0
[R5-LoopBack0]ospfv3 1 area 0
[R5-LoopBack0]int g0/0/0
[R5-GigabitEthernet0/0/0]ospfv3 1 area 0
R6
[R6]ospfv3 1
[R6-ospfv3-1]router-id 6.6.6.6
[R6-ospfv3-1]int g0/0/0
[R6-GigabitEthernet0/0/0]ospfv3 1 area 0
[R6-GigabitEthernet0/0/0]int l0
[R6-LoopBack0]ospfv3 1 area 0
[R6-LoopBack0]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 g0/0/1
[R7-GigabitEthernet0/0/1]ospfv3 1 area 0
[R7-GigabitEthernet0/0/1]int l0
[R7-LoopBack0]ospfv3 1 area 0
[R7-LoopBack0]int g0/0/0
[R7-GigabitEthernet0/0/0]ospfv3 1 area 0
R8
[R8]ospfv3 1
[R8-ospfv3-1]router-id 8.8.8.8
[R8-ospfv3-1]int g0/0/0
[R8-GigabitEthernet0/0/0]ospfv3 1 area 0
[R8-GigabitEthernet0/0/0]int l0
[R8-LoopBack0]ospfv3 1 area 0
R5,6,7,8 Building neighborhoods between


R4,5 Build between EBGP
R4
[R4]bgp 1
[R4-bgp]router-id 4.4.4.4
[R4-bgp]peer 2002:2201:102:1::2 as-number 2
[R4-bgp]ipv6-family
[R4-bgp-af-ipv6]peer 2002:2201:102: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:102:1::1 as-number 1
[R5-bgp]ipv6-family
[R5-bgp-af-ipv6]peer 2002:2201:102:1::1 enable
Respectively in R5,6,7,8 Configure the local site ( With R5 For example )
[R5]int l0
[R5-LoopBack0]ipv6 address 5::5 64
R5,6,7,8, Use loopback to build neighbors
R5
[R5]bgp 64512
[R5-bgp]peer 6::6 as-number 64512
[R5-bgp]peer 6::6 connect-interface LoopBack 0 5::5
[R5-bgp]ipv6-family
[R5-bgp-af-ipv6]peer 6::6 enable
R6
[R6]bgp 64512
[R6-bgp]router-id 6.6.6.6
[R6-bgp]confederation id 2
[R6-bgp]peer 5::5 as-number 64512
[R6-bgp]peer 5::5 connect-interface LoopBack 0 6::6
[R6-bgp]peer 7::7 as-number 64512
[R6-bgp]peer 7::7 connect-interface LoopBack 0 6::6
[R6-bgp]ipv6-family
[R6-bgp-af-ipv6]peer 5::5 enable
[R6-bgp-af-ipv6]peer 7::7 enable
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-family
[R7-bgp-af-ipv6]peer 6::6 enable
[R7-bgp-af-ipv6]peer 8::8 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
Check the neighborhood situation



R4
[R4]int Tunnel 0/0/0
[R4-Tunnel0/0/0]ipv6 enable
[R4-Tunnel0/0/0]ipv6 address 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-Tunnel0/0/0]q
[R4]ipv6 route-static 2002:: 16 Tunnel 0/0/0
R5 Write the empty interface pointing to the summary route
[R5]ipv6 route-static 2002:2201:0102:8000:: 49 NULL 0
Declare this interface
[R5]bgp 64512
[R5-bgp]ipv6-family
[R5-bgp-af-ipv6]network 2002:2201:0102:8000:: 49
R4 Declare
[R4-bgp]ipv6
[R4-bgp-af-ipv6]network 2002:: 16


stay R5 Yes 6 Change to the next jump
[R5]bgp 64512
[R5-bgp]ipv6
[R5-bgp-af-ipv6]peer 6::6 next-hop-local
because IBGP Horizontal segmentation , To be in 6 Raise the reflector
[R6]bgp 64512
[R6-bgp]ipv6
[R6-bgp-af-ipv6]peer 7::7 reflect-client


Test connectivity

边栏推荐
- 安全 创新 实践|海泰方圆受邀参加“数字时代的网信创新与价值共创”技术交流研讨会
- 认识Web自动化测试
- [width first search note] BFS output shortest path
- Biovendor free light chain( κ and λ) Test steps of ELISA Kit
- The rogue downloader named by 315 is back
- be careful! The PMP emergency postponement exam is due today!
- Which software is safer to open an account on and what is the account opening process?
- LeetCode560. Subarray with and K
- E-commerce is popular, how to improve the store conversion rate?
- Query rewriting for opengauss kernel analysis
猜你喜欢

Safety innovation practice | Haitai Fangyuan was invited to participate in the technical exchange Seminar on "network information innovation and value co creation in the digital age"

AI deep dive of Huawei cloud

Postman introduction and installation steps

Microsoft's exclusive payment function has also been perfectly unlocked

Pyechart drawing multiple Y-axis line graphs

【激活函数】

PHP uses stack to solve maze problem
![[dynamic programming] p1018 linear DP: maximum product](/img/3f/b2f394f328c214937add7afa0568c3.jpg)
[dynamic programming] p1018 linear DP: maximum product

CVPR 2022 𞓜 a creative and aesthetic text generation method! Support any input

Lumiprobe lumizol RNA extraction reagent solution
随机推荐
Sword finger offer:[day 1 stack and queue (simple)] --- > stack containing min function
CVPR 2022 𞓜 a creative and aesthetic text generation method! Support any input
[webapi] return dynamic list dynamic
[linq]c list type grouping sum
LeetCode116. 填充每个节点的下一个右侧节点指针
在哪个软件上开户比较安全,开户流程是什么?
LeetCode226. Flip binary tree
Sword finger offer:[day 2 linked list (simple)] --- > print the linked list from end to end
[book club issue 13] packaging format of video files
运动App如何实现端侧后台保活,让运动记录更完整?
LeetCode117. Populate the next right node pointer for each node_ II
Postman introduction and installation steps
Why use the rust language?
Comprehensive evaluation of easy-to-use and powerful PDF reading software: PDF expert, marginnote, liquidtext, notability, goodnotes, Zotero
Sword finger offer:[day 2 linked list (simple)] --- > reverse linked list
LeetCode116. Populate the next right node pointer for each node
Leetcode daily question - 522 Longest special sequence II
Leetcode daily question - Sword finger offer II 091 Paint the house
构建实战化防御体系之立体防渗透
Openfire 3.8.2 cluster configuration