Ip Manager

WholesaleDialup

Verified User
Joined
Sep 25, 2004
Messages
178
Location
San Antonio, TX
OK, I am at a loss here as to the "Correct" way to add IP's to a DA system.

I am running vanilla DA install on Fedora 4.

Here is the why I am confused:

Scenario 1:

1- I add the IP directly to the system (not DA).

2- I go into the IP manager and add the IP .

Result 1:

DA throws the error below but the IP is added anyhow and all is well as far as I can tell. Why does it throw this error then and give one the indication that it didn't work.

#########################
Error with your request

Details

IP MyIPHere already exists on eth0
########################





Scenario 2:

1- I go into the DA IP manager and add the IP I want, DA seems happy.

2- I look at my system and the IP has been added to the active interfaces but NOT to the active at boot interfaces.


Result 2:

The new IP works and everyone is happy until I reboot the machine one day and the IP dissapears from my system and stops working. Of course this doesn't happen if I manaully add the IP to the "Active at boot" interfaces.









So then, is there a better way?

Am I doing something wrong here?
 
You're doing it right ..

I just got a pool of servers in another datacenter and they exhibited this same characteristic. When the IP's are added by the setup (done by the datacenter usually) this can happen, they just dont show in DA until you go through the steps you did.

Joe
 
hostpc.com said:
You're doing it right ..

I just got a pool of servers in another datacenter and they exhibited this same characteristic. When the IP's are added by the setup (done by the datacenter usually) this can happen, they just dont show in DA until you go through the steps you did.

Joe

Yeah, I know it works.. I am trying to understand the thinking behind the software I guess..

If you are suppose to only add them in DA, this doesn't make sense because DA only adds the IPs to the "Active Now" interfaces and not the "Active At Boot" interfaces. Of course, doing it this way means that when your reboot, DA will still show the IPs but they will not longer work because they will not be bound to the network adapter at the system level.

If you are suppose to add them at the system level first them in DA, why do I get an error telling me the IPs already exist.

See what I am saying?

In other words, if the latter is the correct way to do it then what is the point of the error message?
 
can anybody clear this up ? What is the "correct' procedure to add ips ? Do we need to add into the system before installing directadmin ?
 
You don't have to add them to your system-based startup scripts.

DA adds them to it's IP list (because it needs them there).

DA installs (as part of the server startup scripts) a program called startips, which will add every IP# in the DA IP list, to your main interface.

If you've got them in your system-based startup scripts, DA will still install them in it's IP list but you'll get the warning message because after all, they do already work.

Jeff
 
Jeff,

I am pretty sure that we had a system that did not work as you describe.

I think it was Fedora 2 or 3..

We only added them through DA and all was well until we rebooted then all those IPs quite working.

I guess I can try it again, then reboot at some point.

Thanks//
 
You don't have to reboot; you just have to find the startips script and run it; I think it's in: /usr/local/directadmin/scripts.

I know this is how it's supposed to work because I still have the original email John sent me explaining it years ago.

And I know it works this way for me.

That doesn't mean I'm not crazy, though ;) .

Jeff
 
Back
Top