LocaPhone
Auto Light Dark
Auto Light Dark

System Dienst DHCP Beispiele

Beschreibung

Verschiedene Konfigurationsbeispiele und Definitionen für Endgeräte-Hersteller.


LocaPhone Version

RELEASE 5 RELEASE 4 RELEASE 3 RELEASE 2


Konfiguration für ISC DHCP-Server

Konfigurationsbeispiele für verschiedene Endgeräte-Hersteller.

Datei /etc/dhcp/dhcpd.conf

# Snom Definition
 
# option space Snom;
# option Snom.server           code 66 = string;
# option Snom.file             code 67 = string;
#
# class "snom-vendor" {
#    match if substring (option vendor-class-identifier, 0, 4) = "snom";
#    vendor-option-space    Snom;
#    option Snom.server     "http://voip.loca.net";
#    option Snom.file       "locaphone/prov/snom/settings.php?mac={mac}";
# }
  
# Snom DECT M300/M700
host snom-621c5c {
    hardware ethernet 00:04:13:62:1C:5C;
    option tftp-server-name "http://voip.loca.net/locaphone/prov/snomdect/dectconfig-{mac}";
}
 
# Polycom
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@voip.loca.net/locaphone/prov/polycom-uc/"; #FW UC4.x.x
    # option tftp-server-name "http://ftp:ftp@voip.loca.net/locaphone/prov/polycom/";  #FW 3.x.x
}
 
 
# MITEL Aastra DECT Definition
option space AastraDect;
option AastraDect.ommip1     code 10  = ip-address;
option AastraDect.ommip2     code 19  = ip-address;
option AastraDect.country    code 17  = integer 16;
option AastraDect.syslogip   code 14  = ip-address;
option AastraDect.syslogport code 15  = integer 16;
option AastraDect.rsturl     code 24  = text;
option magic_str             code 224 = string;
 
# Mitel Aastra
class "aastra" {
    match if (
        (substring (hardware, 1, 3) = 00:08:5D) or
        (substring (hardware, 1, 3) = 08:00:0F)
    );
    option tftp-server-name "http://voip.loca.net/locaphone/prov/aastra";
}
 
# Mitel Aastra DECT RFP/OMM
class "aastra-dect" {
    match if substring(hardware, 1, 3) = 00:30:42;
    next-server 192.168.1.130;
    filename "iprfp2G.tftp";
    option log-servers 192.168.1.130;
    option magic_str "OpenMobility";
    vendor-option-space AastraDect;
    option AastraDect.ommip1 192.168.1.5;
    option AastraDect.syslogip 192.168.1.130;
    option AastraDect.syslogport 514;
}
 
# RFP L35 IP
# host aastra-dect-9420 {
#   hardware ethernet 00:30:42:17:94:20;
#   fixed-address 10.239.11.31;
#   filename "iprfp3G.dnld";
# }

Zusätzliche Informationen