locked
How to use command [New-NetNatTransitionConfiguration] RRS feed

  • Question

  • i'd like to implement NAT64 on Windows Server 2019 so that my IPv6 2001:CCCC::/64 network can use IPv4 192.168.0.0/24,192.168.1.0/24

    I found only way to implement NAT64 is to use [New-NetNatTransitionConfiguration] command. 

    But the document is too short to understand. Please show me example of using [New-NetNatTransitionConfiguration] command.

    Thank you 

    • Edited by 이어진 Sunday, November 15, 2020 9:22 AM
    Sunday, November 15, 2020 9:22 AM

Answers

  • IPv4 -> IPv6 : Prefix 4001::/96 ( not exactly IPv4 -> IPv6 , an IPv6 Address of IPv4 Network used over IPv6 Network )

    IPv6 -> IPv4 :  Static 30.0.0.1 

    On Router

    New-NetNatTransitionConfiguration  -PrefixMapping "4001::/96,0.0.0.0/24" ( i still dont know what 0.0.0.0/0 means, but it just work even if it is set as any of ip address  )  -State Enabled -OutboundInterface ethernet0 ( ipv4 network side that has 30.0.0.1)  -IPv4AddressPortPool "30.0.0.1,*"  -InstanceName NAT64

    netsh interface ipv4 add address ethernet0 30.0.0.1 




    • Marked as answer by 이어진 Sunday, November 15, 2020 12:45 PM
    Sunday, November 15, 2020 12:45 PM

All replies

  • Could you explain meaning of "2009:1:2:3:4:5::/96" and 0.0.0.0/0?
    Sunday, November 15, 2020 10:42 AM
  • IPv4 -> IPv6 : Prefix 4001::/96 ( not exactly IPv4 -> IPv6 , an IPv6 Address of IPv4 Network used over IPv6 Network )

    IPv6 -> IPv4 :  Static 30.0.0.1 

    On Router

    New-NetNatTransitionConfiguration  -PrefixMapping "4001::/96,0.0.0.0/24" ( i still dont know what 0.0.0.0/0 means, but it just work even if it is set as any of ip address  )  -State Enabled -OutboundInterface ethernet0 ( ipv4 network side that has 30.0.0.1)  -IPv4AddressPortPool "30.0.0.1,*"  -InstanceName NAT64

    netsh interface ipv4 add address ethernet0 30.0.0.1 




    • Marked as answer by 이어진 Sunday, November 15, 2020 12:45 PM
    Sunday, November 15, 2020 12:45 PM