09-17-2015 03:43 PM - edited 03-01-2019 05:48 PM
Hi, i'm having some issues configuring a simple nat-pt. Unfortunately I'm not able to make the Client (172.17.0.2) communicate with the server (2001:db8:cafe::1).
Router configuration:
interface Loopback0
ip address 201.201.201.5 255.255.255.252
!
!
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
ipv6 address 2001:DB8:CAFE::2/64
ipv6 enable
ipv6 nat
!
interface GigabitEthernet0/1
ip address 172.17.0.1 255.255.255.0
duplex auto
speed auto
ipv6 enable
ipv6 nat
!
!
ip access-list standard NAT_TRAFFIC
permit any
!
!
!
ipv6 nat v4v6 source list NAT_TRAFFIC pool IPV4_TO_IPV6
ipv6 nat v4v6 pool IPV4_TO_IPV6 2000::960B:150 2000::960B:250 prefix-length 96
ipv6 nat v6v4 source 2001:DB8:CAFE::30 201.201.201.5
ipv6 nat prefix 2000::/96
I tried with static nat, but it also doesn't work.
ipv6 nat v4v6 source 172.17.0.2 2000::960B:251
ipv6 nat v6v4 source 2001:DB8:CAFE::30 201.201.201.5
ipv6 nat prefix 2000::/96
Thanks in advance. :)
Solved! Go to Solution.
10-13-2015 02:32 AM
Hi
I did this a couple of years ago on c7200. To get it to work then, I had to disable cef for both ipv6 and ipv4.
Also something in my mind, I think I had to do "no ip route-cache", but not sure.
I think it had to do with no support for natpt in cef path, and also natpt was removed from fast-cache.
/Mikael
09-18-2015 12:56 AM
Try to add static ipv6 route for 2000::/96 via Gi0/0
Kind regards
09-22-2015 04:04 PM
Better yet, if possible dual stack the inside subnet of the router and ditch the nat46 for native v6. Even things as old as windows-XP can optionally do native v6 with SLAAC, though they need a v4 DNS server and won't do DHCPv6.
-- Jim Leinweber, WI State Lab of Hygiene
10-13-2015 01:20 PM
Thanks for the answer. But it didn't work.
Actually I think the router didn't need a route to this network because the package should be translated to ipv4 before be routed to g0/0
10-13-2015 02:32 AM
Hi
I did this a couple of years ago on c7200. To get it to work then, I had to disable cef for both ipv6 and ipv4.
Also something in my mind, I think I had to do "no ip route-cache", but not sure.
I think it had to do with no support for natpt in cef path, and also natpt was removed from fast-cache.
/Mikael
10-13-2015 01:14 PM
Hi Mikael.
I did the lab again days ago and that's exactly what was missing apparently. But I'm not sure about the no ip route-cache.
For those who are trying to do a similar lab. Doesn't forget to enable IPv6 routing with the command ipv6 unicast-routing
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide