Koozali.org: home of the SME Server

static dhcp ?

Offline sedangbelajar

  • **
  • 30
  • +0/-0
static dhcp ?
« on: October 01, 2007, 11:15:11 PM »
is there SME server can we use as static DHCP..like my linksys router ?? because if everybody in my dept using obtain (client) i can not controling them.

regards

Offline shell

  • ****
  • 117
  • +0/-0
Re: static dhcp ?
« Reply #1 on: October 01, 2007, 11:48:24 PM »
I think you are trying to tie IP address to a specific MAC address, is this correct?  I ask because DHCP is dynamic which is the opposite of static - so not possible to have static dynamic.

Your options are:
1) Leave DHCP turned on in the server and have all clients setup to receive IP config directly from server.  As is.
2) Leave DHCP turned on in the server but statically setup the clients to use a specific address from the IP range (preferably outside of the DHCP IP range - generally x.x.x.65 - x.x.x.100)
3) Turn off DHCP from the server and assign all IP configuration details directly on the client.
4) Use the Hostnames and Addresses Server-Manager panel to tie the workstations MAC addresses to a specific IP address.  Option only becomes evident after naming the specific host (choose Local).

I think the fourth option will give you what you are trying to achieve.   :-P
 

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Re: static dhcp ?
« Reply #2 on: October 02, 2007, 12:25:19 AM »
because if everybody in my dept using obtain (client) i can not controling them.
I beg to differ... If you are assigning their IP addresses then you ARE 'controlling' them.

If you want to specifically assign an IP address to each individual workstation, then you can do this via the hostnames panel in server manager (as stated by shell). This is how I manage any of the specific workstations / servers / devices that I want to have static IP's on (eg. printer, wireless router, backup server, nas device, etc.).

Trevor B

Offline sedangbelajar

  • **
  • 30
  • +0/-0
Re: static dhcp ?
« Reply #3 on: October 08, 2007, 08:56:12 AM »
I beg to differ... If you are assigning their IP addresses then you ARE 'controlling' them.

If you want to specifically assign an IP address to each individual workstation, then you can do this via the hostnames panel in server manager (as stated by shell). This is how I manage any of the specific workstations / servers / devices that I want to have static IP's on (eg. printer, wireless router, backup server, nas device, etc.).

Trevor B

can you give me example..
SME SERVER -> hub -. many client.

how to configure hostname ? maybe you have some tip's

regards

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Re: static dhcp ?
« Reply #4 on: October 08, 2007, 09:16:53 AM »
how to configure hostname ? maybe you have some tip's
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#Hostnames_and_addresses

And specifically the section entitled 'Reserving IP Addresses Through DHCP'

From my hostnames screen
Current list of hostnames for <my-domain>.
Code: [Select]
Hostname Location IP Address Ethernet address Comment Action
asterisk.<my-domain> Self 192.168.1.1                              Modify Remove
brother.<my-domain> Local 192.168.1.21 nn:nn:nn:nn:nn:nn            Modify Remove
e-smith.<my-domain> Self 192.168.1.1      
freenas.<my-domain> Local 192.168.1.71 nn:nn:nn:nn:nn:nn FreeNAS Server Modify Remove

Where my dynamically allocated clients are 192.168.1.101 - 192.168.1.199.

Trevor B

Offline sedangbelajar

  • **
  • 30
  • +0/-0
Re: static dhcp ?
« Reply #5 on: October 09, 2007, 03:44:46 PM »
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#Hostnames_and_addresses

And specifically the section entitled 'Reserving IP Addresses Through DHCP'

From my hostnames screen
Current list of hostnames for <my-domain>.
Code: [Select]
Hostname Location IP Address Ethernet address Comment Action
asterisk.<my-domain> Self 192.168.1.1                              Modify Remove
brother.<my-domain> Local 192.168.1.21 nn:nn:nn:nn:nn:nn            Modify Remove
e-smith.<my-domain> Self 192.168.1.1      
freenas.<my-domain> Local 192.168.1.71 nn:nn:nn:nn:nn:nn FreeNAS Server Modify Remove

Where my dynamically allocated clients are 192.168.1.101 - 192.168.1.199.

Trevor B

i'll try your suggest...
thank you  :-P