Results 1 to 7 of 7
  1. #1

    Question Multiple IP question

    I've just acquired a remote deticated server. I am currently making preperations to move an existing site the new server.

    I have been assigned 8 IPs from the server provider and would like to know how to configure the server (Fedora Linux) to accept requests on more then one of those IPs.

    My end goal is to run a primary ns on one IP and a secondary ns on the other....please help.

    I do realize its not recommended to run both my nameservers on one machine, but for now I have no choice.

  2. #2
    Join Date
    Apr 2004
    Not the answer to your question, but you can use the same IP for both NS names...

  3. #3
    Join Date
    Jul 2003
    Are you running CPanel or another control panel?

  4. #4
    Join Date
    Sep 2003
    New York City
    Just add aliases to your network interface: eth0:1 eth0:2 and so on.

    And make startup files in /etc/sysconfig/network-scripts, or somewhere there, so you can go across reboots.
    Reliable Business E-mail Hosting

  5. #5
    Join Date
    Sep 2002

    Cd /etc/sysconfig/network-scripts
    Cp ifcfg-ethg0 ifcfg-eth0:0
    Cp ifcfg-ethg0 ifcfg-eth0:1
    Cp ifcfg-ethg0 ifcfg-eth0:2
    Cp ifcfg-ethg0 ifcfg-eth0:3 (repeat for how many IPs you are assigning)

    Vi ifcfg-eth0:0

    Edit the new IP address, and change the device to match the file name.
    i.e. eth0:0, eth0:1 etc

    Repeat this for all files above changing to the new IPs and devices

    Then /etc/rc.d/init.d/network restart

    Thomas Currie
    Europhase UK Limited - XEN/OpenVZ UK/US Virtual Private Servers | R1Soft Backups for Web Hosts
    Custom R1Soft Backups | UK/US Web Hosting | UK/US Virtual Private Servers
    99.9% Uptime SLA | Non Overloaded Service | Guaranteed Ram / Resources
    Company: SC345142 VAT: GB-947754180 Tel: 0870 4710 895

  6. #6
    Join Date
    Mar 2003
    New Jersey

  7. #7

    Cool Great - thats exactly what i was wlooking for

    Thanks everyone thats was perfect. Locked my self out from my server once before i got it all going
    But its going now

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts