The NAT64 function converts the IPv6 packets sent by IPv6 clients to IPv4 packets and then converts IPv4 packets returned by IPv4 servers to IPv6 packets. This ensures that IPv6 clients can communicate with IPv4 servers normally.
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | enable | boolean | |
| default | ippool | asso | Sets the IPv4 pool used by the NAT64 function. The NAT64 function will convert the source IPv6 address to an IP address in the IP pool. |
| default | prefix | string | Sets the IPv6 prefix used by the NAT64 function. The NAT64 function will remove the IPv6 prefix from the destination IPv6 address to obtain the IPv4 address of the real service. |
| default | idle_time | int | Sets the idle timeout period for NAT64 TCP connections. |
| connection | connection | asso | |
| nat64_statistics | nat64_statistics | clitext | |
| nat64_stats | a_query_counter | StorableField | |
| nat64_stats | a4_query_counter | StorableField | |
| nat64_stats | a_response_counter | StorableField | |
| nat64_stats | a4_response_counter | StorableField |
{
"NAT64Settings": {
"meta": {
"abstract": false,
"verbose_name": NAT64 Settings,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
| Parameter | Type | Description |
|---|---|---|
| field_group_name | URI | (optional) Target field group name to query. Available names are: default, connection, nat64_statistics, nat64_stats, Notice: There could only be one field_group_name or field_name in the URL. And if both field_group_name and field_name are not specified, will try to query default field_group data. |
| field_name | URI | (optional) Target field name to query. Available names are: enable, ippool, prefix, idle_time, connection, nat64_statistics, a_query_counter, a4_query_counter, a_response_counter, a4_response_counter, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | enable | boolean | |
| default | ippool | asso | Sets the IPv4 pool used by the NAT64 function. The NAT64 function will convert the source IPv6 address to an IP address in the IP pool. |
| default | prefix | string | Sets the IPv6 prefix used by the NAT64 function. The NAT64 function will remove the IPv6 prefix from the destination IPv6 address to obtain the IPv4 address of the real service. |
| default | idle_time | int | Sets the idle timeout period for NAT64 TCP connections. |
| connection | connection | asso | |
| nat64_statistics | nat64_statistics | clitext | |
| nat64_stats | a_query_counter | StorableField | |
| nat64_stats | a4_query_counter | StorableField | |
| nat64_stats | a_response_counter | StorableField | |
| nat64_stats | a4_response_counter | StorableField |
{
"NAT64Settings": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"NAT64Settings": {
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"NAT64Settings": {
<field>:<value>,
}
}
{
<field_name>:<value>
}
When field name is specified in URL:
Notice: The fields not provided are left untouched.
{
<field_name1>:<value1>,
<field_name2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| field_name | URI | (optional) Target field name to update. Available field names are: enable, ippool, prefix, idle_time, connection, nat64_statistics, a_query_counter, a4_query_counter, a_response_counter, a4_response_counter, |
| Field Name | Type | Description |
|---|---|---|
| enable | boolean | |
| prefix | string | Sets the IPv6 prefix used by the NAT64 function. The NAT64 function will remove the IPv6 prefix from the destination IPv6 address to obtain the IPv4 address of the real service. |
| idle_time | int | Sets the idle timeout period for NAT64 TCP connections. |
All configuration fields and their values are replied:
{
"NAT64Settings": {
<field1>:<value1>,
<field2>:<value2>,
...
<field_group1>: {
<field3>:<value3>,
<field4>:<value4>,
...
},
<field_group2>: {
<field5>:<value5>,
<field6>:<value6>,
...
},
...
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"NAT64Settings": {
"instance_id":<instance_id>,
"connection":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}