VPS Server with more than 2 IP

Discussion in 'General' started by abintipl, Oct 27, 2012.

  1. abintipl

    abintipl Member HowtoForge Supporter

    Hello,

    I am setting up a new Server with Debian 6 +ISPconfig3 and want to allocate seperate IP for my websites with SSL & have 3 Static IPS

    I am setting up server as per instructions http://www.howtoforge.com/perfect-server-debian-squeeze-with-bind-and-dovecot-ispconfig-3-p3

    When I am on step "vi /etc/network/interfaces" my interfaces looks as under;

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    auto eth0
    iface eth0 inet static

    address xx.xxx.xxx.xxx
    netmask 255.255.255.0
    gateway xx.xxx.xxx.x

    # add additional IP addresses this way
    # up ip address add xxx.xxx.xxx.xxx dev eth0
    ~

    Should I change above and make it as under;

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    auto eth0
    iface eth0 inet static

    address add xxx.xxx.xxx.xxx dev eth0
    address xx.xxx.xxx.xxx
    netmask 255.255.255.0
    gateway xx.xxx.xxx.x

    # add additional IP addresses this way
    # up ip address add xxx.xxx.xxx.xxx dev eth0
    ~

    Please advice with correct settings

    Thanks
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. abintipl

    abintipl Member HowtoForge Supporter

    2 Ips

    Dear Sir,

    I have followed the given example link as well as user manual chapter no.4.9.2.3

    My set up Debain seqeeze 6 plus Ispconfig latest with Multi-server. Following set up is for Master with DNS

    I have 3 IP static & are configured to
    eth0 xx.xxx.xxx.11
    eth0:0 xx.xxx.xxx.22
    eth1:1 xx.xxx.xxx.33

    Most of the websites would be pointed to xx.xxx.xxx.11

    and 1 website to each on xx.xxx.xxx.22 & xx.xxx.xxx.33. These 2 websites being ssl

    My question is Should I add all the above 3 IPS under System>Server Ip addresses or just 2 of xx.xxx.xxx.22 & xx.xxx.xxx.33

    Please note I have not checked "Network configuration under System>Server Config

    Please advice

    Thanks & regards,

    Abin
     
  4. falko

    falko Super Moderator Howtoforge Staff

    If you want to configure vhosts on all IPs in ISPConfig, please add all of them.

    That's correct. It's an experimental feature and should not be used on production systems.
     

Share This Page