Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Google Cloud Platform Multiple External IP's

Discussion in 'Bind/DNS/Nameserver' started by Lemacks Media, Jan 20, 2019.

  1. Lemacks Media

    Lemacks Media Registered

    Joined:
    Jan 20, 2019
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  2. Lemacks Media

    Lemacks Media Registered

    Joined:
    Jan 20, 2019
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    DataCenter Provider
    I'm not sure why this was moved into the DNS forum. None of what I am asking applies to DNS. This is about initial setup and configuration of network interfaces and subnets.
     
  3. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    102
    Likes Received:
    14
    Trophy Points:
    18
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    The public IP is needed for DNS config only. check the file
    /var/cpanel/cpnat
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Lemacks Media

    Lemacks Media Registered

    Joined:
    Jan 20, 2019
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  5. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    507
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Lemacks Media

    Lemacks Media Registered

    Joined:
    Jan 20, 2019
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    USA
    cPanel Access Level:
    DataCenter Provider
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice