Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

IPv6:6to4 tunnel configuration

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

R1#config t

R1 (config) # inter f0bin0

R1 (config-if) # ipv6 enable

R1 (config-if) # ipv6 add 2002 purl 801 purl 101rig 2mac48

R1 (config-if) # no shut

R1 (config-if) # exit

R1 (config) # ipv6 uni

R1 (config) # ipv6 route:: / 0 2002VOULING 801MULTING 101VOLING 1

R1 (config) #

R5#config t

R5 (config) # interf0/0

R5 (config-if) # ipv6 enable

R5 (config-if) # ipv6 add 2002 purl 901 purl 101purl vizuki 48

R5 (config-if) # no shut

R5 (config-if) # exit

R5 (config) # ipv6 uni

R5 (config) # ipv6 route:: / 0 2002 901 101

R5 (config) #

R3#config t

R3 (config) # interf0/0

R3 (config-if) # ip add 8.1.1.2 255.255.255.0

R3 (config-if) # no shut

R3 (config-if) # inter f1max 0

R3 (config-if) # ip add 9.1.1.2 255.255.255.0

R3 (config-if) # no shut

R3 (config-if) # exit

R3 (config) #

R2#config t

R2 (config) # inter f0and0

R2 (config-if) # ip add 8.1.1.1 255.255.255.0

R2 (config-if) # no shut

R2 (config-if) # inter f1and0

R2 (config-if) # ipv6 ena

R2 (config-if) # ipv6 add 2002 purge 801 handkerchief 101 purveyor 48

R2 (config-if) # no shut

R2 (config-if) # inter tunnel 0

R2 (config-if) # ipv6 ena

R2 (config-if) # ipv6 add 2001 purge 801 handkerchief 101 purveyor 48

R2 (config-if) # tunnel source 8.1.1.1

R2 (config-if) # tunnel mode ipv6ip 6to4

R2 (config-if) # no shut

R2 (config-if) # exit

R2 (config) # ip route 9.1.1.0 255.255.255.08.1.1.2

R2 (config) # ipv6uni

R2 (config) # ipv6route 2002 tunnel 901 tunnel 101

R2 (config) #

R4#config t

R4 (config) # interf0/0

R4 (config-if) # ip add 9.1.1.1 255.255.255.0

R4 (config-if) # no shut

R4 (config-if) # inter f1max 0

R4 (config-if) # ipv6 ena

R4 (config-if) # ipv6 add 2002 purl 901 handkerchief 101 purl motto 48

R4 (config-if) # no shut

R4 (config-if) # inter tunnel 0

R4 (config-if) # ipv6 ena

R4 (config-if) # ipv6 add 2001 purl 901 handkerchief 101 purl motto 48

R4 (config-if) # tunnel source 9.1.1.1

R4 (config-if) # tunnel mode ipv6ip 6to4

R4 (config-if) # no shut

R4 (config-if) # exit

R4 (config) # iproute 8.1.1.0 255.255.255.0 9.1.1.2

R4 (config) # ipv6uni

R4 (config) # ipv6route 2002 tunnel 801

R4 (config) #

Test:

R1#ping 2002:901:101::2

R2#ping2002:801:101::2

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report