<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi,<br>
    I have a proxmox cluster for webhosting where all proxmox nodes has
    one nic with a local IP for both protection from public but also
    where the NFS traffic goes for ISOs and virtual disks for KVMs.<br>
    The KVMs for webserver etc has one public IP each.<br>
    The gateway routing to internet in front of the nodes has two
    networks for the same port allowing the public IPs to reach the KVMs
    as DMZ.<br>
    This works well.<br>
    <br>
    My problem and my question. I want the websites to be placed on the
    NFS directly and not on the virtual individual drives on the KVMs
    and because of that the KVMs need access to the NFS via a local IP.<br>
    I can't find a working way to add a second local IP to the KVMs to
    reach the NFS over 192.168.10.x network while the public IP still
    works.<br>
    <br>
    I would appreciate some ideas here.<br>
    /Hans<br>
    <br>
    example of config on proxmox nodes:<br>
    <div class="moz-text-html" lang="x-western">
      <style type="text/css">p { margin-bottom: 0.08in; }</style>
      <p style="margin-bottom: 0in;">bony1:~# cat
        /etc/network/interfaces<br>
        # network interface settings<br>
        auto lo<br>
        iface lo inet loopback</p>
      <p style="margin-bottom: 0in;">iface eth0 inet manual</p>
      <p style="margin-bottom: 0in;">auto vmbr0<br>
        iface vmbr0 inet static<br>
        address 192.168.10.52<br>
        netmask 255.255.255.0<br>
        gateway 192.168.10.1<br>
        bridge_ports eth0<br>
        bridge_stp off<br>
        bridge_fd 0</p>
      <br>
      And on the KVMs<br>
      midnite@ispconfig:~$ cat /etc/network/interfaces<br>
      auto lo<br>
      iface lo inet loopback<br>
      <br>
      auto eth0<br>
      iface eth0 inet static<br>
          address 212.112.189.157 <br>
          netmask 255.255.255.224<br>
          network 212.112.189.128<br>
          broadcast 212.112.189.159<br>
          gateway 212.112.189.129<br>
          dns-nameservers 212.112.189.129<br>
          dns-search nonstop.se<br>
    </div>
    <br>
    <br>
  </body>
</html>