Additional IP problem

mihan

New member
Joined
Jan 10, 2022
Messages
6
Hi,
I wanted to add another IP to the server through IP Management in DirectAdmin, however, the IP wouldn’t get accessible. I checked everything and there were no problems in the network and the same IP worked well on another server with older versions of DA. It seems like the new version of DA doesn’t run the “addip” script; therefore, the additional IP can't be added to the network configuration of the operating system. I had to add the IP manually to the OS (CentOS 7.9).
I would appreciate it if you could provide a solution to this problem.
 
however, the IP wouldn’t get accessible.
What do you mean by not accessible. What do you want to use it for?
Because it does get created by DA, right? It's not a good idea to add the ip manually as there is the risk DA won't see it then.
 
What do you mean by not accessible. What do you want to use it for?
Because it does get created by DA, right? It's not a good idea to add the ip manually as there is the risk DA won't see it then.
I mean when I add it through IP management, the IP won't work and we can't ping it. We want to use it for another domain in the server.
It seems the respective script doesn't work and IP won't be added to the OS.
 
Adding IP manually was our last resort. We didn't have any other options to use the additional IP.
 
the IP won't work and we can't ping it.
But it did get created by DA or not? That is the most important question.
If yes, then not being able to ping it from outside can have other reasons.

and IP won't be added to the OS.
That is by default if I'm not mistaken. Adding an ip to DA only creates a virtual ip which is made visible to the OS when DA is started. The startips scripts takes care of that. You can use the "add to device" option.

To use it for another domain, you have to specify that also:
scroll down to "How to assign a user an owned IP".

If it really doesn't work as should, I would suggest to send in a ticket. Normally there are not these kind of issues with adding ip's so might need to be investigated what can be wrong.
 
Back
Top