Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Ich möchte meine SNOM Telefone Autoprovisionieren die im Vlan sind.

Bild:

https://www.bilder-upload.eu/bild-d1ff0f-1574677610.jpg.html

https://www.bilder-upload.eu/bild-ff3794-1574680083.jpg.html so wie es sein sollte.

Der Pi ist in dem Netz 10.20.210.0. Mit dieser DHCP-Config

# authoritative;
default-lease-time 1440;
max-lease-time 2880;

subnet 10.20.210.0 netmask 255.255.255.0 {
range 10.20.210.50 10.20.210.254;
option routers 10.20.10.1;
option domain-name-servers 10.20.2.2;
option domain-name-servers 10.20.3.2;
option domain-name "ad.firma.com";
options broadcast-adress 10.20.210.255
}

subnet 10.20.10.0 netmask 255.255.255.0{
range 10.20.10.10 10.20.10.254;
options routers 10.20.10.1;
}

class "snomIpPhones" {
match if substring (option vendor-class-identifier, 0, 8) = "snomD765";)
option tftp-server-name "http://10.20.210.2";
option bootfile-name "IP-Phones/general-{mac}.xml";
}

Der Webserver hat die IP 10.20.210.2,  Es gibt mehre VLANS 10, 15, 20, 25.

Die Telefone sind an Port wo VLAN10, VLAN15, VLAN20, VLAN25, Untagged und VLAN210 tagged ist.

Da unsere Pc am Telefon hängen und darüber die Internetverbindung bekommen.

IM VLAN 10 bekommen die PC die IP 10.20.10.xxx, Im VLAN15 Ip 10.20.15.xxx, Im VLAN20 Ip 10.20.20.xxx, Im VLAN25 Ip 10.25.15.xxx,

Das heisst schließt man ein neues Telefon an ein Port mit dem VLAN10 an, so müste er über ein DHCP-Relay an den DHCP-Server geleitet werden damit sich dann das Telefon über den Hersteller Idendifier auf den Webserver verbindet und sich die Config mit dem VLAN210 zieht und sich dann neu startet. Und somit im VLAN210 ist. So wie gewollt.

Die Firewall soll als DHCP dienen. Nun zu meiner Frage  in meiner DHCPD.conf weis ich leider nicht ob die Einstellungen richtig sind.

Ob ich zuerst das Netz des DHCPs angeben soll und als VLANS die Supnetz.

Oder ob ich sie so konfiguruieren muss

iface vlan10 inet static
    vlan-raw-device eth0
    address 10.20.10.0
    netmask 255.255.255.0
    gateway 10.20.10.1

iface vlan15 inet static
    vlan-raw-device eth0
    address 10.20.15.0
    netmask 255.255.255.0
    gateway 10.20.15.1

Danke für die Hilfe.

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.