<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=dhclient</id>
	<title>dhclient - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=dhclient"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=dhclient&amp;action=history"/>
	<updated>2026-06-25T15:17:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=dhclient&amp;diff=6657&amp;oldid=prev</id>
		<title>Woozle: /* Navigation */ crosslink to dhcpcd</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=dhclient&amp;diff=6657&amp;oldid=prev"/>
		<updated>2007-02-14T19:14:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Navigation: &lt;/span&gt; crosslink to dhcpcd&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:14, 14 February 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Navigation==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Navigation==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[computing]]: [[software]]: [[operating systems]]: [[Linux]]: [[dhclient]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[computing]]: [[software]]: [[operating systems]]: [[Linux]]: [[dhclient]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;Note&#039;&#039;&#039;: This page needs to be merged with {{linuxcmd|dhcpcd}}, as they both refer to the same command.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Overview==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Overview==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[dhclient]], known on some systems as dhcpcd, is a both an interactive command and a [[daemon (software)|daemon]] for managing a client connection to a [[DHCP]] server.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[dhclient]], known on some systems as dhcpcd, is a both an interactive command and a [[daemon (software)|daemon]] for managing a client connection to a [[DHCP]] server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=dhclient&amp;diff=6230&amp;oldid=prev</id>
		<title>Woozle: /* Overview */ overwrites resolv.conf</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=dhclient&amp;diff=6230&amp;oldid=prev"/>
		<updated>2006-12-21T15:17:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Overview: &lt;/span&gt; overwrites resolv.conf&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:17, 21 December 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  DHCPACK from 192.168.0.1&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  DHCPACK from 192.168.0.1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;...or it does not, in which case it tries for a little while longer and then takes some default action which may be distro-dependent. The network card being configured may or may not still have access to the network if the request fails, depending on what the default action is and how appropriate it is to the existing situation.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;...or it does not, in which case it tries for a little while longer and then takes some default action which may be distro-dependent. The network card being configured may or may not still have access to the network if the request fails, depending on what the default action is and how appropriate it is to the existing situation.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[dhclient]] also overwrites the [[resolv.conf]] file, so if you have alternate DNS servers listed in that file, they will get clobbered if you accidentally run dhclient.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Options===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Options===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The default broadcast address of 255.255.255.255 can be overridden by the -s option to request DHCP service only from a particular DHCP server:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The default broadcast address of 255.255.255.255 can be overridden by the -s option to request DHCP service only from a particular DHCP server:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=dhclient&amp;diff=6229&amp;oldid=prev</id>
		<title>Woozle at 13:55, 21 December 2006</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=dhclient&amp;diff=6229&amp;oldid=prev"/>
		<updated>2006-12-21T13:55:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Navigation==&lt;br /&gt;
[[computing]]: [[software]]: [[operating systems]]: [[Linux]]: [[dhclient]]&lt;br /&gt;
==Overview==&lt;br /&gt;
[[dhclient]], known on some systems as dhcpcd, is a both an interactive command and a [[daemon (software)|daemon]] for managing a client connection to a [[DHCP]] server.&lt;br /&gt;
&lt;br /&gt;
The normal network restart process (invoked either at boot time or manually by &amp;quot;/etc/init.d/networking restart&amp;quot; or similar) automatically runs dhclient for every interface which has the &amp;quot;dhcp&amp;quot; attribute specified in the [[/etc/network/interfaces]] file.&lt;br /&gt;
===Normal Behavior===&lt;br /&gt;
The standard process, as with most DHCP clients, is for dhclient to send a broadcast request for DHCP service on port 67, corresponding to this message printed by dhclient:&lt;br /&gt;
 DHCPREQUEST on eth0 to 255.255.255.255 port 67&lt;br /&gt;
&lt;br /&gt;
At some point, dhclient either receives the proper acknowledgment:&lt;br /&gt;
 DHCPACK from 192.168.0.1&lt;br /&gt;
...or it does not, in which case it tries for a little while longer and then takes some default action which may be distro-dependent. The network card being configured may or may not still have access to the network if the request fails, depending on what the default action is and how appropriate it is to the existing situation.&lt;br /&gt;
===Options===&lt;br /&gt;
The default broadcast address of 255.255.255.255 can be overridden by the -s option to request DHCP service only from a particular DHCP server:&lt;br /&gt;
 dhclient -s &amp;lt;u&amp;gt;server&amp;lt;/u&amp;gt; &amp;lt;u&amp;gt;eth0&amp;lt;/u&amp;gt;&lt;br /&gt;
Where:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;server&amp;#039;&amp;#039;&amp;#039; is the network name (domain name, [[WINS]] name, or whatever will resolve correctly) or IP address of the desired DHCP server&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;eth0&amp;#039;&amp;#039;&amp;#039; is the name of the network interface to configure via DHCP. &amp;quot;eth0&amp;quot; is the most common, but this can be &amp;quot;eth1&amp;quot;, &amp;quot;wlan0&amp;quot;, etc. &amp;#039;&amp;#039;(Need instructions on how to determine what network interfaces are actually available.)&amp;#039;&amp;#039;&lt;br /&gt;
====Notes====&lt;br /&gt;
In situations where the network has multiple DHCP servers (not generally a good idea, but may be temporarily necessary when both network debugging and network usage are needed simultaneously), it&amp;#039;s not clear if this command should be expected to work. I have had no luck with it; dhclient prints the following:&lt;br /&gt;
 root@gonzo:/home/woozle# dhclient -s rizzo eth0&lt;br /&gt;
 There is already a pid file /var/run/dhclient.pid with pid 22362&lt;br /&gt;
 killed old client process, removed PID file&lt;br /&gt;
 Internet Systems Consortium DHCP Client V3.0.4&lt;br /&gt;
 Copyright 2004-2006 Internet Systems Consortium.&lt;br /&gt;
 All rights reserved.&lt;br /&gt;
 For info, please visit http://www.isc.org/sw/dhcp/&lt;br /&gt;
 &lt;br /&gt;
 Listening on LPF/eth0/00:e0:18:ab:f4:8c&lt;br /&gt;
 Sending on   LPF/eth0/00:e0:18:ab:f4:8c&lt;br /&gt;
 Sending on   Socket/fallback&lt;br /&gt;
 DHCPREQUEST on eth0 to 192.168.0.139 port 67&lt;br /&gt;
 send_packet: Network is unreachable&lt;br /&gt;
 send_packet: please consult README file regarding broadcast address.&lt;br /&gt;
 DHCPREQUEST on eth0 to 192.168.0.139 port 67&lt;br /&gt;
 send_packet: Network is unreachable&lt;br /&gt;
 send_packet: please consult README file regarding broadcast address.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;Network is unreachable&amp;quot;. No clue where that &amp;quot;README&amp;quot; file might be, either.&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>