CGNAT Diagram

Carrier-Grade NAT and DHCP Relay

This is my better way CGNAT can be done and allow inbound traffic support by splitting one WAN IP by two and allow AI to work out the conflict if the same port is needed to move client to another WAN IP
CGNAT DHCP Relay Diagram
Click to zoom

DHCP Discover

Client broadcasts a DHCP Discover message to find available DHCP servers on the network.

DHCP Relay

The relay agent forwards DHCP requests across network boundaries to remote DHCP servers.

ARP Handling

ARP is sent one-way so other shared IP clients never see conflicts on the network.

Technical Details from Diagram

DHCP Lease Configuration

DHCP lease time is set to 2 minutes. The relay forwards DHCP requests using the transaction ID that was sent by the client's MAC address.

IP Address Assignment

WAN IP:62.31.180.3
Gateway:62.31.180.1
Subnet:255.255.255.0
DHCP Server:10.16.195.1

Port Translation Example

62.31.180.3:5555574.125.230.147:80(External destination)

We Value Your Privacy

This website uses cookies to improve your experience. Some cookies are essential for the site to function, while others help us understand how you use our website so we can improve it.

By clicking "Accept All", you consent to our use of cookies. You can customize your preferences or reject non-essential cookies. See our Cookie Policy for more details.