05-15-2021 12:57 AM
Hi Team,
I have Configured NAT64 on an ASR. It appears everything is working as required until the outgoing DNS64 Addressed IPv6 packets 'hit the NAT64 server (ASR)' on Int GE0/0/0. Int GE0/0/3.31211 is connected to the IPv6 only host. Keen to hear what the Community has in the way of advice.
See sh nat64 statistics output below.
Edge.TR.M1#sh nat64 statistics
NAT64 Statistics
Total active translations: 0 (0 static, 0 dynamic; 0 extended)
Sessions found: 179796
Sessions created: 12225
Expired translations: 12225
Global Stats:
Packets translated (IPv4 -> IPv6)
Stateless: 0
Stateful: 65316
MAP-T: 0
Packets translated (IPv6 -> IPv4)
Stateless: 0
Stateful: 126705
MAP-T: 0
Interface Statistics
GigabitEthernet0/0/0 (IPv4 configured, IPv6 configured):
Packets translated (IPv4 -> IPv6)
Stateless: 0
Stateful: 65316
MAP-T: 0
Packets translated (IPv6 -> IPv4)
Stateless: 0
Stateful: 0
MAP-T: 0
Packets dropped: 1393902
GigabitEthernet0/0/3.31211 (IPv4 configured, IPv6 configured):
Packets translated (IPv4 -> IPv6)
Stateless: 0
Stateful: 0
MAP-T: 0
Packets translated (IPv6 -> IPv4)
Stateless: 0
Stateful: 126705
MAP-T: 0
Packets dropped: 278
Dynamic Mapping Statistics
v6v4
access-list nat64-acl pool pool1 refcount 0
pool pool1:
start 103.102.222.241 end 103.102.222.254
total addresses 14, allocated 0 (0%)
address exhaustion packet count 0
Limit Statistics
Please note: My (Public) DNS64 is using the WKP to create the manufactured AAAA records thus there is no prefix explicitly configured.
Here is the related NAT64 Configuration elements
ipv6 unicast-routing
ipv6 dhcp pool M1_Customers
prefix-delegation pool Global_M1_Pool
dns-server 2001:4860:4860::6464
dns-server 2001:4860:4860::64
option include-all
interface GigabitEthernet0/0/0
description Internet Transit
bandwidth 100000
ip address 49.xxx.xxx.82 255.255.255.252
ip nbar protocol-discovery
ip access-group TRAFFIC in
ip access-group TRAFFIC out
negotiation auto
nat64 enable
ipv6 address 2402:xxxx:3000::1/126
ipv6 enable
no mop enabled
!
interface GigabitEthernet0/0/3.31211
description test host int
encapsulation dot1Q 3121 second-dot1q 3501
ip address 103.xxx.xxx.237 255.255.255.252
nat64 enable
ipv6 address 2406:xxxx:2000:1::1/64
ipv6 nd managed-config-flag
ipv6 nd other-config-flag
ipv6 dhcp server M1_Customers
!
ipv6 access-list nat64-acl
permit ipv6 any any
!
nat64 v4 pool pool1 103.xxx.xxx.241 103.xxx.xxx.254
nat64 v6v4 list nat64-acl pool pool1 overload
Solved! Go to Solution.
05-16-2021 06:50 PM - edited 05-16-2021 08:05 PM
Hi Craig,
> As you have most likely already seen, my Internet facing IPv6 Interface is a Dual Stack interface.
It is fine to have this interface as dual stack. This is not a problem.
> Not previously advised, I also have an IPv4 only Interface connecting to a second ISP.
You should configure "nat64 enable" on this interface. If any traffic comes back through this interface and nat64 is not enabled, this traffic will not be translated back, which could explain what you are seeing.
> A question: should I statically route outgoing NAT64 translated IPv4 packet via the second IPv4 only interface?
This is not required.
> Could not explicitly directing NAT64 translated IPv4 packets to either ISP interfaces be resulting in the dropped NAT64 packets?
Just make sure you have "nat64 enable" on all Internet facing interfaces through which the traffic might come back and you should be fine.
Regards,
05-15-2021 07:55 AM - edited 05-15-2021 08:50 AM
Hi Craig,
Can you tell us a bit more about what is not working? Can you ping 64:ff9b::8.8.8.8 from the IPv6 only host.
Also, could you please post the output from a "show nat64 trans"
Regards,
05-15-2021 06:13 PM
05-16-2021 12:55 AM
Hello,
what does your routing look like ?
nat64 route ?
ipv6 route ?
05-16-2021 03:07 AM
05-16-2021 04:31 PM
Hi Georg and Harold,
As you have most likely already seen, my Internet facing IPv6 Interface is a Dual Stack interface. Not previously advised, I also have an IPv4 only Interface connecting to a second ISP. A question: should I statically route outgoing NAT64 translated IPv4 packet via the second IPv4 only interface? Could not explicitly directing NAT64 translated IPv4 packets to either ISP interfaces be resulting in the dropped NAT64 packets? I am racking my brain trying to think of causes, as I believe I have NAT64 configured correctly.
Thanks for assisting!
05-16-2021 06:50 PM - edited 05-16-2021 08:05 PM
Hi Craig,
> As you have most likely already seen, my Internet facing IPv6 Interface is a Dual Stack interface.
It is fine to have this interface as dual stack. This is not a problem.
> Not previously advised, I also have an IPv4 only Interface connecting to a second ISP.
You should configure "nat64 enable" on this interface. If any traffic comes back through this interface and nat64 is not enabled, this traffic will not be translated back, which could explain what you are seeing.
> A question: should I statically route outgoing NAT64 translated IPv4 packet via the second IPv4 only interface?
This is not required.
> Could not explicitly directing NAT64 translated IPv4 packets to either ISP interfaces be resulting in the dropped NAT64 packets?
Just make sure you have "nat64 enable" on all Internet facing interfaces through which the traffic might come back and you should be fine.
Regards,
05-16-2021 08:10 PM
Hi Harold,
Thanks! As the saying goes: I couldn't see the forest for the trees.
Whilst I am yet to test again, I believe your advice has "hit the nail on the head". Some of the services that were not working were MS Office 365 and MS Teams. We peer directly with MS over an interface that had not been considered. I have now enabled NAT64 on the 2nd ISP Interface and the 'peering' interface and will test ASAP. I will let you know, but I think you have identified my failure!
Cheers
05-23-2021 04:46 PM
Hi Harold,
Sorry for the delay. Enabling NAT64 on all Internet Facing interfaces worked a treat. Full Public Internet IPv6 and IPv4 host access has been achieved. Thanks Again!
05-24-2021 06:36 AM
You are very welcome Craig.
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