interface ServiceApp4
ipv4 address 7.1.1.1 255.255.255.252
service cgn cgn1 service-type nat64 stateless
!
interface ServiceApp6
ipv6 address 2011::1/64
service cgn cgn1 service-type nat64 stateless
!
interface ServiceInfra1
ipv4 address 75.75.75.75 255.255.255.0
service-location 0/3/CPU0
!
router static
address-family ipv4 unicast
192.0.2.0/24 ServiceApp4
198.51.100.0/24 10.97.97.1
!
address-family ipv6 unicast
2001:db8:100::/40 ServiceApp6
2001:db8:1c0:2::/64 2010::22
!
!
CGSE Configuration:
service cgn cgn1
service-location preferred-active 0/3/CPU0
!
service-type nat64 stateless xlat
ipv6-prefix 2001:db8:100::/40
address-family ipv4
tos 64
interface ServiceApp4
tcp mss 1200
!
address-family ipv6
interface ServiceApp6
traffic-class 32
tcp mss 1200
df-override
!
traceroute translation
address-pool 202.1.1.0/24
algorithm Hash
!
!
IPv4 Hardware Configuration:
interface Loopback251
description IPv4 Host for NAT64 XLAT
ipv4 address 198.51.100.2 255.255.255.0
!
interface GigabitEthernet0/6/5/1.20
description Connected to P2_CRS-8 GE 0/6/5/1.20
ipv4 address 10.97.97.1 255.255.255.0
dot1q vlan 20
!
router static
address-family ipv4 unicast
192.0.2.0/24 10.97.97.2 !
!
Predefined NAT Configuration: Example
This example shows how to configure the predefined NAT for NAT44:
service cgn cgn1
service-location preferred-active 0/2/CPU0
service-type nat44 nat1
inside-vrf Inside_1
map address-pool 192.12.0.0/24
nat-mode predefined
private-pool 192.1.106.0/24
Cisco IOS XR Carrier Grade NAT Configuration Guide for the Cisco CRS Router, Release 5.2.x
OL-32659-01 89
Implementing Carrier Grade NAT on Cisco IOS XR Software
Predefined NAT Configuration: Example