Dhclient: Unterschied zwischen den Versionen
Erscheinungsbild
K Dirkwagner verschob die Seite DHCP/Client nach Dhclient |
Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
'''{{BASEPAGENAME}}''' - Beschreibung | |||
== Beschreibung == | |||
== Installation == | |||
== Aufruf == | |||
<syntaxhighlight lang="bash" highlight="1" line copy> | |||
< /syntaxhighlight> | |||
=== Optionen === | |||
{| class="wikitable sortable options gnu big" | |||
|- | |||
! Unix !! GNU !! Parameter !! Beschreibung | |||
|- | |||
| || || || | |||
|- | |||
|} | |||
=== Parameter === | |||
=== Umgebungsvariablen === | |||
=== Exit-Status === | |||
{| class="wikitable options col1center big" | |||
|- | |||
! Wert !! Beschreibung | |||
|- | |||
| 0 || Erfolg | |||
|- | |||
| >0 || Fehler | |||
|} | |||
== Anwendung == | |||
<syntaxhighlight lang="bash" highlight="1" line copy> | |||
< /syntaxhighlight> | |||
=== Problembehebung === | |||
== Konfiguration == | |||
=== Dateien === | |||
{| class="wikitable options big" | |||
|- | |||
! Datei !! Beschreibung | |||
|- | |||
| || | |||
|- | |||
| || | |||
|} | |||
<noinclude> | |||
== Anhang == | |||
=== Siehe auch === | |||
<div style="column-count:2"> | |||
<categorytree hideroot=on mode="pages">{{BASEPAGENAME}}</categorytree> | |||
</div> | |||
---- | |||
{{Special:PrefixIndex/{{BASEPAGENAME}}/}} | |||
=== Dokumentation === | |||
; Man-Page | |||
# [https://manpages.debian.org/stable/procps/pgrep.1.de.html prep(1)] | |||
<!-- | |||
; Info-Pages | |||
--> | |||
=== Links === | |||
==== Projekt ==== | |||
==== Weblinks ==== | |||
{{DEFAULTSORT:new}} | |||
{{DISPLAYTITLE:new}} | |||
[[Kategorie:new]] | |||
</noinclude> | |||
= TMP = | |||
{{DISPLAYTITLE:dhclient}} | |||
== DHCP-Client == | == DHCP-Client == | ||
Damit Änderungen bei bereits aktivem Client wirksam werden, muss dieser sie neu anfordern. | Damit Änderungen bei bereits aktivem Client wirksam werden, muss dieser sie neu anfordern. | ||
Zeile 102: | Zeile 182: | ||
netbios-name-servers, netbios-scope, interface-mtu, | netbios-name-servers, netbios-scope, interface-mtu, | ||
rfc3442-classless-static-routes, ntp-servers; | rfc3442-classless-static-routes, ntp-servers; | ||
{{SORTIERUNG:dhclient}} | |||
[[Kategorie:Linux/Befehl]] | |||
[[Kategorie:DHCP]] |
Version vom 26. Juli 2025, 10:03 Uhr
Dhclient - Beschreibung
Beschreibung
Installation
Aufruf
<syntaxhighlight lang="bash" highlight="1" line copy> < /syntaxhighlight>
Optionen
Unix | GNU | Parameter | Beschreibung |
---|---|---|---|
Parameter
Umgebungsvariablen
Exit-Status
Wert | Beschreibung |
---|---|
0 | Erfolg |
>0 | Fehler |
Anwendung
<syntaxhighlight lang="bash" highlight="1" line copy> < /syntaxhighlight>
Problembehebung
Konfiguration
Dateien
Datei | Beschreibung |
---|---|
Anhang
Siehe auch
Dokumentation
- Man-Page
Links
Projekt
Weblinks
TMP
DHCP-Client
Damit Änderungen bei bereits aktivem Client wirksam werden, muss dieser sie neu anfordern.
Konfiguration verwerfen
# dhclient -r
Neue Konfiguration anfordern
# dhclient
DHCP release mit verbose
# dhclient -v -r [sudo] Passwort für user: Killed old client process Internet Systems Consortium DHCP Client 4.4.1 Copyright 2004-2018 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/enp2s0/74:27:ea:e1:db:32 Sending on LPF/enp2s0/74:27:ea:e1:db:32 Sending on Socket/fallback DHCPRELEASE of 10.20.1.110 on enp2s0 to 10.20.0.1 port 67 (xid=0x1f86c144)
Ausführliche Ausgabe
# dhclient -v Internet Systems Consortium DHCP Client 4.4.1 Copyright 2004-2018 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/enp2s0/74:27:ea:e1:db:32 Sending on LPF/enp2s0/74:27:ea:e1:db:32 Sending on Socket/fallback DHCPDISCOVER on enp2s0 to 255.255.255.255 port 67 interval 3 (xid=0xac531335) DHCPOFFER of 10.20.1.13 from 10.20.1.1 DHCPREQUEST for 10.20.1.13 on enp2s0 to 255.255.255.255 port 67 (xid=0x351353ac) DHCPACK of 10.20.1.13 from 10.20.1.1 (xid=0xac531335) cmp: EOF on /tmp/tmp.JBuNGXT4Zg which is empty bound to 10.20.1.13 -- renewal in 5933 seconds.
Konfigurationsdatei
/etc/dhcp/dhclient.conf
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
send host-name = gethostname();
request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, domain-search, host-name, dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers, netbios-name-servers, netbios-scope, interface-mtu, rfc3442-classless-static-routes, ntp-servers;
DHCP-Client
Damit Änderungen bei bereits aktivem Client wirksam werden, muss dieser sie neu anfordern.
Konfiguration verwerfen
# dhclient -r
Neue Konfiguration anfordern
# dhclient
DHCP release mit verbose
# dhclient -v -r [sudo] Passwort für user: Killed old client process Internet Systems Consortium DHCP Client 4.4.1 Copyright 2004-2018 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/enp2s0/74:27:ea:e1:db:32 Sending on LPF/enp2s0/74:27:ea:e1:db:32 Sending on Socket/fallback DHCPRELEASE of 10.20.1.110 on enp2s0 to 10.20.0.1 port 67 (xid=0x1f86c144)
Ausführliche Ausgabe von dhclient
# dhclient -v Internet Systems Consortium DHCP Client 4.4.1 Copyright 2004-2018 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/enp2s0/74:27:ea:e1:db:32 Sending on LPF/enp2s0/74:27:ea:e1:db:32 Sending on Socket/fallback DHCPDISCOVER on enp2s0 to 255.255.255.255 port 67 interval 3 (xid=0xac531335) DHCPOFFER of 10.20.1.13 from 10.20.1.1 DHCPREQUEST for 10.20.1.13 on enp2s0 to 255.255.255.255 port 67 (xid=0x351353ac) DHCPACK of 10.20.1.13 from 10.20.1.1 (xid=0xac531335) cmp: EOF on /tmp/tmp.JBuNGXT4Zg which is empty bound to 10.20.1.13 -- renewal in 5933 seconds.
Konfigurationsdatei
/etc/dhcp/dhclient.conf
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
send host-name = gethostname();
request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, domain-search, host-name, dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers, netbios-name-servers, netbios-scope, interface-mtu, rfc3442-classless-static-routes, ntp-servers;
Achtung: Der Sortierungsschlüssel „dhclient“ überschreibt den vorher verwendeten Schlüssel „new“.