Skip to main content

This is how you can add a different IP / Gateway to your cPanel

Comments

4 comments

  • Andrew
    Translate

    You should really manage the IPs from cPanel instead. Have you tried adding it from there?

    Andrew N. - cPanel Plesk VMWare Certified Professional
    Do you need immediate assistance? 20 minutes response time!* Open a ticket
    EmergencySupport - Professional Server Management and One-time Services

     

    0
  • Can Yayo

    The cPanel Add IP feature is more geared towards simple, straightforward IP assignments so your situation complex system you cant using this feature. Your solution is good I think.

    1
  • Steini Petur

    Yes this solution works, it binds the secondary Ip to the em1 the primary same as cPanel,  and you can use it as a default IP or as a secondary IP for the users, but my use case is that Im just slowly transitioning so this helps. This is also kinda cool that you can have a separate A class if you would like to park one website on your server that isn't even remotely close to the default IP. It would not be difficult for cPanel to add a "+Advanced Assignment" button there for someone who wants to create a custom routing.

    0
  • Steini Petur

    Andrew, I will manage of course the IP's within cPanel but in this case I needed to be able to add a separate IP on a separate Gateway, this is not doable in cPanel but I have tested this way and it works fine, it's just embedded into the nmcli along with the other main IP and gateway it even appears in "show ip" in WHM. It's just not doable to have dual gateway in a single node of cPanel as is :)

    0

Please sign in to leave a comment.