Problemas con check_dchp

Luis Gardea gardealuis at gmail.com
Wed Sep 28 19:20:25 CEST 2005


Hi Chris,

I put disable my iptables, stoped the services
[tlacuilo at netids libexec]# /etc/init.d/./iptables stop

 [tlacuilo at netids libexec]# ./check_dhcp 148.210.20.5 -i eth0
DHCP problem: No DHCPOFFERs were received.

[tlacuilo at netids redes]# ./tcpdump -n -i eth0 > /home/redes/traffic-eth0

This is the file

11:02:29.130588 IP 147.215.20.12.netbios-dgm >
147.215.20.255.netbios-dgm: NBT UDP PACKET(138)

11:02:29.146548 arp reply 147.215.20.14 is-at 00:0d:56:71:c3:c3

11:02:29.176727 IP 147.215.20.14.bootpc > 255.255.255.255.bootps:
BOOTP/DHCP, Request from 00:0d:56:71:c3:c3, length: 548

11:02:31.879021 IP 0.0.0.0.bootpc > 255.255.255.255.bootps:
BOOTP/DHCP, Request from 00:0d:56:71:c3:92, length: 300

** The Ip address are fake 147.215.20.14 (FC3)  and 147.215.20.12 (DHCP server)

I dont put
iptables -I INPUT -p udp --dport 67 -j ACCEPT
iptables -I INPUT -p udp --dport 68 -j ACCEPT ; I just disable iptables

Best ragards.


On 9/28/05, Chris Wilson <chris at aidworld.org> wrote:
> Hi Luis,
>
> > DHCP uses UDP port 67, not 64.
>
> I also forgot that the server uses port 67, but the client uses port 68.
> Try this: ptables -I INPUT -p udp --dport 68 -
"iptables -I INPUT -p udp --dport 68 -j ACCEPT".
>
> Cheers, Chris.
> --
> (aidworld) chris wilson | chief engineer (chris at aidworld.org)
>
>


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list