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

Exchange of visits between IPv6 and IPv4

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

Share

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

(3700 for router)

R1#config t

R1 (config) # interface f0bin0

R1 (config-if) # ipv6 enable

R1 (config-if) # ipv6 address 2001 purl 2purl 1mox64

R1 (config-if) # no shut

R1 (config-if) # exit

R1 (config) # interface loopback 0

R1 (config-if) # ipv6 enable

R1 (config-if) # ipv6 address 2001 purge 1mod motto 64

R1 (config-if) # no shut

R1 (config-if) # exit

R1 (config) # ipv6 unicast-routing

R1 (config) # ipv6 route:: / 0 2001

R1 (config) # exit

R3#config t

R3 (config) # iprouting

R3 (config) # ip route 0.0.0.0 0.0.0.0 8.1.1.1

R3 (config) # interface f0Let0

R3 (config-if) # ip address 8.1.1.2255.255.255.0

R3 (config-if) # no shut

R3 (config-if) # exit

R3 (config) # interface loopback 0

R3 (config-if) # ip address 9.1.1.1255.255.255.0

R3 (config-if) # no shut

R3 (config-if) # exit

R2#config t

R2 (config) # interface f0and0

R2 (config-if) # ipv6 address 2001 purl 2purl 2Unip 64

R2 (config-if) # ipv6 enable

R2 (config-if) # ipv6 nat

R2 (config-if) # no shut

R2 (config-if) # exit

R2 (config) # interface f0bin1

R2 (config-if) # ip address 8.1.1.1255.255.255.0

R2 (config-if) # ipv6 nat

R2 (config-if) # no shut

R2 (config-if) # exit

R2 (config) # ip routing

R2 (config) # iproute 9.1.1.0 255.255.255.0 8.1.1.2

R2 (config) # ipv6 unicast-routing

R2 (config) # ipv6 route 2001 Fraser 1Rd Dot 64 2001Rd 2VOG 1

R2 (config) # ipv6 nat v6v4 source list listv6pool poolv4

R2 (config) # ipv6 nat v6v4 pool poolv48.1.1.1 8.1.1.254 prefix-length 24

R2 (config) # ipv6 nat prefix 2002::/96v4-mapped v4map

R2 (config) # ipv6 access-list v4map

R2 (config-ipv6-acl) # permit ipv6 any2002::/96

R2 (config-ipv6-acl) # exit

R2 (config) # ipv6 access-list listv6

R2 (config-ipv6-acl) # permit ipv6 any2002::/96

R2 (config-ipv6-acl) # exit

R2 (config) # exit

R2#

test

R1#ping2002::901:101

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