maik82
Goto Top

DHCP vergibt keine Adressen

Moin.

ich habe mir einen RASPBERRY PI 3 gekauft und möchte auf dem für ein Netzwerk DHCP verteilen.

Es ist erstmal ein Versuchsaufbau um alles zu testen.

RASPBERRY PI:
192.168.200.1 /24

DHCP installiert

default-lease-time 600
max-lease-time 7200

subnet 192.168.200.0 netmask 255.255.255.0 {
range 192.168.200.10 192.168.200.200;
option domain-name-server 192.168.254.253;
option subnet-mask 255.255.255.0;
option routers 192.168.200.254;
}

danach habe ich den DHCP Server gewartet.

/etc/init.d/isc-dhcp-server start

dann kommt die Meldung

( OK ) Starting isc-dhcp-server (via systemctl): isc-dhcp-server.service.

Dann dachte ich mir hm alles OK, aber nein keine Adressen werden verteilt.
Ich bekomme immer nur eine APIPA.

Leider bin ich nicht sehr linux erfahren.
Also langsam erklären bitte.

Content-ID: 330446

Url: https://administrator.de/contentid/330446

Ausgedruckt am: 16.11.2024 um 22:11 Uhr

michi1983
michi1983 24.02.2017 um 12:45:14 Uhr
Goto Top
Hallo,

wie immer:
Eine kleine Zeichnung deines Netzwerks wäre sehr hilfreich.

Wo hängt der RasPi? Was hängt am RasPi? Was für andere Netzerk-Komponenten hängen in diesem Netz von dir?
Wer/Was ist Client und ist wie und worüber mit dem RasPi verbunden? Wie sieht die IP Config des Clients aus?

Gruß
Maik82
Maik82 24.02.2017 um 12:49:37 Uhr
Goto Top
Zum Test habe ich meinen Mac direkt an den RASPBERRY gehängt nur um die Funktion zu testen.
Wenn ich den RASPBERRY nachher in mein Netzwerk einbinde und es da nicht gehen würde müsste der Fehler wo anders liegen.

ich wollte jetzt nur ohne Umwege den DHCP testen.
132272
132272 24.02.2017 aktualisiert um 13:08:51 Uhr
Goto Top
option subnet-mask 192.168.200.254;
??? --> https://linux.die.net/man/5/dhcp-options --> option subnet-mask 255.255.255.0
Interface sollte man wenn möglich auch immer angeben. Vor dem "Probieren" kommt "Lesen" face-wink
--> Also ab nach ISC-DHCPD

Gruß
brammer
brammer 24.02.2017 um 13:00:19 Uhr
Goto Top
Hallo ,

mit der subnetzmaske kann das nichts werden!

option subnet-mask 192.168.200.254;

das ist ein IP ....

es müsste wohl heißen:

option subnet-mask 255.255.255.0

brammer
Maik82
Maik82 24.02.2017 um 13:05:26 Uhr
Goto Top
Fehler beim abschreiben.
Habe es im Post geändert.
SlainteMhath
SlainteMhath 24.02.2017 um 13:07:32 Uhr
Goto Top
Moin,

steht denn was im log? /var/log/syslog oder /var/log/daemon.log

lg,
Slainte

EDIT. Ich seh gerade:
option subnet-mask 192.168.200.254;

ist das tastächlich die korrekte Mask?!
132488
132488 24.02.2017 aktualisiert um 13:22:10 Uhr
Goto Top
Hi,

laufen auf dem Raspberry irgendwelche Firewalls ( firewalld / iptables)?
Ich gehe mal davon aus, dass hier Raspbian zum Einsatz kommt.
Wie sieht deine /etc/network/interfaces aus?
cat /etc/network/interfaces

Wie schon beschrieben fehlt die Zeile:
Interfaces = "eth0" oder "wlan0"  

je nachdem auf welchen Interface gelauscht werden soll.
Wenn ich fragen darf, was genau hast du vor? Je nach
Anwendungszweck eignet sich eventuell dnsmasq besser da DHCP + DNS.

EDIT:
Du gibst an den Dienst zu starten, hast du ihn allerdings auch schon einmal
neugestartet?
/etc/init.d/isc-dhcp-server restart

Gruß
michi1983
michi1983 24.02.2017 um 13:18:03 Uhr
Goto Top
gehe das hier nochmal Schritt für Schritt durch.

Gruß
ashnod
ashnod 24.02.2017 aktualisiert um 13:26:06 Uhr
Goto Top
Zitat von @Maik82:
( OK ) Starting isc-dhcp-server (via systemctl): isc-dhcp-server.service.


Moin ....

Also wenn du schon selbst schreibst das du weniger Erfahrung mit Linux hast, dann solltest du dich nicht an dem isc-dhcp-server aufhängen.
Der ist für einfache Konfigurationen relativ unpraktisch ....
Quick and Easy kommst du mit dnsmasq viel schneller an dein Ziel und kannst den gleichzeitig als DNS-Server nutzen.

VG
Ashnod
Maik82
Maik82 24.02.2017 um 13:26:31 Uhr
Goto Top
So um Schreibfehler zu vermeiden habe ich das mal kopiert

DHCP:

default-lease-time 600;
max-lease-time 7200

#subnet 192.168.101.0 netmask 255.255.255.0 {
  1. range 192.168.101.1 192.168.101.250;
  2. option domain-name-servers 192.168.254.253;
  3. option subnet-mask 255.255.255.0;
  4. option routers 192.168.101.254;
#}

subnet 192.168.200.0 netmask 255.255.255.0 {
range 192.168.200.10 192.168.200.200;
option domain-name-servers 192.168.254.253;
option subnet-mask 255.255.255.0;
option routers 192.168.200.1;
}

syslog:

