cgnv6 nat46-stateless

Stateless NAT46 enables IPv4 clients to reach IPv6 servers, without maintaining per-connection information on the ACOS

device. Stateless NAT46 uses statically configured IPv4-IPv6 mappings. When an IPv4 client sends a request to a server, the destination address of the request is an IPv4 address. If the destination IPv4 address is statically mapped to the server’s IPv6 address, stateless NAT46 NATs the request and forwards it to the server.

nat46-stateless Specification

Type Intermediate Resource
Element Name nat46-stateless
Element URI /axapi/v3/cgnv6/nat46-stateless
Element Attributes nat46-stateless_attributes
Schema nat46-stateless schema

Operations Allowed:

Operation Method URI Payload

Get Object

GET

/axapi/v3/cgnv6/nat46-stateless

nat46-stateless_attributes

nat46-stateless Attributes

fragmentation

Description: fragmentation is a JSON Block . Please see below for fragmentation

Type: Object

Reference Object: /axapi/v3/cgnv6/nat46-stateless/fragmentation

global

Description: global is a JSON Block . Please see below for global

Type: Object

Reference Object: /axapi/v3/cgnv6/nat46-stateless/global

prefix

Description: prefix is a JSON Block . Please see below for prefix

Type: Object

Reference Object: /axapi/v3/cgnv6/nat46-stateless/prefix

static-dest-mapping-list

Description: static-dest-mapping-list is a JSON List . Please see below for static-dest-mapping-list

Type: List

Reference Object: /axapi/v3/cgnv6/nat46-stateless/static-dest-mapping/{v4-address}+{v6-address}

static-dest-mapping-list

Specification
Type list
Block object keys

count

Description: Set number of consecutive mappings (Number of mappings)

Type: number

uuid

Description: uuid of the object

Type: string

v4-address

Description: IPv4 address

Type: string

Format: ipv4-address

v6-address

Description: IPv6 address

Type: string

Format: ipv6-address

vrid

Description: VRRP-A vrid (Specify ha VRRP-A vrid)

Type: number

Range: 1-31

fragmentation

Specification
Type object

inbound

Description: inbound is a JSON Block . Please see below for l932_inbound

Type: Object

Reference Object: /axapi/v3/cgnv6/nat46-stateless/fragmentation/inbound

outbound

Description: outbound is a JSON Block . Please see below for l932_outbound

Type: Object

Reference Object: /axapi/v3/cgnv6/nat46-stateless/fragmentation/outbound

fragmentation.inbound

Specification
Type object

action

Description: Inbound action to take for fragmentation:

  • drop : IPv4 fragmentation is not allowed. Oversize packets are dropped. No ICMPv6 error message is sent.
  • ipv4 : IPv4 fragmentation is allowed (default).
  • send-icmpv6 : IPv4 fragmentation is not allowed. Oversize packets are dropped, and an ICMPv6 error message is sent (Type 2 Code 0).

Type: string

Supported Values: drop, ipv4, send-icmpv6

Default: ipv4

uuid

Description: uuid of the object

Type: string

fragmentation.outbound

Specification
Type object

action

Description: Change fragmentation support for outbound IPv4-to-IPv6 traffic:

  • drop : IPv6 fragmentation is not allowed. Oversize packets are dropped. No ICMP error message is sent.
  • ipv6 : IPv6 fragmentation is allowed (default).
  • send-icmp : Send ICMP Type 3 Code 4 (Fragmentation Needed and DF Set).

Type: string

Supported Values: drop, ipv6

Default: ipv6

count

Description: Configure the number of ICMP messages sent when the Don’t Fragment bit is set.

Type: number

Range: 1-5

Default: 1

df-set

Description: Change fragmentation support for outbound IPv4 packets that have the Don’t Fragment bit set:

  • drop : IPv6 fragmentation is not allowed. Oversize packets are dropped. No ICMP error message is sent.
  • ipv6 : IPv6 fragmentation is allowed.
  • send-icmp : IPv6 fragmentation is not allowed. Oversize packets are dropped, and an ICMP error message is sent (Type 3 Code 4, Fragmentation Needed and DF Set - default).

Type: string

Supported Values: drop, ipv6, send-icmp

Default: send-icmp

uuid

Description: uuid of the object

Type: string

global

Specification
Type object

sampling-enable

Description: sampling-enable is a JSON List . Please see below for l932_sampling-enable

Type: List

uuid

Description: uuid of the object

Type: string

global.sampling-enable

Specification
Type list
Block object keys

counters1

Description: ‘all’: all; ‘outbound_ipv4_received’: Outbound IPv4 packets received; ‘outbound_ipv4_drop’: Outbound IPv4 packets dropped; ‘outbound_ipv4_fragment_received’: Outbound IPv4 fragment packets received; ‘outbound_ipv6_unreachable’: Outbound IPv6 destination unreachable; ‘outbound_ipv6_fragmented’: Outbound IPv6 packets fragmented; ‘inbound_ipv6_received’: Inbound IPv6 packets received; ‘inbound_ipv6_drop’: Inbound IPv6 packets dropped; ‘inbound_ipv6_fragment_received’: Inbound IPv6 fragment packets received; ‘inbound_ipv4_unreachable’: Inbound IPv4 destination unreachable; ‘inbound_ipv4_fragmented’: Inbound IPv4 packets fragmented; ‘packet_too_big’: Packet too big; ‘fragment_error’: Fragment processing errors; ‘icmpv6_to_icmp’: ICMPv6 to ICMP; ‘icmpv6_to_icmp_error’: ICMPv6 to ICMP errors; ‘icmp_to_icmpv6’: ICMP to ICMPv6; ‘icmp_to_icmpv6_error’: ICMP to ICMPv6 errors; ‘ha_standby’: HA is standby; ‘other_error’: Other errors;

Type: string

Supported Values: all, outbound_ipv4_received, outbound_ipv4_drop, outbound_ipv4_fragment_received, outbound_ipv6_unreachable, outbound_ipv6_fragmented, inbound_ipv6_received, inbound_ipv6_drop, inbound_ipv6_fragment_received, inbound_ipv4_unreachable, inbound_ipv4_fragmented, packet_too_big, fragment_error, icmpv6_to_icmp, icmpv6_to_icmp_error, icmp_to_icmpv6, icmp_to_icmpv6_error, ha_standby, other_error

prefix

Specification
Type object

ipv6-prefix

Description: Configure the IPv6 prefix.

Type: string

Format: ipv6-address-plen

uuid

Description: uuid of the object

Type: string