Public IPs vs dedicated IPs

Discussion in 'Proxmox VE: Networking and Firewall' started by Alejandro Lengua Vega, Nov 8, 2018.

  1. Alejandro Lengua Vega

    Joined:
    Sep 11, 2014
    Messages:
    20
    Likes Received:
    0
    We are currently setting up public IPs to some of the VMs we are creating
    but we have been wondering if it could be better to use private ones
    taking in count that they will speak to each other for consulting data.
    (i.e. vm1: web server, vm2: db server)

    In other words: Do using private IPs have provide better performance for internal communications?
     
  2. Craig St George

    Joined:
    Jul 31, 2018
    Messages:
    31
    Likes Received:
    3
    I doubt better performance
    what we do in this case is each if the VM have a private Nic . Or 2 eg front and back
    and we have Vlans for that

    So Web server to DB server over private
    Or Proxy Server to Web server over private and Web server to DB or Apps server over private

    Then only the Proxy has the Public IP but that is probably first hitting our shared firewall and then Nat over to the other nic card on the Proxy which also has a private IP

    Of you could use the Proxmox firewall and the public IP would be on one side of the Proxy or Webserver
    Not for performance but for security reasons
     
  3. Alejandro Lengua Vega

    Joined:
    Sep 11, 2014
    Messages:
    20
    Likes Received:
    0
    I went ahead and started assigning private IPs to the VMs.
    Now my problem is how do I give them Internet access to download updates.
    According to this link this can't be done from the GUI
    https://cyberpersons.com/2016/07/27/setup-nat-proxmox/
    Any suggestion? Am I correct? I am using Proxmox 5.2
     
  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