Feb 24 12:24:33 maik-desktop nm-dispatcher[2062]: Error: TLP power save is disabled. Set TLP_ENABLE=1 in /etc/default/tlp.
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5268] device (enxb827eb81966f): link connected
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5308] device (enxb827eb81966f): state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
Feb 24 12:24:36 maik-desktop kernel: [ 1076.800576] smsc95xx 1-1.1:1.0 enxb827eb81966f: link up, 100Mbps, full-duplex, lpa 0x45E1
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5336] policy: auto-activating connection 'Wired connection 1'
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5394] device (enxb827eb81966f): Activation: starting connection 'Wired connection 1' (0d9ba631-e22b-3960-96e1-8303a12071ff)
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5418] device (enxb827eb81966f): state change: disconnected -> prepare (reason 'none') [30 40 0]
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5452] device (enxb827eb81966f): state change: prepare -> config (reason 'none') [40 50 0]
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5475] device (enxb827eb81966f): state change: config -> ip-config (reason 'none') [50 70 0]
Feb 24 12:24:36 maik-desktop avahi-daemon[622]: Joining mDNS multicast group on interface enxb827eb81966f.IPv4 with address 192.168.200.1.
Feb 24 12:24:36 maik-desktop avahi-daemon[622]: New relevant interface enxb827eb81966f.IPv4 for mDNS.
Feb 24 12:24:36 maik-desktop avahi-daemon[622]: Registering new address record for 192.168.200.1 on enxb827eb81966f.IPv4.
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5603] device (enxb827eb81966f): state change: ip-config -> ip-check (reason 'none') [70 80 0]
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5644] device (enxb827eb81966f): state change: ip-check -> secondaries (reason 'none') [80 90 0]
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5658] device (enxb827eb81966f): state change: secondaries -> activated (reason 'none') [90 100 0]
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5790] manager: NetworkManager state is now CONNECTED_LOCAL
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5797] manager: NetworkManager state is now CONNECTED_GLOBAL
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5802] policy: set 'Wired connection 1' (enxb827eb81966f) as default for IPv4 routing and DNS
Feb 24 12:24:36 maik-desktop NetworkManager[697]: <info> [1487935476.5811] device (enxb827eb81966f): Activation: successful, device activated.
Feb 24 12:24:36 maik-desktop nm-dispatcher: req:2 'up' [enxb827eb81966f]: new request (2 scripts)
Feb 24 12:24:36 maik-desktop nm-dispatcher: req:2 'up' [enxb827eb81966f]: start running ordered scripts...
Feb 24 12:24:36 maik-desktop nm-dispatcher[2062]: Error: TLP power save is disabled. Set TLP_ENABLE=1 in /etc/default/tlp.
Feb 24 12:24:38 maik-desktop avahi-daemon[622]: Joining mDNS multicast group on interface enxb827eb81966f.IPv6 with address fe80::72c3:2861:8aa3:c5bc.
Feb 24 12:24:38 maik-desktop avahi-daemon[622]: New relevant interface enxb827eb81966f.IPv6 for mDNS.
Feb 24 12:24:38 maik-desktop avahi-daemon[622]: Registering new address record for fe80::72c3:2861:8aa3:c5bc on enxb827eb81966f.*.
Feb 24 12:24:57 maik-desktop org.gtk.vfs.Daemon[1388]: (process:1711): WARNING : Couldn't create directory monitor on smb:x-gnome-default-workgroup/. Error: Operation not supported by backend
Feb 24 12:24:57 maik-desktop org.gtk.vfs.Daemon[1388]: (process:1711): WARNING : Couldn't create directory monitor on smb:
x-gnome-default-workgroup/. Error: Operation not supported by backend
Feb 24 12:26:11 maik-desktop systemd[1]: Started ISC DHCP IPv4 server.
Feb 24 12:26:11 maik-desktop rsyslogd-2007: action 'action 10' suspended, next retry is Fri Feb 24 12:27:11 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Feb 24 12:26:11 maik-desktop dhcpd[2213]: Internet Systems Consortium DHCP Server 4.3.3
Feb 24 12:26:11 maik-desktop sh[2213]: Internet Systems Consortium DHCP Server 4.3.3
Feb 24 12:26:11 maik-desktop sh[2213]: Copyright 2004-2015 Internet Systems Consortium.
Feb 24 12:26:11 maik-desktop sh[2213]: All rights reserved.
Feb 24 12:26:11 maik-desktop sh[2213]: For info, please visit https://www.isc.org/software/dhcp/
Feb 24 12:26:11 maik-desktop dhcpd[2213]: Copyright 2004-2015 Internet Systems Consortium.
Feb 24 12:26:11 maik-desktop dhcpd[2213]: All rights reserved.
Feb 24 12:26:11 maik-desktop sh[2213]: /etc/dhcp/dhcpd.conf line 5: semicolon expected.
Feb 24 12:26:11 maik-desktop sh[2213]: subnet
Feb 24 12:26:11 maik-desktop sh[2213]: ^
Feb 24 12:26:11 maik-desktop sh[2213]: /etc/dhcp/dhcpd.conf line 10: expecting a parameter or declaration
Feb 24 12:26:11 maik-desktop sh[2213]: }
Feb 24 12:26:11 maik-desktop sh[2213]: ^
Feb 24 12:26:11 maik-desktop sh[2213]: Configuration file errors encountered -- exiting
Feb 24 12:26:11 maik-desktop sh[2213]: If you think you have received this message due to a bug rather
Feb 24 12:26:11 maik-desktop sh[2213]: than a configuration issue please read the section on submitting
Feb 24 12:26:11 maik-desktop sh[2213]: bugs on either our web page at www.isc.org or in the README file
Feb 24 12:26:11 maik-desktop sh[2213]: before submitting a bug. These pages explain the proper
Feb 24 12:26:11 maik-desktop sh[2213]: process and the information we find helpful for debugging..
Feb 24 12:26:11 maik-desktop sh[2213]: exiting.
Feb 24 12:26:11 maik-desktop dhcpd[2213]: For info, please visit https://www.isc.org/software/dhcp/
Feb 24 12:26:11 maik-desktop systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE
Feb 24 12:26:11 maik-desktop dhcpd[2213]: /etc/dhcp/dhcpd.conf line 5: semicolon expected.
Feb 24 12:26:11 maik-desktop systemd[1]: isc-dhcp-server.service: Unit entered failed state.
Feb 24 12:26:11 maik-desktop dhcpd[2213]: subnet
Feb 24 12:26:11 maik-desktop systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Feb 24 12:26:11 maik-desktop dhcpd[2213]: ^
Feb 24 12:26:11 maik-desktop dhcpd[2213]: /etc/dhcp/dhcpd.conf line 10: expecting a parameter or declaration
Feb 24 12:26:11 maik-desktop dhcpd[2213]: }
Feb 24 12:26:11 maik-desktop dhcpd[2213]: ^
Feb 24 12:26:11 maik-desktop dhcpd[2213]: Configuration file errors encountered -- exiting
Feb 24 12:26:11 maik-desktop dhcpd[2213]:
Feb 24 12:26:11 maik-desktop dhcpd[2213]: If you think you have received this message due to a bug rather
Feb 24 12:26:11 maik-desktop dhcpd[2213]: than a configuration issue please read the section on submitting
Feb 24 12:26:11 maik-desktop dhcpd[2213]: bugs on either our web page at www.isc.org or in the README file
Feb 24 12:26:11 maik-desktop dhcpd[2213]: before submitting a bug. These pages explain the proper
Feb 24 12:26:11 maik-desktop dhcpd[2213]: process and the information we find helpful for debugging..
Feb 24 12:26:11 maik-desktop dhcpd[2213]:
Feb 24 12:26:11 maik-desktop dhcpd[2213]: exiting.
Feb 24 12:27:23 maik-desktop systemd-timesyncd[543]: Timed out waiting for reply from 91.189.89.199:123 (ntp.ubuntu.com).
Feb 24 12:27:23 maik-desktop rsyslogd-2007: action 'action 10' suspended, next retry is Fri Feb 24 12:28:23 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Feb 24 12:27:33 maik-desktop systemd-timesyncd[543]: Timed out waiting for reply from 91.189.89.198:123 (ntp.ubuntu.com).
Feb 24 12:27:44 maik-desktop systemd-timesyncd[543]: Timed out waiting for reply from 91.189.94.4:123 (ntp.ubuntu.com).
Feb 24 12:27:54 maik-desktop systemd-timesyncd[543]: Timed out waiting for reply from 91.189.91.157:123 (ntp.ubuntu.com).
Feb 24 12:30:47 maik-desktop wpa_supplicant[792]: wlan0: WPA: Group rekeying completed with 34:31:c4:ec:08:1b [GTK=CCMP]
Feb 24 12:30:47 maik-desktop rsyslogd-2007: action 'action 10' suspended, next retry is Fri Feb 24 12:31:47 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Feb 24 12:36:46 maik-desktop systemd[1]: Started ISC DHCP IPv4 server.
Feb 24 12:36:46 maik-desktop rsyslogd-2007: action 'action 10' suspended, next retry is Fri Feb 24 12:38:16 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Feb 24 12:36:46 maik-desktop dhcpd[2255]: Internet Systems Consortium DHCP Server 4.3.3
Feb 24 12:36:46 maik-desktop sh[2255]: Internet Systems Consortium DHCP Server 4.3.3
Feb 24 12:36:46 maik-desktop sh[2255]: Copyright 2004-2015 Internet Systems Consortium.
Feb 24 12:36:46 maik-desktop sh[2255]: All rights reserved.
Feb 24 12:36:46 maik-desktop sh[2255]: For info, please visit https://www.isc.org/software/dhcp/
Feb 24 12:36:46 maik-desktop dhcpd[2255]: Copyright 2004-2015 Internet Systems Consortium.
Feb 24 12:36:46 maik-desktop dhcpd[2255]: All rights reserved.
Feb 24 12:36:46 maik-desktop dhcpd[2255]: For info, please visit https://www.isc.org/software/dhcp/
Feb 24 12:36:46 maik-desktop dhcpd[2255]: /etc/dhcp/dhcpd.conf line 12: semicolon expected.
Feb 24 12:36:46 maik-desktop dhcpd[2255]: subnet
Feb 24 12:36:46 maik-desktop sh[2255]: /etc/dhcp/dhcpd.conf line 12: semicolon expected.
Feb 24 12:36:46 maik-desktop sh[2255]: subnet
Feb 24 12:36:46 maik-desktop sh[2255]: ^
Feb 24 12:36:46 maik-desktop sh[2255]: /etc/dhcp/dhcpd.conf line 17: expecting a parameter or declaration
Feb 24 12:36:46 maik-desktop sh[2255]: }
Feb 24 12:36:46 maik-desktop sh[2255]: ^
Feb 24 12:36:46 maik-desktop sh[2255]: Configuration file errors encountered -- exiting
Feb 24 12:36:46 maik-desktop sh[2255]: If you think you have received this message due to a bug rather
Feb 24 12:36:46 maik-desktop sh[2255]: than a configuration issue please read the section on submitting
Feb 24 12:36:46 maik-desktop sh[2255]: bugs on either our web page at www.isc.org or in the README file
Feb 24 12:36:46 maik-desktop sh[2255]: before submitting a bug. These pages explain the proper
Feb 24 12:36:46 maik-desktop sh[2255]: process and the information we find helpful for debugging..
Feb 24 12:36:46 maik-desktop sh[2255]: exiting.
Feb 24 12:36:46 maik-desktop dhcpd[2255]: ^
Feb 24 12:36:46 maik-desktop systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE
Feb 24 12:36:46 maik-desktop dhcpd[2255]: /etc/dhcp/dhcpd.conf line 17: expecting a parameter or declaration
Feb 24 12:36:46 maik-desktop systemd[1]: isc-dhcp-server.service: Unit entered failed state.
Feb 24 12:36:46 maik-desktop dhcpd[2255]: }
Feb 24 12:36:46 maik-desktop systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Feb 24 12:36:46 maik-desktop dhcpd[2255]: ^
Feb 24 12:36:46 maik-desktop dhcpd[2255]: Configuration file errors encountered -- exiting
Feb 24 12:36:46 maik-desktop dhcpd[2255]:
Feb 24 12:36:46 maik-desktop dhcpd[2255]: If you think you have received this message due to a bug rather
Feb 24 12:36:46 maik-desktop dhcpd[2255]: than a configuration issue please read the section on submitting
Feb 24 12:36:46 maik-desktop dhcpd[2255]: bugs on either our web page at www.isc.org or in the README file
Feb 24 12:36:46 maik-desktop dhcpd[2255]: before submitting a bug. These pages explain the proper
Feb 24 12:36:46 maik-desktop dhcpd[2255]: process and the information we find helpful for debugging..
Feb 24 12:36:46 maik-desktop dhcpd[2255]:
Feb 24 12:36:46 maik-desktop dhcpd[2255]: exiting.
Feb 24 12:40:47 maik-desktop wpa_supplicant[792]: wlan0: WPA: Group rekeying completed with 34:31:c4:ec:08:1b [GTK=CCMP]
Feb 24 12:40:47 maik-desktop rsyslogd-2007: action 'action 10' suspended, next retry is Fri Feb 24 12:42:17 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Feb 24 12:41:45 maik-desktop systemd[1]: snapd.refresh.timer: Adding 2h 34min 59.247112s random time.
Feb 24 12:45:08 maik-desktop systemd-timesyncd[543]: Timed out waiting for reply from 91.189.94.4:123 (ntp.ubuntu.com).
Feb 24 12:45:08 maik-desktop rsyslogd-2007: action 'action 10' suspended, next retry is Fri Feb 24 12:46:38 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Feb 24 12:45:19 maik-desktop systemd-timesyncd[543]: Timed out waiting for reply from 91.189.89.199:123 (ntp.ubuntu.com).
Feb 24 12:45:29 maik-desktop systemd-timesyncd[543]: Timed out waiting for reply from 91.189.89.198:123 (ntp.ubuntu.com).
Feb 24 12:45:39 maik-desktop systemd-timesyncd[543]: Timed out waiting for reply from 91.189.91.157:123 (ntp.ubuntu.com).
Feb 24 12:50:47 maik-desktop wpa_supplicant[792]: wlan0: WPA: Group rekeying completed with 34:31:c4:ec:08:1b [GTK=CCMP]
Feb 24 12:50:47 maik-desktop rsyslogd-2007: action 'action 10' suspended, next retry is Fri Feb 24 12:52:17 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Feb 24 13:00:47 maik-desktop wpa_supplicant[792]: wlan0: WPA: Group rekeying completed with 34:31:c4:ec:08:1b [GTK=CCMP]
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <warn> [1487937656.0471] device (enxb827eb81966f): disconnecting connection 'Wired connection 1' for new activation request.
Feb 24 13:00:56 maik-desktop rsyslogd-2007: action 'action 10' suspended, next retry is Fri Feb 24 13:02:26 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.0487] device (enxb827eb81966f): state change: activated -> deactivating (reason 'new-activation') [100 110 60]
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.0526] manager: NetworkManager state is now CONNECTED_LOCAL
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.0728] device (enxb827eb81966f): disconnecting for new activation request.
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.0755] audit: op="connection-activate" uuid="0d9ba631-e22b-3960-96e1-8303a12071ff" name="Wired connection 1" pid=1549 uid=1000 result="success"
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.0801] device (enxb827eb81966f): state change: deactivating -> disconnected (reason 'new-activation') [110 30 60]
Feb 24 13:00:56 maik-desktop avahi-daemon[622]: Withdrawing address record for fe80::72c3:2861:8aa3:c5bc on enxb827eb81966f.
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.0890] manager: NetworkManager state is now CONNECTED_GLOBAL
Feb 24 13:00:56 maik-desktop avahi-daemon[622]: Leaving mDNS multicast group on interface enxb827eb81966f.IPv6 with address fe80::72c3:2861:8aa3:c5bc.
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.0901] policy: set 'Area51' (wlan0) as default for IPv4 routing and DNS
Feb 24 13:00:56 maik-desktop avahi-daemon[622]: Interface enxb827eb81966f.IPv6 no longer relevant for mDNS.
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.0949] device (enxb827eb81966f): Activation: starting connection 'Wired connection 1' (0d9ba631-e22b-3960-96e1-8303a12071ff)
Feb 24 13:00:56 maik-desktop avahi-daemon[622]: Withdrawing address record for 192.168.200.1 on enxb827eb81966f.
Feb 24 13:00:56 maik-desktop avahi-daemon[622]: Leaving mDNS multicast group on interface enxb827eb81966f.IPv4 with address 192.168.200.1.
Feb 24 13:00:56 maik-desktop avahi-daemon[622]: Interface enxb827eb81966f.IPv4 no longer relevant for mDNS.
Feb 24 13:00:56 maik-desktop org.gtk.vfs.Daemon[1388]: (process:1711): WARNING : Couldn't create directory monitor on smb:x-gnome-default-workgroup/. Error: Operation not supported by backend
Feb 24 13:00:56 maik-desktop dbus[661]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.1187] device (enxb827eb81966f): state change: disconnected -> prepare (reason 'none') [30 40 0]
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.1282] device (enxb827eb81966f): state change: prepare -> config (reason 'none') [40 50 0]
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.1314] device (enxb827eb81966f): state change: config -> ip-config (reason 'none') [50 70 0]
Feb 24 13:00:56 maik-desktop org.gtk.vfs.Daemon[1388]: (process:1711): WARNING : Couldn't create directory monitor on smb:
x-gnome-default-workgroup/. Error: Operation not supported by backend
Feb 24 13:00:56 maik-desktop avahi-daemon[622]: Joining mDNS multicast group on interface enxb827eb81966f.IPv4 with address 192.168.200.1.
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.1574] device (enxb827eb81966f): state change: ip-config -> ip-check (reason 'none') [70 80 0]
Feb 24 13:00:56 maik-desktop avahi-daemon[622]: New relevant interface enxb827eb81966f.IPv4 for mDNS.
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.1648] device (enxb827eb81966f): state change: ip-check -> secondaries (reason 'none') [80 90 0]
Feb 24 13:00:56 maik-desktop avahi-daemon[622]: Registering new address record for 192.168.200.1 on enxb827eb81966f.IPv4.
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.1669] device (enxb827eb81966f): state change: secondaries -> activated (reason 'none') [90 100 0]
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.1797] manager: NetworkManager state is now CONNECTED_LOCAL
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.1802] manager: NetworkManager state is now CONNECTED_GLOBAL
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.1804] policy: set 'Wired connection 1' (enxb827eb81966f) as default for IPv4 routing and DNS
Feb 24 13:00:56 maik-desktop NetworkManager[697]: <info> [1487937656.1807] device (enxb827eb81966f): Activation: successful, device activated.
Feb 24 13:00:56 maik-desktop systemd[1]: Starting Network Manager Script Dispatcher Service...
Feb 24 13:00:56 maik-desktop dbus[661]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Feb 24 13:00:56 maik-desktop nm-dispatcher: req:1 'down' [enxb827eb81966f]: new request (2 scripts)
Feb 24 13:00:56 maik-desktop nm-dispatcher: req:1 'down' [enxb827eb81966f]: start running ordered scripts...
Feb 24 13:00:56 maik-desktop nm-dispatcher: req:2 'up' [enxb827eb81966f]: new request (2 scripts)
Feb 24 13:00:56 maik-desktop systemd[1]: Started Network Manager Script Dispatcher Service.
Feb 24 13:00:56 maik-desktop nm-dispatcher[2316]: Error: TLP power save is disabled. Set TLP_ENABLE=1 in /etc/default/tlp.
Feb 24 13:00:56 maik-desktop nm-dispatcher: req:2 'up' [enxb827eb81966f]: start running ordered scripts...
Feb 24 13:00:56 maik-desktop org.gtk.vfs.Daemon[1388]: (process:1711): WARNING : Couldn't create directory monitor on smb:x-gnome-default-workgroup/. Error: Operation not supported by backend
Feb 24 13:00:56 maik-desktop org.gtk.vfs.Daemon[1388]: (process:1711): WARNING : Couldn't create directory monitor on smb:
x-gnome-default-workgroup/. Error: Operation not supported by backend
Feb 24 13:00:56 maik-desktop nm-dispatcher[2316]: Error: TLP power save is disabled. Set TLP_ENABLE=1 in /etc/default/tlp.
Feb 24 13:00:57 maik-desktop avahi-daemon[622]: Joining mDNS multicast group on interface enxb827eb81966f.IPv6 with address fe80::72c3:2861:8aa3:c5bc.
Feb 24 13:00:57 maik-desktop avahi-daemon[622]: New relevant interface enxb827eb81966f.IPv6 for mDNS.
Feb 24 13:00:57 maik-desktop avahi-daemon[622]: Registering new address record for fe80::72c3:2861:8aa3:c5bc on enxb827eb81966f.*.
Feb 24 13:02:04 maik-desktop systemd[1]: Stopped ISC DHCP IPv4 server.
Feb 24 13:02:04 maik-desktop systemd[1]: Started ISC DHCP IPv4 server.
Feb 24 13:02:04 maik-desktop dhcpd[2466]: Internet Systems Consortium DHCP Server 4.3.3
Feb 24 13:02:04 maik-desktop sh[2466]: Internet Systems Consortium DHCP Server 4.3.3
Feb 24 13:02:04 maik-desktop sh[2466]: Copyright 2004-2015 Internet Systems Consortium.
Feb 24 13:02:04 maik-desktop sh[2466]: All rights reserved.
Feb 24 13:02:04 maik-desktop sh[2466]: For info, please visit https://www.isc.org/software/dhcp/
Feb 24 13:02:04 maik-desktop dhcpd[2466]: Copyright 2004-2015 Internet Systems Consortium.
Feb 24 13:02:04 maik-desktop dhcpd[2466]: All rights reserved.
Feb 24 13:02:04 maik-desktop dhcpd[2466]: For info, please visit https://www.isc.org/software/dhcp/
Feb 24 13:02:04 maik-desktop dhcpd[2466]: /etc/dhcp/dhcpd.conf line 12: semicolon expected.
Feb 24 13:02:04 maik-desktop sh[2466]: /etc/dhcp/dhcpd.conf line 12: semicolon expected.
Feb 24 13:02:04 maik-desktop sh[2466]: subnet
Feb 24 13:02:04 maik-desktop sh[2466]: ^
Feb 24 13:02:04 maik-desktop sh[2466]: /etc/dhcp/dhcpd.conf line 17: expecting a parameter or declaration
Feb 24 13:02:04 maik-desktop sh[2466]: }
Feb 24 13:02:04 maik-desktop sh[2466]: ^
Feb 24 13:02:04 maik-desktop sh[2466]: Configuration file errors encountered -- exiting
Feb 24 13:02:04 maik-desktop sh[2466]: If you think you have received this message due to a bug rather
Feb 24 13:02:04 maik-desktop sh[2466]: than a configuration issue please read the section on submitting
Feb 24 13:02:04 maik-desktop sh[2466]: bugs on either our web page at www.isc.org or in the README file
Feb 24 13:02:04 maik-desktop sh[2466]: before submitting a bug. These pages explain the proper
Feb 24 13:02:04 maik-desktop sh[2466]: process and the information we find helpful for debugging..
Feb 24 13:02:04 maik-desktop sh[2466]: exiting.
Feb 24 13:02:04 maik-desktop dhcpd[2466]: subnet
Feb 24 13:02:04 maik-desktop systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE
Feb 24 13:02:04 maik-desktop dhcpd[2466]: ^
Feb 24 13:02:04 maik-desktop systemd[1]: isc-dhcp-server.service: Unit entered failed state.
Feb 24 13:02:04 maik-desktop dhcpd[2466]: /etc/dhcp/dhcpd.conf line 17: expecting a parameter or declaration
Feb 24 13:02:04 maik-desktop systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Feb 24 13:02:04 maik-desktop dhcpd[2466]: }
Feb 24 13:02:04 maik-desktop dhcpd[2466]: ^
Feb 24 13:02:04 maik-desktop dhcpd[2466]: Configuration file errors encountered -- exiting
Feb 24 13:02:04 maik-desktop dhcpd[2466]:
Feb 24 13:02:04 maik-desktop dhcpd[2466]: If you think you have received this message due to a bug rather
Feb 24 13:02:04 maik-desktop dhcpd[2466]: than a configuration issue please read the section on submitting
Feb 24 13:02:04 maik-desktop dhcpd[2466]: bugs on either our web page at www.isc.org or in the README file
Feb 24 13:02:04 maik-desktop dhcpd[2466]: before submitting a bug. These pages explain the proper
Feb 24 13:02:04 maik-desktop dhcpd[2466]: process and the information we find helpful for debugging..
Feb 24 13:02:04 maik-desktop dhcpd[2466]:
Feb 24 13:02:04 maik-desktop dhcpd[2466]: exiting.
Feb 24 13:04:10 maik-desktop systemd[1]: Stopped ISC DHCP IPv4 server.
Feb 24 13:04:10 maik-desktop rsyslogd-2007: action 'action 10' suspended, next retry is Fri Feb 24 13:05:40 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Feb 24 13:04:10 maik-desktop systemd[1]: Started ISC DHCP IPv4 server.
Feb 24 13:04:11 maik-desktop dhcpd[2501]: Internet Systems Consortium DHCP Server 4.3.3
Feb 24 13:04:11 maik-desktop sh[2501]: Internet Systems Consortium DHCP Server 4.3.3
Feb 24 13:04:11 maik-desktop sh[2501]: Copyright 2004-2015 Internet Systems Consortium.
Feb 24 13:04:11 maik-desktop sh[2501]: All rights reserved.
Feb 24 13:04:11 maik-desktop sh[2501]: For info, please visit https://www.isc.org/software/dhcp/
Feb 24 13:04:11 maik-desktop dhcpd[2501]: Copyright 2004-2015 Internet Systems Consortium.
Feb 24 13:04:11 maik-desktop dhcpd[2501]: All rights reserved.
Feb 24 13:04:11 maik-desktop dhcpd[2501]: For info, please visit https://www.isc.org/software/dhcp/
Feb 24 13:04:11 maik-desktop sh[2501]: /etc/dhcp/dhcpd.conf line 12: semicolon expected.
Feb 24 13:04:11 maik-desktop sh[2501]: subnet
Feb 24 13:04:11 maik-desktop sh[2501]: ^
Feb 24 13:04:11 maik-desktop sh[2501]: /etc/dhcp/dhcpd.conf line 17: expecting a parameter or declaration
Feb 24 13:04:11 maik-desktop sh[2501]: }
Feb 24 13:04:11 maik-desktop sh[2501]: ^
Feb 24 13:04:11 maik-desktop sh[2501]: Configuration file errors encountered -- exiting
Feb 24 13:04:11 maik-desktop sh[2501]: If you think you have received this message due to a bug rather
Feb 24 13:04:11 maik-desktop sh[2501]: than a configuration issue please read the section on submitting
Feb 24 13:04:11 maik-desktop sh[2501]: bugs on either our web page at www.isc.org or in the README file
Feb 24 13:04:11 maik-desktop sh[2501]: before submitting a bug. These pages explain the proper
Feb 24 13:04:11 maik-desktop sh[2501]: process and the information we find helpful for debugging..
Feb 24 13:04:11 maik-desktop sh[2501]: exiting.
Feb 24 13:04:11 maik-desktop dhcpd[2501]: /etc/dhcp/dhcpd.conf line 12: semicolon expected.
Feb 24 13:04:11 maik-desktop systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE
Feb 24 13:04:11 maik-desktop dhcpd[2501]: subnet
Feb 24 13:04:11 maik-desktop systemd[1]: isc-dhcp-server.service: Unit entered failed state.
Feb 24 13:04:11 maik-desktop dhcpd[2501]: ^
Feb 24 13:04:11 maik-desktop systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Feb 24 13:04:11 maik-desktop dhcpd[2501]: /etc/dhcp/dhcpd.conf line 17: expecting a parameter or declaration
Feb 24 13:04:11 maik-desktop dhcpd[2501]: }
Feb 24 13:04:11 maik-desktop dhcpd[2501]: ^
Feb 24 13:04:11 maik-desktop dhcpd[2501]: Configuration file errors encountered -- exiting
Feb 24 13:04:11 maik-desktop dhcpd[2501]:
Feb 24 13:04:11 maik-desktop dhcpd[2501]: If you think you have received this message due to a bug rather
Feb 24 13:04:11 maik-desktop dhcpd[2501]: than a configuration issue please read the section on submitting
Feb 24 13:04:11 maik-desktop dhcpd[2501]: bugs on either our web page at www.isc.org or in the README file
Feb 24 13:04:11 maik-desktop dhcpd[2501]: before submitting a bug. These pages explain the proper
Feb 24 13:04:11 maik-desktop dhcpd[2501]: process and the information we find helpful for debugging..
Feb 24 13:04:11 maik-desktop dhcpd[2501]:
Feb 24 13:04:11 maik-desktop dhcpd[2501]: exiting.
Feb 24 13:06:17 maik-desktop rsyslogd-2007: action 'action 10' suspended, next retry is Fri Feb 24 13:07:47 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
root@maik-desktop:/etc/network/interfaces.d#
Maik82
Maik82 24.02.2017 aktualisiert um 13:35:01 Uhr
Goto Top
weitere Angaben:

