IP addresses & Direct Admin

damn

Verified User
Joined
Nov 30, 2004
Messages
101
Howdy,

I have a new server with running FreeBSD & DA.

The server came with 10 IP's:

1 X Server IP - This is for use by the Data Center only
1 X Direct Admin licience IP - for DA licience
8 X IP's for me to use.

When I went into IP section in Admin section, the only IP listed was the server IP (which the services are NOT to use).

So I went to add in the 6 IP's I have for my use, and each time DA reported an error saying the IP address was already in use by interface Lo0. However - it did add the IP's anyway, and lists them as 'Free'.

I've then assigned two of them to be name server IP's - which worked.

But what I need to do is remove the existing server IP, as this IP is for the data center to use only, and they have said that I should only use the 8 block they gave me, as the 8 block is mine as long as I am a customer with them, but if I move servers the server IP will change.

But if a reseller (me) tries to to add a new customer, it offers the customer:

*- both the name server IP's (which wont work as these IP's only allow port 53 in)
*- A shared IP (this is what I want them to use)
*- The server IP - which nobody is supposed to use

How do I set this stuff up to make it work correctly? The site-helper site does nothing more than explain what the settings are :(
 
I am using the server IP for Direct Admin and all my customers. Even if I create a reseller with an assigned set of IP, he create the accounts under the server's IP and not under his own.

If I don't allow the reseller to create user's accounts under the server's IP address, he can't do nothing.

Hope this helps.
 
if you are using 15minuteservers, which I am guessing that you are based on the unique IPs given, they just made a policy change.

you may now use the assigned DA IP for any services. just beware that if you want to switch OS or anything, it will not be portable and you will have to use a new ip for everything.

you should be getting an email shortly confirming this. :)

hope this helps.
 
Last edited:
yes i'm using 15ms. But because the server ip can change if i upgrade servers, i want to use one of my 8 block.

I cant believe that there is no info anywhere on the web about this, it really shouldn't be so hard.

Every time i try to add a reseller it says i haven't assigned the reseller an ip, but you can't do that until you have created them!
 
I am not so sure about this, so don't take my words for it. but apparently, as long as you don't switch OS, you should be able to carry the DA IP with you.

The DA IP is OS-based, which I suppose has something to do with the license.
 
Got this from DirectAdmin support:

Hello,

To get DA to use the 2nd IP for the main server IP, use the ipswap.sh script: http://www.directadmin.com/ipswap.sh to move it over.

1) make sure the 2nd IP is removed from DA via the IP manager (or just manually remove it from /usr/local/directadmin/data/admin/ip.list and delete data/admin/ips/1.2.3.4)
2) run ./ipswap.sh oldServerIp newServerIp

 
Back
Top