Skip to main content

Local IP change after each restart of my cpanel whm server

Answered

Comments

3 comments

  • TechAmigo Support

    Hello CoolNet Spa,

    Please show me the Netplan configuration here.

    Also, make sure dhcp4: no is set and you have static IP configuration.

    In addition, 

    Go to WHM >> Networking Setup >> Basic cPanel & WHM Setup

    Ensure the "Primary IP" matches your static IP from Netplan

    Regards,
    TechAmigo Support

    0
  • William Del Piero cPanel Staff

    Hi,

     

    Could you please clarify the specific error you're encountering when trying to remove the IP in WHM? Just a quick note: the correct interface for removing an IP is "Show or Delete Current IP Addresses", rather than "Show/Edit Reserved IPs".

    0
  • CoolNet Spa

    Hi guys, thanks for your help. The problem was Cloud Init. Creating the file /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg and entering the content network: {config: disabled} didn't change the IP anymore.

    Regards

    0

Please sign in to leave a comment.