Ifconfig:

enxb827eb81966f Link encap:Ethernet HWaddr b8:27:eb:81:96:6f
inet addr:192.168.200.1 Bcast:192.168.200.255 Mask:255.255.255.0
inet6 addr: fe80::72c3:2861:8aa3:c5bc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1490 errors:0 dropped:11 overruns:0 frame:0
TX packets:602 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:344530 (344.5 KB) TX bytes:98945 (98.9 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:629 errors:0 dropped:0 overruns:0 frame:0
TX packets:629 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:54373 (54.3 KB) TX bytes:54373 (54.3 KB)

wlan0 Link encap:Ethernet HWaddr b8:27:eb:d4:c3:3a
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:18663 errors:0 dropped:191 overruns:0 frame:0
TX packets:1249 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3203336 (3.2 MB) TX bytes:187354 (187.3 KB)

interfaces:

  1. interfaces(5) file used by ifup(8) and ifdown(8)
  2. Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

  1. The loopback network interface
auto lo
iface lo inet loopback

Die Adresse habe ich auf der Grafischen Oberfläche eingestellt.

pingen untereinader geht wenn ich meinem MAC eine feste IP gebe.
brammer
brammer 24.02.2017 um 13:35:35 Uhr
Goto Top
Hallo,

die Zeilen:
Feb 24 13:04:11 maik-desktop sh[2501]: /etc/dhcp/dhcpd.conf line 17: expecting a parameter or declaration
Feb 24 13:04:11 maik-desktop dhcpd[2501]: /etc/dhcp/dhcpd.conf line 12: semicolon expected.

hast du gesehen und die Zeilen geprüft?

brammer
132272
132272 24.02.2017 aktualisiert um 13:38:03 Uhr
Goto Top
Dine Config hat einfach zu viele Syntax-Fehler ... ganz einfach face-smile.
Feb 24 12:26:11 maik-desktop dhcpd[2213]: All rights reserved.
Feb 24 12:26:11 maik-desktop sh[2213]: /etc/dhcp/dhcpd.conf line 5: semicolon expected.
Feb 24 12:26:11 maik-desktop sh[2213]: subnet
Feb 24 12:26:11 maik-desktop sh[2213]: ^
Feb 24 12:26:11 maik-desktop sh[2213]: /etc/dhcp/dhcpd.conf line 10: expecting a parameter or declaration
Feb 24 12:26:11 maik-desktop sh[2213]: }
Feb 24 12:26:11 maik-desktop sh[2213]: ^
Feb 24 12:26:11 maik-desktop sh[2213]: Configuration file errors encountered -- exiting
Maik82
Maik82 24.02.2017 aktualisiert um 13:41:45 Uhr
Goto Top
Ich sehe nur in den Zeilen wie oben beschrieben keine Fehler.
Die dhcpd.conf ist so kopiert

