Technical data
32 ServerIron ADX NAT64 Configuration Guide
53-1002288-02
Configuring NAT64 for IPv4-only client to IPv6 resource
3
DRAFT: BROCADE CONFIDENTIAL
In this example, the IPv4 address (100.1.1.1) is stripped out of the concatenated IPv6 packet and
used as the source address in the packet forwarded to the IPv4 client. That IPv4 address is
mapped to the clients IPv4 address (192.0.2.1) in the mapping table and used as the destination
IPv4 address.
Configuring NAT64 for IPv4-only client to IPv6 resource
Configuration of NAT64 for an IPv6-only client to an IPv4-only resource is performed using the
following:
• Configure a NAT64 IPv4 prefix (required)
• Configure a NAT64 IPv6 prefix (required)
• Configuring static mapping (optional)
• Configure DNS dynamic learning (optional)
• Configure a back-off interval for DNS discoveries (optional)
NOTE
The maximum number if NAT prefixes that can be configured on a ServerIron ADX is 8.
NOTE
If you are configuring NAT64 on a system that has had a previous SLB configuration see “When
installing NAT64 on a ServerIron ADX with a previous config” on page 6
Configuring a NAT64 IPv4 prefix
A NAT64 IPv4 prefix is configured on a ServerIron ADX as shown.
ServerIron ADX(config) nat64 ipv4-prefix 200.1.1.0/24 prefetch
Syntax: [no] nat64 ipv4-prefix <prefix/subnet> [inject-static-route] [prefetch]
The <prefix/subnet> variable specifies the NAT64 IPv4 prefix that will be used by the ServerIron
ADX when operating as a NAT64 gateway.
The inject-static-route option injects the host route into the routing protocol. The host route will only
be 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 you to specify
an interface. Route injection for IPv4 uses the null0 route. NAT46 route injection is described in
detail in “Route injection NAT46” on page 35.
The prefetch option directs the ServerIron ADX to prefetch IPv4 to IPv6 mappings from DNS. the
nat64 dns-dynamic-learning command must be configured for this option to take effect. If it is not
configured, an error message will be displayed.
Configuring a NAT64 IPv6 prefix
A NAT64 IPv6 prefix is configured on a ServerIron ADX as shown.
ServerIron ADX(config) nat64 ipv6-prefix 2001:db7:8000::0/96 inject-static-route
ve 7 stateless