<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>grep dh &#8211; My Web Development</title>
	<atom:link href="https://mywebdevelopment.org/tag/grep-dh/feed/" rel="self" type="application/rss+xml" />
	<link>https://mywebdevelopment.org</link>
	<description>Always learning something new..</description>
	<lastBuildDate>Wed, 06 Feb 2019 19:06:47 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Linode with CentOS 6.5 need to disable dhclient</title>
		<link>https://mywebdevelopment.org/linode-centos-6-5-need-disable-dhclient/</link>
				<pubDate>Sat, 15 Nov 2014 04:10:20 +0000</pubDate>
		<dc:creator><![CDATA[Elias]]></dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[bootproto=none]]></category>
		<category><![CDATA[disable dhclient]]></category>
		<category><![CDATA[eth0]]></category>
		<category><![CDATA[grep dh]]></category>

		<guid isPermaLink="false">http://mywebdevelopment.org/?p=865</guid>
				<description><![CDATA[<p>How to disable dhclient in CentOS If your running multiple IPs on Linode server using&#160;CentOS 6.5 with&#160;cPanel, you may have to disable dhclient. &#160;An issue with dhclient running process in CentOS server was creating conflict. # ps faux &#124;grep dh root 1931 0.0 0.0 2908 1160 ? Ss Sep15 0:01 /sbin/dhclient -1 -q -cf /etc/dhcp/dhclient-eth0.conf… <span class="read-more"><a href="https://mywebdevelopment.org/linode-centos-6-5-need-disable-dhclient/">Read More &#187;</a></span></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/linode-centos-6-5-need-disable-dhclient/">Linode with CentOS 6.5 need to disable dhclient</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></description>
								<content:encoded><![CDATA[<h2>How to disable dhclient in CentOS</h2>
<p>If your running multiple IPs on Linode server using&nbsp;CentOS 6.5 with&nbsp;cPanel, you may have to disable dhclient. &nbsp;An issue with dhclient running process in CentOS server was creating conflict.</p>
<p><span style="color: #800000;"># ps faux |grep dh</span><br />
<span style="color: #800000;">root 1931 0.0 0.0 2908 1160 ? Ss Sep15 0:01 /sbin/dhclient -1 -q -cf /etc/dhcp/dhclient-eth0.conf -lf /var/lib/dhclient/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid eth0</span></p>
<p>cPanel recommends disable dhclient and configuring it accordingly. Linode provides some <a title="Linux static IP configuration" href="https://www.linode.com/docs/networking/linux-static-ip-configuration">great documentation</a>&nbsp;on how to disable dhclient. This article will help you better understand and shorten the process. &nbsp;Following Linode&#8217;s instructions, notice that there are three files that are part of&nbsp;configuration. &nbsp;For&nbsp;this instance, there are two only files necessary. &nbsp;Having a third file (ifcfg-eth0:1) is not necessary because that IP is already going to be configured in ifcfg-eth0.</p>
<p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-9218567626174444"
     data-ad-slot="1282062789"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></p>
<p>Use the Linode Manager or Putty to SSH into your server. &nbsp;Edit (use vi command) the following&nbsp;files&nbsp;<span style="color: #800000;">ifcfg-eth0</span> &amp; create another file <span style="color: #800000;">ifcfg-eth0:0</span> and use the bellow configuration as template. You will require the configuration information from your Linode Manager.&nbsp;Dashboard &gt; Remote Access: Public Network contains your IPs &amp; Gateways.</p>
<hr>
<p><strong>&lt;&#8211; file 1: /etc/sysconfig/network-scripts/ifcfg-eth0 &#8211;&gt;</strong></p>
<p>####<br />
# Configuration for eth0<br />
#</p>
<p>DEVICE=eth0<br />
BOOTPROTO=none</p>
<p># This line ensures that the interface will be brought up during boot.<br />
ONBOOT=yes</p>
<p># The address, netmask, and gateway are all necessary.<br />
IPADDR=01.234.56.78<br />
NETMASK=255.255.255.0<br />
GATEWAY=198.58.101.1</p>
<hr>
<p><strong>&lt;&#8211;file 2: /etc/sysconfig/network-scripts/ifcfg-eth0:0 &#8211;&gt;</strong></p>
<p>####<br />
# Configuration for eth0:0<br />
#</p>
<p>DEVICE=eth0:0<br />
BOOTPROTO=none</p>
<p># This line ensures that the interface will be brought up during boot.<br />
ONBOOT=yes</p>
<p># The address, and netmask, are necessary.<br />
IPADDR=09.010.11.12<br />
NETMASK=255.255.255.0</p>
<hr>
<p><em>*In second file eth0:0 you don&#8217;t need to include the gateway.</em></p>
<p>Restart the network!</p>
<p><span style="color: #800000;"># service network restart</span></p>
<p>That&#8217;s it, now you disable dhclient on your Linode server running CentOS 6.5!</p>
<p>Additionally, you may wan to set ipaliases as monitored within the servers Service Manager. &nbsp;An effort to ensure that IPs defined in /etc/ips remain bound to the system.</p>
 <script type="text/javascript"><!--
google_ad_client = "ca-pub-9218567626174444";
/* My Web Dev Resources */
google_ad_slot = "3283801538";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>Linux Static IP Configurations:&nbsp;<a title="Linux Static IP Configuration" href="https://www.linode.com/docs/networking/linux-static-ip-configuration">https://www.linode.com/docs/networking/linux-static-ip-configuration</a></p>
<p>The post <a rel="nofollow" href="https://mywebdevelopment.org/linode-centos-6-5-need-disable-dhclient/">Linode with CentOS 6.5 need to disable dhclient</a> appeared first on <a rel="nofollow" href="https://mywebdevelopment.org">My Web Development</a>.</p>
]]></content:encoded>
										</item>
	</channel>
</rss>
