Technical data
ServerIron ADX NAT64 Configuration Guide 49
53-1002444-02
NAT46 static mapping configuration
4
DRAFT: BROCADE CONFIDENTIAL
Configuring static NAT46 IPv4 prefixes with static route injection
The NAT46 IPv4 prefix provides a range of IPv4 addresses on the NAT46 gateway that can be used
to represent IPv6 resources. It is created by defining an IPv4 prefix with a subnet mask. Any IPv4
address within the defined subnet can then be assigned to an IPv6 resource made available
through the gateway.
Use the nat64 ipv4-prefix command with the inject-static-route option to direct the ServerIron ADX
to inject a static route to each of the IPv4 addresses within the defined IPv4 subnet that have IPv6
addresses mapped to them.
Enter a command such as the following:
ServerIron ADX(config)# nat64 ipv4-prefix 200.1.1.0/24 inject-static-route
Syntax: [no] nat64 ipv4-prefix <prefix/subnet> [inject-static-route]
The <prefix/subnet> variable specifies the NAT46 IPv4 prefix that will be used by the ServerIron
ADX when operating as a NAT46 gateway.
The inject-static-route option injects the host route into the routing protocol. The host route is only
injected if the static map command is issued or a dynamic mapping is found. Unlike when an IPv6
prefix route is injected, the IPv4 route injection configuration does not require that you specify an
interface. Route injection for IPv4 uses the null0 route.
Configuring NAT46 static mapping
Use the nat64 map command to specify an IPv4 address (within the subnet defined by the NAT46
IPv4 prefix) and map that address to the IPv6 address of a resource.
Enter a command such as the following:
ServerIron ADX(config)# nat64 map 201.1.1.100 2001:db8:8000::100
Syntax: [no] nat64 map <ipv4-address> <ipv6-address>
The <ipv4-address> variable defines an IPv4 address within the subnet defined by the NAT46 IPv4
prefix that identifies an IPv6 resource to the IPv4-only network.
The <ipv6-address> variable specifies the IPv6 address of the IPv6 resource that is being mapped
to the IPv4 address specified by the <ipv4-address> variable within this command.
NOTE
The static IPv4 host route is injected into the IPv4 routing table if a matching IPv4 prefix is
configured.
NOTE
A maximum of 1024 entries is supported in the mapping table. Entries can be defined manually
using the nat64 map command or dynamically using real-time or prefetched dynamic mappings. For
more information, refer to “Populating the NAT46 mapping table” on page 45.










