f0/0 f0/0 f0/1 f0/0
R1 -------------------------------------------------R2-------------------------------------------------------R3
.2 192.168.1.0/24 .1 :1 2001:db8:6783:1111::/64 :2
seen as 2002::2/64 seen as 172.16.0.1/24
R1
------
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
clock rate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
no ip http server
no ip http secure-server
!
!
!
end
------------
R2
------------
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
ipv6 nat
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
ipv6 address 2001:DB8:6783:1111::1/64
ipv6 enable
ipv6 nat
!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ipv6 route ::/0 2001:DB8:6783:1111::2
ipv6 nat v4v6 source 192.168.1.2 2002::2
ipv6 nat v6v4 source 2001:DB8:6783:1111::2 172.16.0.1
ipv6 nat prefix 2002::/96
!
no ip http server
no ip http secure-server
!
!
!
end
---------
R3
------
interface FastEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2001:DB8:6783:1111::2/64
ipv6 enable
!
interface Serial0/0
no ip address
shutdown
clock rate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
ipv6 route ::/0 2001:DB8:6783:1111::1
!
no ip http server
no ip http secure-server
!
!
!
end
↧