<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: How do I find out my DHCP server address?</title>
	<atom:link href="http://www.cyberciti.biz/faq/linux-find-out-dhcp-server-ip-address/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyberciti.biz/faq/linux-find-out-dhcp-server-ip-address/</link>
	<description>Every answer asks a more beautiful question.</description>
	<lastBuildDate>Sat, 20 Mar 2010 06:10:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: KoteswaraRao</title>
		<link>http://www.cyberciti.biz/faq/linux-find-out-dhcp-server-ip-address/comment-page-1/#comment-42981</link>
		<dc:creator>KoteswaraRao</dc:creator>
		<pubDate>Mon, 10 Aug 2009 06:27:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/how-do-i-find-out-my-dhcp-server-address/#comment-42981</guid>
		<description>sir


 iam kotesh pleces data to dhcp and dns server</description>
		<content:encoded><![CDATA[<p>sir</p>
<p> iam kotesh pleces data to dhcp and dns server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saurabh</title>
		<link>http://www.cyberciti.biz/faq/linux-find-out-dhcp-server-ip-address/comment-page-1/#comment-39293</link>
		<dc:creator>Saurabh</dc:creator>
		<pubDate>Sat, 22 Nov 2008 17:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/how-do-i-find-out-my-dhcp-server-address/#comment-39293</guid>
		<description>Thanks for the good post admin
and thanks to robert for telling how to get to know the dhcp server ip when their is no leases 

my case was also same as robert explain 
thanks</description>
		<content:encoded><![CDATA[<p>Thanks for the good post admin<br />
and thanks to robert for telling how to get to know the dhcp server ip when their is no leases </p>
<p>my case was also same as robert explain<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shylesh</title>
		<link>http://www.cyberciti.biz/faq/linux-find-out-dhcp-server-ip-address/comment-page-1/#comment-38641</link>
		<dc:creator>Shylesh</dc:creator>
		<pubDate>Tue, 26 Aug 2008 06:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/how-do-i-find-out-my-dhcp-server-address/#comment-38641</guid>
		<description>Mine is at 
/var/lib/dhclient/dhclient-eth0.leases

so the server would be 
grep dhcp-server /var/lib/dhclient/dhclient-eth0.leases</description>
		<content:encoded><![CDATA[<p>Mine is at<br />
/var/lib/dhclient/dhclient-eth0.leases</p>
<p>so the server would be<br />
grep dhcp-server /var/lib/dhclient/dhclient-eth0.leases</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.cyberciti.biz/faq/linux-find-out-dhcp-server-ip-address/comment-page-1/#comment-38506</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 05 Aug 2008 15:29:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/how-do-i-find-out-my-dhcp-server-address/#comment-38506</guid>
		<description>Run this to get just your DHCP Server name:

cat dhclient.leases &#124; grep dhcp-server &#124; uniq &#124; cut -d&quot; &quot; -f5 &#124; cut -d&quot;;&quot; -f1</description>
		<content:encoded><![CDATA[<p>Run this to get just your DHCP Server name:</p>
<p>cat dhclient.leases | grep dhcp-server | uniq | cut -d&#8221; &#8221; -f5 | cut -d&#8221;;&#8221; -f1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marko</title>
		<link>http://www.cyberciti.biz/faq/linux-find-out-dhcp-server-ip-address/comment-page-1/#comment-37652</link>
		<dc:creator>Marko</dc:creator>
		<pubDate>Mon, 17 Mar 2008 15:13:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/how-do-i-find-out-my-dhcp-server-address/#comment-37652</guid>
		<description>I need to know just my DHCP server address value from code, so if there is some script or a neath way to do it, without parsing the dhclient.leasing file?</description>
		<content:encoded><![CDATA[<p>I need to know just my DHCP server address value from code, so if there is some script or a neath way to do it, without parsing the dhclient.leasing file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marko</title>
		<link>http://www.cyberciti.biz/faq/linux-find-out-dhcp-server-ip-address/comment-page-1/#comment-37651</link>
		<dc:creator>Marko</dc:creator>
		<pubDate>Mon, 17 Mar 2008 15:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/how-do-i-find-out-my-dhcp-server-address/#comment-37651</guid>
		<description>How can I get just DHCPACK value from code(C,C++) ?</description>
		<content:encoded><![CDATA[<p>How can I get just DHCPACK value from code(C,C++) ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vivek</title>
		<link>http://www.cyberciti.biz/faq/linux-find-out-dhcp-server-ip-address/comment-page-1/#comment-37142</link>
		<dc:creator>vivek</dc:creator>
		<pubDate>Tue, 11 Dec 2007 07:54:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/how-do-i-find-out-my-dhcp-server-address/#comment-37142</guid>
		<description>Robert,

When you run dhclient eth0, it always show DHCP address on screen, just look for DHCPACK (no need to run tcpdump)
&lt;pre&gt;dhclient ra0
There is already a pid file /var/run/dhclient.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/ra0/00:17:9a:0a:f6:44
Sending on   LPF/ra0/00:17:9a:0a:f6:44
Sending on   Socket/fallback
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.168.1.1
DHCPREQUEST on ra0 to 255.255.255.255 port 67
&lt;strong&gt;DHCPACK from 192.168.1.1&lt;/strong&gt;
bound to 192.168.1.106 -- renewal in 39175 seconds.
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Robert,</p>
<p>When you run dhclient eth0, it always show DHCP address on screen, just look for DHCPACK (no need to run tcpdump)</p>
<pre>dhclient ra0
There is already a pid file /var/run/dhclient.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit <a href="http://www.isc.org/sw/dhcp/" rel="nofollow">http://www.isc.org/sw/dhcp/</a>

Listening on LPF/ra0/00:17:9a:0a:f6:44
Sending on   LPF/ra0/00:17:9a:0a:f6:44
Sending on   Socket/fallback
DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.168.1.1
DHCPREQUEST on ra0 to 255.255.255.255 port 67
<strong>DHCPACK from 192.168.1.1</strong>
bound to 192.168.1.106 -- renewal in 39175 seconds.
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert de Bock</title>
		<link>http://www.cyberciti.biz/faq/linux-find-out-dhcp-server-ip-address/comment-page-1/#comment-37137</link>
		<dc:creator>Robert de Bock</dc:creator>
		<pubDate>Mon, 10 Dec 2007 15:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/how-do-i-find-out-my-dhcp-server-address/#comment-37137</guid>
		<description>In case you don&#039;t have a lease, you could (but it&#039;s more work) request a lease with dhclient(8) and use tcpdump(8) to see what server answered. Use something like this in one terminal:
&lt;code&gt;
# tcpdump -i eth0 port 67 or port 68
&lt;/code&gt;
And something like this in a second terminal:
&lt;code&gt;
# dhclient eth0
&lt;/code&gt;
If you are lucky, dhclient will even tell you what the DHCP server is.

Regards, Robert.</description>
		<content:encoded><![CDATA[<p>In case you don&#8217;t have a lease, you could (but it&#8217;s more work) request a lease with dhclient(8) and use tcpdump(8) to see what server answered. Use something like this in one terminal:<br />
<code><br />
# tcpdump -i eth0 port 67 or port 68<br />
</code><br />
And something like this in a second terminal:<br />
<code><br />
# dhclient eth0<br />
</code><br />
If you are lucky, dhclient will even tell you what the DHCP server is.</p>
<p>Regards, Robert.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.091 seconds -->
<!-- Cached page served by WP-Cache -->