1.
2. default-lease-time 600;
3. max-lease-time 7200
4.
5. #subnet 192.168.101.0 netmask 255.255.255.0 {
6. # range 192.168.101.1 192.168.101.250;
7. # option domain-name-servers 192.168.254.253;
8. # option subnet-mask 255.255.255.0;
9. # option routers 192.168.101.254;
10. #}
11.
12. subnet 192.168.200.0 netmask 255.255.255.0 {
13. range 192.168.200.10 192.168.200.200;14.
14. option domain-name-servers 192.168.254.253;
15. option subnet-mask 255.255.255.0;
16. option routers 192.168.200.1;
17.}
BassFishFox
BassFishFox 24.02.2017 um 13:41:16 Uhr
Goto Top
Schau Deine /etc/dhcp/dhcpd.conf genau an. Der Dienst startet nicht wegen Fehlern in dieser Datei.

Feb 24 12:26:11 maik-desktop sh[2213]: /etc/dhcp/dhcpd.conf line 5: semicolon expected.
Feb 24 12:26:11 maik-desktop sh[2213]: subnet
Feb 24 12:26:11 maik-desktop sh[2213]: ^
Feb 24 12:26:11 maik-desktop sh[2213]: /etc/dhcp/dhcpd.conf line 10: expecting a parameter or declaration
Feb 24 12:26:11 maik-desktop sh[2213]: }
Feb 24 12:26:11 maik-desktop sh[2213]: ^
Feb 24 12:26:11 maik-desktop sh[2213]: Configuration file errors encountered -- exiting

