Multiple IP's Under ISPConfig

Discussion in 'Server Operation' started by giganet, Oct 4, 2007.

  1. giganet

    giganet New Member

    In my present installation of ISPConfig I would like to utilize a primary IP 65.197.xxx.xx2 dedicated only to my own domain(s) on this server.
    In addition I would like to be able to utilize a different IP for client web hosts.

    I have added another IP to the IP List in ISPConfig to be used only for web-hosting clients 65.197.xxx.xx8.

    I edited '/etc/network/interfaces' as follows
    Code:
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface (WAN)
    auto eth0
    iface eth0 inet static
            address 65.197.xxx.xx2
            netmask 255.255.xxx.xxx
            network 65.197.xxx.xxx
            broadcast 65.197.xxx.xxx
            gateway 65.197.209.xxx
    
    # Primary network interface (2nd IP)
    iface eth0:1 inet static
            address 65.197.xxx.xx8
            netmask 255.255.xxx.xxx
    After saving the changes I restared networking '/etc/init.d/networking restart'

    I can't seem to ping the second IP at this point though (local OR remote)...

    How do I make addresses past the primary network interface address to be available too?


    Thank you for your help.

    Regards
     
  2. Tripple2

    Tripple2 New Member

    Like this:

    auto eth0:1
    iface eth0:1 inet static
    address 65.197.xxx.xx8
    netmask 255.255.xxx.xxx
    network 65.197.xxx.xxx
    broadcast 65.197.xxx.xxx
    gateway 65.197.209.xxx
     
  3. giganet

    giganet New Member

    Outstanding! :)

    Thank you very much, I thought the directions I followed from a Google search seemed a bit week.


    Regards
     

Share This Page