当前位置:网站首页>IPv6 experiment

IPv6 experiment

2022-07-05 02:47:00 Kenneth~ Xiao Xiao

step 1: analysis

The figure is divided into LAN on the left and LAN on the right , In the middle is the public network , On the left v4 and v6 coexistence , Right pure v6, Use on the right bgp The agreement is divided into AS1 and AS2, among AS2 Divided into two federations 64512 and 64513, The intermediate public network is pure v4 agreement , The left and right LANs access each other 6to4tunnel complete .

step 2: Divide ip

1、 For the public network

23.1.1.0/24 be used for r2 and r3 Direct link of

34.1.1.0/24 be used for r3 and r4 Direct link of

3.3.3.0/24 be used for r3 The loopback of

2、 For the LAN on the left

(1)ipv4

192.168.1.0/24 be used for r1 Loopback network segment of

192.168.1.0/25 r1 The loopback of 1 Network segment

192.168.1.128/25 r1 The loopback of 2 Network segment

192.168.2.0/24 be used for r1 and r2 Direct connection

192.168.3.0/24 be used for r2 Loopback network segment of

(2)ipv6

Because the title requires 6to4tunnel Visit the right , So use r2 Of g0/0/1 Of v4ip convert to v6ip

23.1.1.1 —— 2002:1701:0101::/48

2002:1701:0101:0000::/64——2002:1701:0101:FFFF::/64

2002:1701:0101:0001::/64 be used for r1 Two loopback network segments of

2002:1701:0101:0001:0000::/65 be used for r1 The loopback of 1 Network segment

2002:1701:0101:0001:8000::/65 be used for r1 The loopback of 2 Network segment

2002:1701:0101:0002::/64 be used for r1 And r2 The direct network segment of

2002:1701:0101:0003::/64 be used for r2 Loopback network segment of

2002:1701:0101:0004::/64 be used for r2 Of 6to4tunnel

3、 For the LAN on the right

Because the title requires 6to4tunnel Visit left , So use r4 Of g0/0/0 Of v4ip convert to v6ip

34.1.1.2 —— 2002:2201:0102::/48

2002:2201:0102:0000::/49 AS1

2002:2201:0102:0000::/64——2002:2201:0102:7FFF::/64

2002:2201:0102:0001::/64 r4 Loopback network segment of

2002:2201:0102:0002::/64 r4 And r5 Direct connection network segment

2002:2201:0102:0003::/64 r4 Of 6to4tunnel Network segment

2002:2201:0102:8000::/49 AS2

2002:2201:0102:8000::/64——2002:2201:0102:FFFF::/64

2002:2201:0102:8001::/64 r5 The loopback of

2002:2201:0102:8002::/64 r6 The loopback of

2002:2201:0102:8003::/64 r7 The loopback of

2002:2201:0102:8004::/64 r8 The loopback of

2002:2201:0102:8005::/64 r5 And r6 The direct network segment of

2002:2201:0102:8006::/64 r6 And r7 The direct network segment of

2002:2201:0102:8007::/64 r7 And r8 The direct network segment of

step 3: To configure ip And routing

1、 The left area

r1:

ipv4

ipv6:

rip agreement

Yes r1 Of rip and ripng Summary

r2:

ipv4

ipv6

rip Agreement and default distribution

ripng Issue default

nat address translation

establish 6to4tunnel

2、 Middle zone

r2:

r3:

r4:

3、 Right area

r4:

ipv6

r5:

ipv6

ospfv3 neighbor

r6:

ipv6

ospfv3 neighbor

r7:

ipv6

ospfv3 neighbor

r8:

ipv6 neighbor

ospfv3 neighbor

test r5ping r8 The loopback of

step 4: Configure bgp

r4 And r5 build ebgp neighbor

r5 And r6 build ibgp neighbor , And r4 build ebgp neighbor

r6 And r5、r7 build ibgp neighbor , And configure reflectors

r7 And r6 build ibgp neighbor , And r8 Build fake ebgp neighbor

r8 And r7 Build fake ebgp neighbor

step 5: To configure r4 Of 6to4tunnel

r4:

step 6: Aggregate routing 、 Write the overhead interface , And make the two LANs interconnected

r5:

r4:

原网站

版权声明
本文为[Kenneth~ Xiao Xiao]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140855413307.html