IPv6 and IPV4 visits

Source: Internet
Author: User

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/82/72/wKioL1dVgmui9Z2JAAAYQTpwR5M407.png "title=" 1.png " alt= "Wkiol1dvgmui9z2jaaayqtpwr5m407.png"/>

(Routers with 3700 )


R1#config T

R1 (config) #interface f0/0

R1 (config-if) #ipv6 enable

R1 (config-if) #ipv6 address 2001:2::1/64

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:1::1/64

R1 (config-if) #no shut

R1 (config-if) #exit

R1 (config) #ipv6 unicast-routing

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

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 f0/0

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 f0/0

R2 (config-if) #ipv6 address 2001:2::2/64

R2 (config-if) #ipv6 enable

R2 (config-if) #ipv6 NAT

R2 (config-if) #no shut

R2 (config-if) #exit

R2 (config) #interface F0/1

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:1::/64 2001:2::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



IPv6 and IPv4 visits

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.