Binding services to multipul IP addresses

Discussion in 'Server Operation' started by tommywds, May 15, 2007.

  1. tommywds

    tommywds New Member

    Hi there Guys

    I'm really hoping that someone will be able to help me out today!

    Please go easy on me, I'm quite new to Linux!!!

    I have a server with 4 IP addresses and a number of services, but I only want them to run on 3 of the IP addresses. Please could anyone suggest how to configure the following services.

    • Apache - Done
    • MySQL
    • Q-Mail
    • BIND
    • Courier-IMAP - Both POP and IMAP

    I have taken a look at qmail and everything I have found on the web doesn't appear right to me...
    Courier looks like I can only bind it to one IP address (but I could be doing something wrong) This is the same for MySQL.
    BIND just confuses me!

    Thanks a million in advance!!!
     
  2. bpmee

    bpmee Member

    Not sure if this will help, but this is how to BIND multiple IPs to a Single NIC

    Hi,

    This might help, it describes how to BIND multiple IPs to a single NIC.

    It is fairly easy to do, just make sure that you have correctly named and created the required number of eth0:x addresses.

    http://www.xenocafe.com/tutorials/linux/redhat/bind_multiple_ip_addresses_to_single_nic/index.php

    Note, this is for Redhat Linux, but may work on other systems - but I'm not sure...

    I posted this in the "Suggest How-tos" section also.

    Once you BIND your IPs, follow the "Perfect setup" for your particular OS. This should help set things up for you...

    Good luck....:cool:
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Courier, MySQL, and BIND should listen on all IP addresses (that should be the default, except for MySQL - on Debian, for example, it listens on 127.0.0.1 only unless you configure it to listen on all IPs).
     

Share This Page