CGN Dual-Active Address Allocation Consistency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In a CGN dual-active scenario, existing technologies face challenges in ensuring source tracing consistency as multiple CGN devices may allocate different public network addresses and port ranges to the same private network address, leading to inconsistencies and resource wastage.
Innovation Solution
The proposed solution involves a method where one CGN device allocates a public network address and port range to a private network address, and synchronizes this allocation with another CGN device that does not perform such allocation, ensuring only one public network address and port range are allocated to a private network address, using a recorded correspondence between private, public addresses, and port ranges, and modifying packets accordingly.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If multiple CGN devices independently allocate public network addresses and port ranges to private network addresses in a dual-active scenario, then the system availability and load distribution are improved, but source tracing consistency deteriorates due to different allocations from different devices
Solution Approach 1:
The patent merges the address allocation functions of multiple CGN devices by designating one device as the primary allocator and having other devices synchronize with it. This combining approach ensures that all CGN devices use the same public network address and port range allocations, thereby maintaining source tracing consistency while preserving the dual-active configuration for high availability.
Solution Approach 2:
The patent introduces a synchronization mechanism as an intermediary between CGN devices. The primary CGN device acts as a mediator that maintains the authoritative allocation records, and other devices obtain allocations by synchronizing with this mediator, ensuring consistency across the distributed system without requiring all devices to independently make allocation decisions.
2Adaptability or versatility
If multiple CGN devices independently allocate public network addresses to private network addresses, then device independence and operational flexibility are improved, but resource utilization deteriorates due to duplicate allocations
Solution Approach 1:
The patent implements a feedback mechanism where CGN devices that are not performing allocation actively synchronize with the primary allocation device to obtain allocation information. This feedback loop ensures that all devices have awareness of existing allocations, preventing duplicate assignments and optimizing resource utilization while maintaining device independence for other operational aspects.
Solution Approach 2:
The patent applies preliminary action by having non-allocation CGN devices proactively synchronize with the primary device before processing packets that may require address translation. This advance synchronization ensures that allocation information is already available when needed, preventing resource wastage from duplicate allocations while preserving operational flexibility.
Data Source
AI summary
An address allocation method, a carrier grade network address translation (CGN) device, and a CGN dual-active system, where a second CGN device receives a first to-be-sent packet sent by a network address translation (NAT) device, searches a recorded correspondence between a private network address, a public network address, and a port range for a source address of the first to-be-sent packet, sends an address allocation request used to request a public network address and a port range of the source address to a first CGN device when a search result indicating that no source address of the first to-be-sent packet is found. The first CGN device allocates a public network address and a port range to the source address of the first to-be-sent packet, records the network address and the port range, and synchronies the allocated public network address and the allocated port range to the second CGN device.


