cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1601
Views
4
Helpful
16
Replies

NAT64 DROPS COMING FROM IPV6 TO IPV4

shaileshtata1
Level 1
Level 1

***Configuration on Bridge Domain  for NAT64 on IR8340 *************

interface BDI1
ip address 9.1.1.2 255.255.255.0
ipv6 address 3001:11:0:1::1/64
ipv6 enable
encapsulation dot1Q 11
nat64 enable
end

nat64 prefix stateful 3001::/96
nat64 v4v6 static 9.1.1.3 3001::960B:202
nat64 v4v6 static 150.11.2.2 2001::960B:201
nat64 v6v4 static 2001:11:0:1::2 150.11.7.2
nat64 v6v4 static 3001:11:0:1::2 9.1.7.2

drops coming although intermittent ping happening from IPv6 to IPv6 translation of IPv4 device.

IR8340#sh nat64 statistics int bdi1
NAT64 Statistics

Interface Statistics
BDI1 (IPv4 configured, IPv6 configured):
Packets translated (IPv4 -> IPv6)
Stateless: 0
Stateful: 234
nat46: 0
MAP-T: 0
MAP-E: 0
Packets translated (IPv6 -> IPv4)
Stateless: 0
Stateful: 220
nat46: 0
MAP-T: 0
MAP-E: 0
Packets dropped: 16

following drops messages are coming 

IR8340#sh platform hardware qfp active feature nat64 datapath statistics
non-extended 4 statics 4 ext_binds 0
v6v4 xlated pkts 689
v4v6 xlated pkts 703
NAT46 v4v6 xlated pkts 0
NAT46 v6v4 xlated pkts 0
generated tcp csum 0
generated udp csum 0
Proxy Stats ipc retry fail 0
Alias: add 0 del 0 add_fail 0 del_fail 0
nat64_v6tov4_pkts 0 nat64_v4tov6_pkts 0 nat64_fbd_hits 0
NAT64_DROP_SC_PROCESS_V6_ERR 317
NAT64_DROP_SC_CLASSIFY_V6V4_FAIL 317
NAT64_DROP_SC_NO_N64_SB 6

if anyone know the reason or cause please help ?? urgent help required.

1 Accepted Solution

Accepted Solutions

shaileshtata1
Level 1
Level 1

Finally the issue was resolved.

Config was perfectly fine.

The issue was IPv6 stack of End device .

In TX340s the IPv6 stack responds to Auto Configuration when it is in static configuration after some time. Thus it starts sending packets with EUI-64 IPv6 address after some time.

Thanks everyone for the response. 

 

View solution in original post

16 Replies 16

Rich R
VIP
VIP

1. Make sure your IOS-XE version is up to date to eliminate any known/fixed bugs.  What version are you using?

2. Use packet trace to identify the specific point at which the packets are getting dropped and why?  Even then the reason may not always be clear and you might need to open a TAC case.
https://www.cisco.com/c/en/us/support/docs/content-networking/adaptive-session-redundancy-asr/117858-technote-asr-00.html

 

Thanks Rich 

1. Make sure your IOS-XE version is up to date to eliminate any known/fixed bugs.  What version are you using?

Ans : It is up to date and the version is 17.8.1a 

Drop reasons is already coming as following only thing is description of these codes is unavailable  

NAT64_DROP_SC_PROCESS_V6_ERR 317
NAT64_DROP_SC_CLASSIFY_V6V4_FAIL 317

 

 

>Ans : It is up to date and the version is 17.8.1a 
Are you joking?  17.8 is a limited support release - it will never get any rebuilds with bug fixes and is already out of date. https://www.cisco.com/c/en/us/products/collateral/ios-nx-os-software/ios-xe-17/ios-xe-17-8-x-eol.html
You should only ever be using a limited support release for a short time to get a specific new feature or fix before a suitable extended support release is available, and then you should plan to migrate to the appropriate extended support release as soon as it is available.
In your case you should be using 17.9.4a.  The next extended support release train is 17.12 so you should already be planning to move to 17.12 when 17.9 approaches end of software maintenance.
https://www.cisco.com/c/en/us/products/collateral/ios-nx-os-software/ios-xe-17/ios-xe-17-9-x-eol.html

1. Upgrade to 17.9.4a (because that's probably the first thing TAC will tell you anyway).

2. If you still see the problem on 17.9.4a then open a TAC case to diagnose it.

shaileshtata1
Level 1
Level 1

Hi Rich ,  We updated the SW version to 17.9.4a but still the issue persists. 

Can you share config you use

MHM

Hi the following is the configuration being used 

 

***Configuration on Bridge Domain  for NAT64 on IR8340 *************

interface BDI1
ip address 9.1.1.2 255.255.255.0
ipv6 address 3001:11:0:1::1/64
ipv6 enable
encapsulation dot1Q 11
nat64 enable
end

nat64 prefix stateful 3001::/96
nat64 v4v6 static 9.1.1.3 3001::960B:202
nat64 v4v6 static 150.11.2.2 2001::960B:201
nat64 v6v4 static 2001:11:0:1::2 150.11.7.2
nat64 v6v4 static 3001:11:0:1::2 9.1.7.2

 

 

Sorry for my little info. But I try help here.

NAT64 used between interface have ipv4 and other interface have ipv6' it NATing ipv4toipv6

Here I see BDI have both ip (dual stack) and NAT64 enable!!!

MHM

Did you do a Datapath Packet Trace as advised in my first reply?

shaileshtata1
Level 1
Level 1

Hi All , 

Test Setup as follows :

shaileshtata1_0-1701696960110.png

 

Configuration Done on Router as follows :

 

Current bridge-domain configuration:
1
member GigabitEthernet0/0/0 service-instance 1
member Vlan11 service-instance 1

!
end

interface BDI1
mtu 1650
ip address 9.1.1.2 255.255.255.0
ip pim dense-mode
ipv6 address 3001:11:0:1::2/64
ipv6 enable
encapsulation dot1Q 11
nat64 enable
end

interface Vlan11
no ip address
service instance 1 ethernet
encapsulation dot1q 1-4094
!
end

!
interface GigabitEthernet0/1/5
switchport access vlan 11
switchport mode access
end

interface GigabitEthernet0/1/6
switchport access vlan 11
switchport mode access
end

nat64 prefix stateful 3001::/96
nat64 v4v6 static 9.1.1.3 3001::960B:202
nat64 v6v4 static 3001:11:0:1::3 9.1.7.2

 

Any help offered will ne highly appreciated.

 

 

 

Check my note above'

You need two interface in route not use BDI dual stack 

MHM

1. All Ethernet ports L2 switch ports only. Can i have 02 different VLANs : One for IPv4 & another IPv6 and route them , Then it shall work .

thanks in advance for the response 

Vlan SVI or l3 port NAT64 work in any l3 interface.

MHM

But it is working for IPv4 and sometimes for IPv6 also. Why it starts dropping packets. 

Did you config vlan? 

Share last config 

Review Cisco Networking for a $25 gift card