LocaPhone
Auto Light Dark
Auto Light Dark
Breadcrumbs

System Konfiguration DHCP

Beschreibung

LocaPhone stellt mittels DHCP eine Auto-Provisionierung verschiedener Endgeräte/Hersteller zur Verfügung, sodass Endgeräte nicht manuell konfiguriert werden müssen. Der DHCP-Dienst ist entweder seitens des Netzwerkes verfügbar, oder wird lokal durch LocaPhone bereitgestellt. Damit die "zero-touch"-Konfiguration eines Endgerätes funktioniert, muss dieses per DHCP die Information erhalten, unter welcher URL die passenden Konfigurationsdatei abrufbar ist.



DHCP-Parameter für Autoprovisionierung

Die folgenden Pfadangaben müssen bei der Provisionierung eines Endgerätes mittels DHCP genutzt werden.

Hersteller

Endgerät

MAC

DHCP

Option Name

LocaPhone

URL

Snom

(D)3xx, (D)7xx, D120
8xx, PA1, MP, C520

00:04:13

66

tftp-server-name

Release 5
Release 4

http://server/locaphone/prov/snom/settings.php?mac={mac}

Snom

3xx, 7xx, 8xx

00:04:13

66

tftp-server-name

Release 3
Release 2

http://server/gemeinschaft/prov/snom/settings.php?mac={mac}

Snom

DECT1 M300, M700

00:04:13

66

tftp-server-name

Release 5
Release 4

http://server/locaphone/prov/snomdect/dectconfig-{mac}

Gigaset

DECT1 N870/N670, N720
N510, N300, C6xx, C4xx

7C:2F:80
58:9E:C6

1142

default-url

Release 5
Release 4

http://server/gigaset-prov/

Gigaset

Maxwell B/2/3/4/10(S)
DE310/410/700/900

7C:2F:80
00:21:04

1142

default-url

Release 5
Release 4

http://server/gigaset-prov/

Yealink

T4xG/S, T5xS/A/V/W
CP9xx

00:15:65
80:5E:0C
80:5E:C0
24:9A:D8
44:DB:D2

66

tftp-server-name

Release 5
Release 4

http://server/locaphone/prov/yealink/

Fanvil

V6x, H5/H3, X210i

0C:38:3E

66

tftp-server-name

Release 5

http://server/locaphone/prov/fanvil/

Polycom

Soundpoint, Soundstation

00:04:F2

66

tftp-server-name

Release 3
Release 2

http://ftp:ftp@server/gemeinschaft/prov/polycom/

Polycom

Soundpoint, Soundstation
(FW 3.x.x)

00:04:F2

66

tftp-server-name

Release 5
Release 4

http://ftp:ftp@server/locaphone/prov/polycom/

Polycom

Soundstation
(FW UC 4.x.x)

00:04:F2
64:16:7F

66

tftp-server-name

Release 5
Release 4

http://ftp:ftp@server/locaphone/prov/polycom-uc/

MITEL
Aastra

 5xi, 673xi, 675xi, 68xxi

00:08:5D
08:00:0F

66

tftp-server-name

Release 5
Release 4

http://server/locaphone/prov/aastra

MITEL
Aastra

 5xi, 673xi, 675xi, 68xxi

00:08:5D
08:00:0F

66

tftp-server-name

Release 3
Release 2

http://server/gemeinschaft/prov/aastra

MITEL
Aastra

 RFP1 (L) 3x, 4x

00:30:42



Release 5
Release 4
Release 3

siehe Beispiel-Konfiguration für ISC DHCP-Server

Legacy-Endgeräte (End of Support)

Hersteller

Endgerät

MAC

DHCP

DHCP Option Name

LocaPhone

URL

Elmeg


00:09:4F

66

tftp-server-name
bootfile-name

Release 2

http://server/gemeinschaft/prov/elmeg/settings.php?mac={mac}
gemeinschaft/prov/elmeg/settings.php?mac={mac}

Grandstream


00:30:42

66

tftp-server-name

Release 2

http://server/gemeinschaft/prov/grandstream

Unify
Siemens

OpenStage 15-80

00:01:E3
00:1A:E8



Release 3
Release 2

siehe

Beispiel-Konfiguration für ISC DHCP-Server

Thomson

ST2030
ST2022

00:0E:50
00:14:7F

43

vendor-encapsulated-options

Release 2

http://server/thomson/st2030.inf
http://server/thomson/st2022.inf

Spectralink

KWS 300

00:13:D1

66

tftp-server-name

Release 3
Release 2

http://server/gemeinschaft/prov/kirkdect/

Weitere Informationen:
1 DECT-RPF sollten mit statischen DHCP-Leases konfiguriert werden!
2 https://teamwork.gigaset.com/gigawiki/display/GPPPO/DHCP+option+66


Konfiguration ISC DHCP-Server

Konfigurationsbeispiel für LocaPhone S500/M800/VM/Server VoIP TK-System.

# LocaPhone configuration file for isc-dhcpd-server Ubuntu 16/20
ddns-update-style none;

# lease lifetime in seconds
default-lease-time 600;
max-lease-time 7200;

# DHCP server is the official DHCP server for the local network.
authoritative;

# Definition of VoIP subnet (default for S500)
subnet 192.168.1.0 netmask 255.255.255.0 {
        range 192.168.1.50 192.168.1.100;
    	interface eno1;
        default-lease-time 600;
        max-lease-time 7200;
        option domain-name "m500.local";
        option domain-name-servers 192.168.1.130;
        option broadcast-address 192.168.1.255;
        option subnet-mask 255.255.255.0;
        option routers 192.168.1.130;
   		option ntp-servers 192.168.1.130;
		}	
	
		class "snom" {
        	match if substring (hardware, 1, 3) = 00:04:13;
        	option tftp-server-name "http://192.168.1.130/locaphone/prov/snom/settings.php?mac={mac}";
		}

		class "gigaset" {
        	match if (
        		(substring (hardware, 1, 3) = 7C:2F:80) or
        		(substring (hardware, 1, 3) = 00:21:04) or
            	(substring (hardware, 1, 3) = 58:9E:C6)
    		);
			option default-url "http://192.168.1.130/gigaset-prov/";
		}

		class "aastra" {
    		match if (
        	(substring (hardware, 1, 3) = 00:08:5D) or
        	(substring (hardware, 1, 3) = 08:00:0F)
    		);
    		option tftp-server-name "http://192.168.1.130/locaphone/prov/aastra";
		}

		class "polycom" {
        	match if (
				(substring (hardware, 1, 3) = 00:04:F2) or
				(substring (hardware, 1, 3) = 64:16:7F)
			);
        	option tftp-server-name "http://ftp:ftp@192.168.1.130/locaphone/prov/polycom-uc";
		}

		class "yealink" {
    		match if (
        		(substring (hardware, 1, 3) = 00:15:65) or
        		(substring (hardware, 1, 3) = 80:5E:0C) or
 				(substring (hardware, 1, 3) = 80:5E:C0) or
				(substring (hardware, 1, 3) = 24:9A:D8) or
				(substring (hardware, 1, 3) = 44:DB:D2)
    		);
    		option tftp-server-name "http://192.168.1.130/locaphone/prov/yealink/";
		}

		class "fanvil" {
			match if substring (hardware, 1, 3) = 0C:38:3E;
			option tftp-server-name "http://192.168.1.130/locaphone/prov/fanvil/";
		}




# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#       Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACESv4="eno1"		# standard LocaPhone S500 interface
#INTERFACESv6=""		# disabled, IPv4 only (can be changed)