BFF
michi1983
michi1983 24.02.2017 aktualisiert um 13:42:40 Uhr
Goto Top
Und wenn du dir mal die Mühe machen würdest und Code Tags verwendest in den Kommentaren, würde das auch alles etwas übersichtlicher aussehen und man würde den Fehler ev. finden.

Wie du Code Tags verwendest, steht übrigens in den Foren Hilfe die du sicherlich gelesen hast als du dich hier registriert hast.

Gruß
Maik82
Maik82 24.02.2017 um 13:42:47 Uhr
Goto Top
In meinem letzten Post steht sie nochmal.
michi1983
michi1983 24.02.2017 um 13:44:23 Uhr
Goto Top
Zitat von @Maik82:

In meinem letzten Post steht sie nochmal.
Du hast 2 Subnetze definiert? Und auf welches Interface sollen die hören?
Maik82
Maik82 24.02.2017 um 13:46:12 Uhr
Goto Top
Der eine ist auskommentiert
SlainteMhath
SlainteMhath 24.02.2017 um 13:47:07 Uhr
Goto Top
Da fehlen Strichpunkte, so wie's im Logfile steht. Stell die Config Syntaxmässig richtig, und versuchs dann nochmal.
Und: Bitte verwenden code tags wie von @michi1983 beschrieben!
aqui
aqui 24.02.2017 aktualisiert um 13:48:59 Uhr
Goto Top
Hier findest du eine vollständige und lauffähige Konfig dazu:
Netzwerk Management Server mit Raspberry Pi
Einfach abtippen und geht face-wink

