Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
| Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
|
admin_grundlagen:dhcp [2025/07/13 10:21] ingo_wichmann [Konfiguration] |
admin_grundlagen:dhcp [2026/03/16 17:02] (aktuell) |
||
|---|---|---|---|
| Zeile 76: | Zeile 76: | ||
| Optional: Interface mit passender Mac-Adresse anlegen: [[admin_grundlagen:macvlan]] | Optional: Interface mit passender Mac-Adresse anlegen: [[admin_grundlagen:macvlan]] | ||
| - | DHCP Anfrage ohne Änderung: | + | siehe [[dhcp-client]] |
| - | === Debian (ab 6.0) Ubuntu (18.04) === | + | |
| - | dhclient -d -sf /bin/true eth0 | + | |
| - | oder | + | |
| - | dhclient -d -sf /usr/bin/env eth0 | + | |
| - | + | ||
| - | Unter Ubuntu 18.04 läuft dhclient in einem [[AppArmor]]-Käfig (confinement) und kann daher ''/bin/true'' und ''/usr/bin/env'' nicht ausführen. [[AppArmor|Lösung]] | + | |
| - | + | ||
| - | === openSuSE (12.3) === | + | |
| - | dhcpcd --test eth0 | + | |
| - | + | ||
| - | === openSuSE (ab 42.1) === | + | |
| - | /usr/lib/wicked/bin/wickedd-dhcp4 --test eth0 | + | |
| ====== IP-Adress-Pool ====== | ====== IP-Adress-Pool ====== | ||
| <file txt /etc/dhcp/dhcpd.conf> | <file txt /etc/dhcp/dhcpd.conf> | ||
| Zeile 95: | Zeile 82: | ||
| range 192.168.227.50 192.168.227.69; | range 192.168.227.50 192.168.227.69; | ||
| … | … | ||
| + | log-threshold-high 80; | ||
| + | log-threshold-low 50; | ||
| } | } | ||
| + | |||
| + | |||
| </file> | </file> | ||
| dhcpd -t | dhcpd -t | ||