When i write a r<span style="font-style: italic;">emote server</span> i mean a server that is not <span style="font-style: italic;">the</span> nagios server. When i say that it is on the same subnet i made certainly a mistake as actually the nagios server get an address 
<a href="http://10.1.1.13">10.1.1.13</a> and the dhcp server i am trying to ping is <a href="http://10.2.1.1">10.2.1.1</a>. I think that the packets are sent through a cisco switch/router that routes the packets from net 
<a href="http://10.1.0.0">10.1.0.0</a> to <a href="http://10.2.0.0">10.2.0.0</a> so that must be the reason of my problem. If dhcp works with broadcasting messages, the switch is not relaying those dhcp packets. I am right ? Is there's a way to bypass that ?
<br><br><div><span class="gmail_quote">2006/1/24, Hugo van der Kooij <<a href="mailto:hvdkooij@vanderkooij.org">hvdkooij@vanderkooij.org</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 24 Jan 2006, Toto Capuccino wrote:<br><br>> I want to run a check_dhcp on a remote server inside the same subnet but<br>> never get a reply :<br><br>This can not be true. Either the DHCP server is remote or in the same
<br>subnet. But it can not be both. (Unless you got a L2 bridge in there.)<br>Perhaps you ment to say something differently which I did not understand?<br><br>> I also want to check dhcp on other subnets separed with cisco routers, is
<br>> that possible?<br><br>Sounds like a perfect place for DHCP relaying. But your nagios server must<br>be in the same network as the other clients if you want a meaningfull<br>result.<br><br>If it is not in the same network you may get a lease from the server while
<br>the stations on the other network may not get one because your pool for<br>that network is exhausted.<br><br>This is not a plugin limitation but actually how DHCP works.<br><br>Hugo.<br><br>--<br>        I hate duplicates. Just reply to the relevant mailinglist.
<br>        <a href="mailto:hvdkooij@vanderkooij.org">hvdkooij@vanderkooij.org</a>                <a href="http://hvdkooij.xs4all.nl/">http://hvdkooij.xs4all.nl/</a><br>                Don't meddle in the affairs of magicians,
<br>                for they are subtle and quick to anger.<br><br><br>-------------------------------------------------------<br>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files<br>for problems?  Stop!  Download the new AJAX search engine that makes
<br>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!<br><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">
https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null
<br></blockquote></div><br>