Category:HowTo:DHCP

From Snom User Wiki

Revision as of 12:10, 28 May 2010 by Af@snom.de (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Introduction

DHCP (Dynamic Host Configuration Protocol) is an option for managing networks centrally. Particularly with a large number of devices (phones, computers, printers etc), this represents a convenient and useful method of administering them. DHCP is recommended to provide snom phones a valid network identity (e.g. IP address and the network mask) allowing them to communicate with other network devices. Additionally a few other base settings might also be configured to ease and comfort the phone's operation.

Supported DHCP Options

Please follow this link

Installing DHCP

Windows Servers

snom phones behave like a normal PC running under Linux. Most of the DHCP parameters can therefore be set as usual.

  1. Make sure DHCP Server is installed on your Windows server. You can verify this by navigating to
    1. Start
    2. Configuration
    3. System Settings
    4. Administration
    5. Server Configuration
    6. Network
    7. DHCP
    8. Follow the instructions of the wizard.
  2. Invoke the DHCP manager
  3. Configure the necessary DHCP options

Linux Servers

A DHCP server has to be installed before on the linux server. The DCHP configuration has to be edited in the file /etc/dhcpd.conf. (see dhcpd(8)).

A sample dhcpd.conf file could look like the following:

# dhcpd.conf
option domain-name "intern.company.com";
option domain-name-servers 192.168.0.9;
option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option ntp-servers 192.53.103.103;

# 1) example of server-name/filename usage (available since v5)
server-name "http://prov.company.com";
#filename "settings/snom.htm";
filename "snom.php?mac={mac}";

# examples of different kind of tftp-server-name/bootfile-name

# 2) tftp-server-name only
#option tftp-server-name "http://192.168.0.9/snom.php?mac={mac}";
#option tftp-server-name "http://prov.company.com/settings/snom.htm";

# 3) tftp-server-name and bootfile-name
#option tftp-server-name "http://192.168.0.9";
#option bootfile-name "settings/snom.htm";
#option bootfile-name "snom.php?mac={mac}";

This category currently contains no pages or media.

Personal tools
Interoperability