Google Cloud Platform Multiple External IP's

Lemacks Media

Registered
Jan 20, 2019
4
0
1
USA
cPanel Access Level
DataCenter Provider
I was reading around the documentation yesterday trying to determine why I was unable to get my external IP's from my 4 nic's on GCP to be mapped within WHM. It sees the internal IP's, but fails to map external other than nic0. Upon reading, "If the New IP and IP range to add value uses Class C CIDR format, you must use a mask range between 24 through 30.", here my questions are:
1. Is 1:1 NAT required, or was this how WHM identified the internal structure of the available IP's in the instance, that setting up the subnet mask ranges to 24-30 will resolve this? Currently they are all set to /20, but of course, you can't remove a nic from a running instance, so I need to start over. Or, should instead of using a mask, should I use a range? Rather than 10.xxx.0.0/20 use 10.xxx.0.0-10.xxx.0.255?
2. If in fact NAT is required, are there supplemental firewall rules I need to consider?
3. If NAT isn't required, are there supplemental firewall rules?

I would really like to avoid going thru the entire setup process again only to find out I have wasted several hours of my time, again.
 

Lemacks Media

Registered
Jan 20, 2019
4
0
1
USA
cPanel Access Level
DataCenter Provider
I have followed all of the documentation, there isn't a single thing that resolves this issue. Manually editing the /var/cpanel/cpnat file shows them IP's in WHM, validating them immediately removes them with an unable to map warning. Editing them in WHM and validating them does the same thing, and they are immediately deleted from /var/cpanel/cpnat . I just attempted this again using mask /24 with to no avail, same results.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston

Lemacks Media

Registered
Jan 20, 2019
4
0
1
USA
cPanel Access Level
DataCenter Provider

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hi @Lemacks Media,

You mentioned on your Reddit post that you opened a support ticket a few days ago to request assistance. Can you let me know the ticket number so I can take a closer look and have it opened again so we can investigate this further?

Thank you.
 

Mystagogue

Registered
Feb 15, 2020
3
0
1
USA
cPanel Access Level
Website Owner
Hello, any updates regarding Google Cloud Platform, Google CentOS 7 Compute, and WHM / NAT IP Addresses setup ? I understand it is a complicated subject, a Server's Network interfaces, yet some of us are stuck with no ability to create cPanel sites, with separate domain names, and External IPs.

Is there a WHM Add-on or script, where it can configure the Server's internals, Networking and internal IPs, thus this issue can be resolved ?

Thanx