Wenn du nur ein flaches, dummes Netzwerk hast, dann kannst du dir logischerweise die VLAN Subnetze wegdenken buw. ignorieren in der Konfig face-wink
132488
132488 24.02.2017 um 13:52:16 Uhr
Goto Top
Okay, folgendes ist zu tun:

1. In der Config alles auskommentieren was du nicht brauchst (# am Anfang der Zeile)
und Syntax überprüfen.
2. Um Fehler in der GUI auszuschließen, trage bitte die LAN-Schnittstelle
in /etc/network/interfaces ein. Wenn dein Interface wirklich
enxb827eb81966f heißt, dann "eth0" durch "enxb827eb81966f" ersetzen.

interfaces(5) file used by ifup(8) and ifdown(8)
Include files from /etc/network/interfaces.d:

source-directory /etc/network/interfaces.d

#The loopback network interface
auto lo
iface lo inet loopback

#The ethernet interface
auto eth0
iface eth0 inet static
        address 192.168.200.1
        network 192.168.200.0
        broadcast 192.168.200.255
        netmask 255.255.255.0
        gateway 192.168.200.254

Mit statischen IPs funktioniert es, soweit so gut. Was ist nun aber wie verbunden?
Hängt ein Switch dazwischen? Mac mit LAN oder WLAN verbunden? Hast du noch einen
anderen DHCP-Server im Netz (ggf. Router)?
aqui
aqui 24.02.2017 um 13:52:18 Uhr
Goto Top
Besser noch ein klein wenig tunen:
ddns-update-style none; 
authoritative; 
ping-check true; 
default-lease-time 600;
max-lease-time 7200;

subnet 192.168.200.0 netmask 255.255.255.0 {
	range 192.168.200.10 192.168.200.200;
	option domain-name-servers 192.168.254.253;
	option subnet-mask 255.255.255.0;
	option routers 192.168.200.1;
} 
Schaltet noch den Ping Check vor Vergabe der IP Adressen ab um doppelte IPs zu vermeiden face-wink
Maik82
Maik82 24.02.2017 um 13:55:02 Uhr
Goto Top
OK mit den Zeilen von Krämer funktioniert es.
Ich sehe den unterscheid zu meinen nur nicht aber OK

Danke für die schnelle Hilfe
michi1983
michi1983 24.02.2017 aktualisiert um 13:59:58 Uhr
Goto Top
Ich seh dafür nicht, dass @Kraemer hier kommentiert hat, aber OK... is ja Freitag

Und noch was zum lesen.
Maik82
Maik82 24.02.2017 um 14:03:23 Uhr
Goto Top
hat er danach wohl wieder gleich gelöscht.
aqui
aqui 24.02.2017 aktualisiert um 17:11:55 Uhr
Goto Top
Ich seh dafür nicht, dass @Kraemer hier kommentiert hat
Doch hatte er, vor mir... Deshalb das tunen in meinem Posting face-wink
Komisch, denn sie waren nicht falsch !?

Aber gut wenn nun alles klappt wie es soll.
Vermutlich hast du einfach nur ein ; irgendwo vergessen.
Übrigens sagt dir der Syslog immer sofort in welcher Zeile der DHCP Server Konfig der Fehler ist....
Natürlich nur wenn man mal mit cat var/log/syslog ins Log sieht face-wink
Findest du sonst alles im o.a. hiesigen RasPi_Tutorial face-wink
132272
Lösung 132272 24.02.2017 aktualisiert um 14:22:29 Uhr
Goto Top
max-lease-time 7200; <--
Hier fehlte das Semikolon am Ende der Zeile, nur zur Info. Linux will's "exakt", gewöhn' dich schon mal dran face-wink.

Dann noch ein gelöst hinten dran und gut is.

Gruß
Maik82
Maik82 24.02.2017 um 14:27:52 Uhr
Goto Top
sehr schön cruzer
das hat mir gefehlt, dass ich weiß wo der Fehler war. Super.

Ich hab Ihn in meine bestehenden Netzwerk eingebunden und es funktioniert.

Jetzt nur noch die restlichen 60 subnets eintragen und schön ist es.

Eins wundert mich das sich der client erst nach 1 Minute eine Adresse Zieht.
Er bekommt erst ne APAIPA und irgendwann klappt es.

Liegt es am Netzwerk dann schaue ich selber.
Oder kann man am RasPi irgendwo eine Zeit festlegen ?
132272
132272 24.02.2017 aktualisiert um 14:37:12 Uhr
Goto Top
Eins wundert mich das sich der client erst nach 1 Minute eine Adresse Zieht.
Ist zufällig STP oder RSTP im Netz aktiv?

Wireshark rauskramen und du musst nicht mehr nur "rum raten" face-wink.
aqui
aqui 24.02.2017 um 17:15:31 Uhr
Goto Top
Jetzt nur noch die restlichen 60 subnets eintragen und schön ist es.
Sollte ja kein Thema sein mit der Anleitung oben face-wink
Eins wundert mich das sich der client erst nach 1 Minute eine Adresse Zieht.
Das kann nicht sein. Der RasPi hier macht es in ein paar Millisekunden.
Kollege cruzer hat absolut Recht:
Bei dir ist irgendeine Art von Spanning Tree aktiv im Netz auf deinem Switch (was ja per se nicht falsch ist !) und du hast vergessen die Endgeräte Ports auf Portfast zu setzen oder sie im RSTP als Edgeports zu konfigurieren.
Dann bleibt der Port ca. 40 Sekunden im Blocking bevor er aktiviert wird.
Ist alles einstellbar !
aqui
aqui 25.02.2017 um 14:54:14 Uhr
Goto Top
Hier geht es jetzt weiter... face-sad
DHCP IP-vergabe erst nach 1-2 Minuten