Koozali.org: home of the SME Server

DHCP, insted of static ip

Villy

DHCP, insted of static ip
« on: October 12, 2005, 06:15:59 PM »
Well the title says it;) I want SME to recive a ip, insted of using static ip. Im a bit of n00b so please help me

Im using 7 beta 5

Thanks

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: DHCP, insted of static ip
« Reply #1 on: October 12, 2005, 08:52:51 PM »
Quote from: "Villy"
Well the title says it;) I want SME to recive a ip, insted of using static ip.


DHCP doesn't make a lot of sense for a server - a server needs to have a fixed IP address. You also usually don't want it to depend on another system being up before it can come up correctly and provide its services. IOW, using DHCP would reduce its reliability.

Villy

DHCP, insted of static ip
« Reply #2 on: October 12, 2005, 09:13:03 PM »
thanks for the help, but I just a min before you posted, figured out what I was doing wrong :hammer:

RobRoye

DHCP, insted of static ip
« Reply #3 on: October 13, 2005, 06:39:22 AM »
Using DHCP for a server is perfectly fine for quite a number of networks. You simply make a DHCP reservation so it gets the same IP every time it boots. Granted, there are not many reasons to do it this way, but it is perfectly valid and works fine. Using DHCP doesn't reduce a server's reliability at all. My network is set with DHCP reservations so that if I decide to change something, I just change the reservation and remotely renew the address. I use this for company workstations regularly and it works quite well.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
DHCP, insted of static ip
« Reply #4 on: October 13, 2005, 03:59:45 PM »
Quote from: "RobRoye"
Using DHCP doesn't reduce a server's reliability at all.


Yes it does. It means that reliability is reduced from:

100% - probability of server failure

to:

100% - (probability of server failure + probability of DHCP server failure)

There's also an additional issue which is that a rogue DHCP server could provide an incorrect address to the server.