-
Notifications
You must be signed in to change notification settings - Fork 32
Description
i'm trying to use this through openwrt main with minimal configuration (basically, map package installed and expect ISP DHCP to do the rest).
i had some trouble with the 20 byte overhead but i believe that's sorted. IP4 connectivity seems to work except that no external IP4 addresses can be be pinged, either from clients or from the router itself.
i turned debug up to 5 and every time i try to e.g. ping 1.1.1.1 i see this in the log:
May 21 21:48:25 my-r4s kernel: [96555.777549] nat46_ipv4_input packet
May 21 21:48:25 my-r4s kernel: [96555.777958] nat46_ipv4_input protocol: 1, len: 84, flags: 01
May 21 21:48:25 my-r4s kernel: [96555.778482] ICMP echo request translated into IPv6, id: 3410
May 21 21:48:25 my-r4s kernel: [96555.779026] xlate_map_v4_to_v6: IPv4 address wx.yz.27.159 outside of MAP domain st.uv.160.0/22
May 21 21:48:25 my-r4s kernel: [96555.779860] [nat46] pairs_xlate_v4_to_v6_outer result: src -1 dst 2
May 21 21:48:25 my-r4s kernel: [96555.780430] [nat46] Could not find a translation pair v4->v6
May 21 21:48:25 my-r4s kernel: [96555.780964] [nat46] Could not translate v4->v6
wx.yz.27.159 is the IP4 address seen on the wan interface in e.g. ip address, st.uv.160.0/22 i passed to netifd so presumably is coming back from the ISP DHCP server. i gather from the RFC that ICMP is supposed to be treated slightly differently to other traffic — should the IP4 address be getting translated to the MAP domain?
is this a misconfiguration from the ISP, openwrt, or a bug in nat46?