Hi,
I've played around with IPv6-to-IPv6 network prefix translation for several days now but unfortunately I couldn't get NPTv6 up and running so far.
By using tcpdump on ipfw0 I've noticed that IPFW seems to always add an additional group with hexadecimal digits to my predefined int_prefix argument.
I don't want to rule out that I misunderstand something. Can anybody help?
With the command ...
... I created the NPTv6 instance "NPT". If I understand ipfw(8) correctly, all incoming packets with prefix 2xxx:1111:2222:3333: should be translated to fd24:ca16:8eb0:5ab6:
Am I on the right track so far?
This is what tcpdump shows. Unfortunately I don't have an explanation why the internal address gets additional digits:
I would expect that 2xxx:1111:2222:3333::e is translated to fd24:ca16:8eb0:5ab6::e, not to fd24:ca16:8eb0:5ab6:bc5d::e
It would be great if someone could explain why "bc5d" is added after fd24:ca16:8eb0:5ab6:
Thanks in advance!
I've played around with IPv6-to-IPv6 network prefix translation for several days now but unfortunately I couldn't get NPTv6 up and running so far.
By using tcpdump on ipfw0 I've noticed that IPFW seems to always add an additional group with hexadecimal digits to my predefined int_prefix argument.
I don't want to rule out that I misunderstand something. Can anybody help?
With the command ...
ipfw nptv6 NPT create int_prefix fd24:ca16:8eb0:5ab6:: ext_prefix 2xxx:1111:2222:3333:: prefixlen 64
... I created the NPTv6 instance "NPT". If I understand ipfw(8) correctly, all incoming packets with prefix 2xxx:1111:2222:3333: should be translated to fd24:ca16:8eb0:5ab6:
Am I on the right track so far?
This is what tcpdump shows. Unfortunately I don't have an explanation why the internal address gets additional digits:
Code:
IP6 2604:6600:2005:3:fc2f:e93a:9b6:f469.9466 > 2xxx:1111:2222:3333::e.80: Flags , seq 1076004423, win 28800, options [mss 1440,nop,wscale 7], length 0
IP6 2604:6600:2005:3:fc2f:e93a:9b6:f469.9466 > fd24:ca16:8eb0:5ab6:bc5d::e.80: Flags , seq 1076004423, win 28800, options [mss 1440,nop,wscale 7], length 0
IP6 2604:6600:2005:3:fc2f:e93a:9b6:f469.9466 > fd24:ca16:8eb0:5ab6:bc5d::e.80: Flags , seq 1076004423, win 28800, options [mss 1440,nop,wscale 7], length 0
IP6 2604:6600:2005:3:fc2f:e93a:9b6:f469.9466 > fd24:ca16:8eb0:5ab6:bc5d::e.80: Flags , seq 1076004423, win 28800, options [mss 1440,nop,wscale 7], length 0
I would expect that 2xxx:1111:2222:3333::e is translated to fd24:ca16:8eb0:5ab6::e, not to fd24:ca16:8eb0:5ab6:bc5d::e
It would be great if someone could explain why "bc5d" is added after fd24:ca16:8eb0:5ab6:
Thanks in advance!