<div dir="ltr"><div>@Grace, I've tried that. And now I'm monitoring the ethernet interface on the Win7 side. I'm watching announces to the network by the side of Win7 machine, a few DHCP discover, a lot of MS-SEARCH * HTTP/1.1 and even more of NOTIFY * HTTP/1.1 packets. I'm not really sure about those info, but when I apply decodifications to ICMP or IGRP, I see a lot of "Unknown ICMP (obsolete or malformed)" packets. Should I think the WIn7 client isn't working properly?<br>
<br></div>And BTW, thanks all of you for your help!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/26 Grace He <span dir="ltr"><<a href="mailto:ghe@ryerson.ca" target="_blank">ghe@ryerson.ca</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hector: try the following:<br>
1. disable both wired and wireless on your PC<br>
2. enable only wired connection on your PC<br>
3. make sure the dhcp server and PC are on the same network<br>
4. on PC: run "ipconfig" to ensure it has wired connection<br>
5. on PC: run "ipconfig /release", then "ipconfig /renew"<br>
6. on dhcp server: look into log to see if any dhcp request coming<br>
from PC's MAC address<br>
<br>
I don't believe the problem is with your dhcp server.<br>
<br>
Cheers,<br>
Grace<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Feb 26, 2013 at 12:07 PM, Héctor Herrera <<a href="mailto:hherreraa@gmail.com">hherreraa@gmail.com</a>> wrote:<br>
> @Grace: The wired network it works. It has the IP 169.254.150.144. And I'm<br>
> sure the cable works properly, when I tried static IP configuration on my PC<br>
> and on the server, I can connect the server by SSH.<br>
><br>
> @Sten: What do you mean by 'Rogue server'?<br>
> About the logs, I have only information about listening in eth0. Here's the<br>
> log of /var/log/messages:<br>
><br>
> Feb 26 11:46:42 communication-server kernel: [ 5842.440825] eth0: link down<br>
> Feb 26 11:46:54 communication-server kernel: [ 5853.997185] eth0: link up,<br>
> 100Mbps, full-duplex, lpa 0xCDE1<br>
> Feb 26 11:47:47 communication-server kernel: [ 5907.387040] ip_tables: (C)<br>
> 2000-2006 Netfilter Core Team<br>
> Feb 26 11:48:04 communication-server kernel: [ 5923.659054] nf_conntrack<br>
> version 0.5.0 (16139 buckets, 64556 max)<br>
> Feb 26 11:48:04 communication-server kernel: [ 5923.659917]<br>
> CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use<br>
> Feb 26 11:48:04 communication-server kernel: [ 5923.659922]<br>
> nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or<br>
> Feb 26 11:48:04 communication-server kernel: [ 5923.659925] sysctl<br>
> net.netfilter.nf_conntrack_acct=1 to enable it.<br>
> Feb 26 12:23:26 communication-server kernel: [ 8045.972235] device eth0<br>
> entered promiscuous mode<br>
> Feb 26 12:23:36 communication-server kernel: [ 8055.894186] eth0: link down<br>
> Feb 26 12:23:41 communication-server kernel: [ 8060.958909] eth0: link up,<br>
> 100Mbps, full-duplex, lpa 0xCDE1<br>
> Feb 26 12:58:15 communication-server kernel: [10134.684416] device eth0 left<br>
> promiscuous mode<br>
><br>
><br>
> Should I use eth0 on promiscuous mode? I've tried that, but isn't working...<br>
> And about the sniffing, my server listens for any DHCP query on eth0, so I<br>
> used ngrep -d eth0 (listen all the traffic on eth0), and nothing...<br>
><br>
><br>
> 2013/2/26 Sten Carlsen <<a href="mailto:stenc@s-carlsen.dk">stenc@s-carlsen.dk</a>><br>
>><br>
>> Just a thought: Rogue DHCP server?<br>
>><br>
>> Server logs, will contain info if discover is received.<br>
>><br>
>> sniffing at the server to see if any discover packets arrive.<br>
>><br>
>><br>
>> On 26/02/13 16:57, Héctor Herrera wrote:<br>
>><br>
>> I had tested with static. It works. Both cards (in the DHCP server) are<br>
>> working fine. And also I tried to catch with a sniffer in the network<br>
>> between Win7 and my DHCP server, and I got nothing :(<br>
>><br>
>><br>
>> 2013/2/26 Łukasz Siemiradzki <<a href="mailto:lukasz.siemiradzki@gmail.com">lukasz.siemiradzki@gmail.com</a>><br>
>>><br>
>>> Hello!<br>
>>> Are you sure that your problem lies on DHCP level? Have you tested the<br>
>>> connectivity between windows 7 client and the dhcp server using static<br>
>>> addresses?<br>
>>> If so and there is connectivity - can you start sniffer (i.e. wireshark)<br>
>>> on Win7, configure it to listen on an active interface and gather data?<br>
>>> BR<br>
>>> ŁS<br>
>>><br>
>>><br>
>>> 2013/2/26 Héctor Herrera <<a href="mailto:hherreraa@gmail.com">hherreraa@gmail.com</a>><br>
>>>><br>
>>>> Well, I assume the trouble here is Win7. But, why? That's my question. I<br>
>>>> don't understand why Win7 isn't asking the DHCP server for an IP address.<br>
>>>> (Or maybe is the DHCP server the trouble? I don't really understand it,<br>
>>>> that's why isn't so clear my question)<br>
>>>><br>
>>>> I'm trying to collect information in the network between my Win7 test<br>
>>>> machine and the server. The network is dead, I haven't received any<br>
>>>> information. And I'm renewing all the connections in Win7 (ipconfig /renew).<br>
>>>><br>
>>>> BTW, I tried with both ethernet interfaces for the IP information (I<br>
>>>> configured the server on eth0 and eth1), without good results. I dunno what<br>
>>>> else can I do. Do you have any ideas?<br>
>>>><br>
>>>><br>
>>>> 2013/2/26 Oskar Berggren <<a href="mailto:oskar.berggren@gmail.com">oskar.berggren@gmail.com</a>><br>
>>>>><br>
>>>>> You started with "unable to send IP addresses to Win7" but with your<br>
>>>>> latest info it seems like the proper question is the reverse: "why<br>
>>>>> can't win7 send DHCP requests to my DHCP server?".<br>
>>>>><br>
>>>>> Is Win7 configured to use DHCP?<br>
>>>>> If you use wireshark or tcpdump on Win7 and on the DHCP server, do you<br>
>>>>> see any DHCPDISCOVER from the Win7 machine?<br>
>>>>><br>
>>>>> /Oskar<br>
>>>>><br>
>>>>><br>
>>>>> 2013/2/26 Héctor Herrera <<a href="mailto:hherreraa@gmail.com">hherreraa@gmail.com</a>>:<br>
>>>>> > That´s the trouble, I haven't any information about Windows 7 asking<br>
>>>>> > for an<br>
>>>>> > IP to my server.<br>
>>>>> ><br>
>>>>> > This is my dhcpd.conf. It's really basic because I want, first of<br>
>>>>> > all, the<br>
>>>>> > service working:<br>
>>>>> ><br>
>>>>> > option domain-name "<a href="http://galatea.cl" target="_blank">galatea.cl</a>";<br>
>>>>> > option domain-name-servers 8.8.8.8, 200.62.222.222;<br>
>>>>> > option routers 192.168.1.1;<br>
>>>>> > default-lease-time 600;<br>
>>>>> > max-lease-time 7200;<br>
>>>>> > server-identifier 192.168.1.1;<br>
>>>>> > #ddns-update-style none;<br>
>>>>> > authoritative;<br>
>>>>> > log-facility local7;<br>
>>>>> ><br>
>>>>> > subnet 192.168.1.0 netmask 255.255.255.0 {<br>
>>>>> >         range 192.168.1.15 192.168.1.100;<br>
>>>>> > }<br>
>>>>> ><br>
>>>>> > I have some rules on iptables too:<br>
>>>>> ><br>
>>>>> > Generated by iptables-save v1.4.8 on Tue Feb 26 11:48:15 2013<br>
>>>>> > *nat<br>
>>>>> > :PREROUTING ACCEPT [4:312]<br>
>>>>> > :POSTROUTING ACCEPT [0:0]<br>
>>>>> > :OUTPUT ACCEPT [0:0]<br>
>>>>> > -A PREROUTING -s <a href="http://192.168.0.0/24" target="_blank">192.168.0.0/24</a> -p tcp -m tcp --dport 80 -j REDIRECT<br>
>>>>> > --to-ports 3128<br>
>>>>> > -A PREROUTING -s <a href="http://192.168.1.0/24" target="_blank">192.168.1.0/24</a> -p tcp -m tcp --dport 80 -j REDIRECT<br>
>>>>> > --to-ports 3128<br>
>>>>> > COMMIT<br>
>>>>> > # Completed on Tue Feb 26 11:48:15 2013<br>
>>>>> > # Generated by iptables-save v1.4.8 on Tue Feb 26 11:48:15 2013<br>
>>>>> > *filter<br>
>>>>> > :INPUT ACCEPT [27:2066]<br>
>>>>> > :FORWARD ACCEPT [0:0]<br>
>>>>> > :OUTPUT ACCEPT [13:1324]<br>
>>>>> > -A INPUT -i eth1 -p tcp -m state --state NEW -m tcp --dport 3128 -j<br>
>>>>> > ACCEPT<br>
>>>>> > COMMIT<br>
>>>>> > # Completed on Tue Feb 26 11:48:15 2013<br>
>>>>> ><br>
>>>>> > I don't have any other information. As I said, the logs doesn't show<br>
>>>>> > me<br>
>>>>> > information about Win7. Oh, and Win7 hasn't active the Firewall<br>
>>>>> > Service.<br>
>>>>> ><br>
>>>>> ><br>
>>>>> > 2013/2/26 Steven Carr <<a href="mailto:sjcarr@gmail.com">sjcarr@gmail.com</a>><br>
>>>>> >><br>
>>>>> >> Can you see the requests coming in to the DHCP server from the<br>
>>>>> >> Windows<br>
>>>>> >> 7 client? and can you also perform a packet capture on the Windows 7<br>
>>>>> >> machine to see if it is receiving the responses from the DHCP<br>
>>>>> >> server.<br>
>>>>> >> If you can upload the logs (sanitised) and the packet capture then I<br>
>>>>> >> can have a look.<br>
>>>>> >><br>
>>>>> >> Steve<br>
>>>>> >><br>
>>>>> >><br>
>>>>> >> On 26 February 2013 13:10, Héctor Herrera <<a href="mailto:hherreraa@gmail.com">hherreraa@gmail.com</a>><br>
>>>>> >> wrote:<br>
>>>>> >> > Greetings to all!<br>
>>>>> >> ><br>
>>>>> >> > I have an issue with DHCP and Win7. I'm working with Debian 6.0.6,<br>
>>>>> >> > and<br>
>>>>> >> > I''m<br>
>>>>> >> > trying to mount a DHCP server on it (DHCP ver. 4.1.1). But I'm<br>
>>>>> >> > unable to<br>
>>>>> >> > send IP addresses to Win7 machines. I tried with other OS<br>
>>>>> >> > (specifically<br>
>>>>> >> > Arch<br>
>>>>> >> > Linux and WinXP), and the server sends IP addresses to them, but<br>
>>>>> >> > with<br>
>>>>> >> > Win7... I cannot<br>
>>>>> >> ><br>
>>>>> >> > May someone knows how to handle it? And if it so, can someone send<br>
>>>>> >> > some<br>
>>>>> >> > information?<br>
>>>>> >> ><br>
>>>>> >> > Thanks to all!<br>
>>>>> >> ><br>
>>>>> >> > P.D: Sorry about the English, it isn't my first language :P<br>
>>>>> >> ><br>
>>>>> >> > --<br>
>>>>> >> > Saludos<br>
>>>>> >> ><br>
>>>>> >> > Héctor Herrera Anabalón<br>
>>>>> >> > Egresado ICCI UNAP<br>
>>>>> >> > Servicio Arquitectura Galatea - Oficina Técnica<br>
>>>>> >> > <a href="http://www.galatea.cl" target="_blank">http://www.galatea.cl</a><br>
>>>>> >> > Miembro USoLIX Victoria<br>
>>>>> >> > Registered User #548600 (LinuxCounter.net)<br>
>>>>> >> ><br>
>>>>> >> > _______________________________________________<br>
>>>>> >> > dhcp-users mailing list<br>
>>>>> >> > <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
>>>>> >> > <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
>>>>> >> _______________________________________________<br>
>>>>> >> dhcp-users mailing list<br>
>>>>> >> <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
>>>>> >> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
>>>>> ><br>
>>>>> ><br>
>>>>> ><br>
>>>>> ><br>
>>>>> > --<br>
>>>>> > Saludos<br>
>>>>> ><br>
>>>>> > Héctor Herrera Anabalón<br>
>>>>> > Egresado ICCI UNAP<br>
>>>>> > Servicio Arquitectura Galatea - Oficina Técnica <a href="http://www.galatea.cl" target="_blank">http://www.galatea.cl</a><br>
>>>>> > Miembro USoLIX Victoria<br>
>>>>> > Registered User #548600 (LinuxCounter.net)<br>
>>>>> ><br>
>>>>> > _______________________________________________<br>
>>>>> > dhcp-users mailing list<br>
>>>>> > <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
>>>>> > <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
>>>>> _______________________________________________<br>
>>>>> dhcp-users mailing list<br>
>>>>> <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
>>>>> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>> --<br>
>>>> Saludos<br>
>>>><br>
>>>> Héctor Herrera Anabalón<br>
>>>> Egresado ICCI UNAP<br>
>>>> Servicio Arquitectura Galatea - Oficina Técnica <a href="http://www.galatea.cl" target="_blank">http://www.galatea.cl</a><br>
>>>> Miembro USoLIX Victoria<br>
>>>> Registered User #548600 (LinuxCounter.net)<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> dhcp-users mailing list<br>
>>>> <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
>>>> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>><br>
>>> "Omnes homines natura scire desiderant"<br>
>>>                                            Aristotelis<br>
>>><br>
>>> _______________________________________________<br>
>>> dhcp-users mailing list<br>
>>> <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
>>> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Saludos<br>
>><br>
>> Héctor Herrera Anabalón<br>
>> Egresado ICCI UNAP<br>
>> Servicio Arquitectura Galatea - Oficina Técnica <a href="http://www.galatea.cl" target="_blank">http://www.galatea.cl</a><br>
>> Miembro USoLIX Victoria<br>
>> Registered User #548600 (LinuxCounter.net)<br>
>><br>
>><br>
>> _______________________________________________<br>
>> dhcp-users mailing list<br>
>> <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
>> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
>><br>
>><br>
>> --<br>
>> Best regards<br>
>><br>
>> Sten Carlsen<br>
>><br>
>> No improvements come from shouting:<br>
>><br>
>>        "MALE BOVINE MANURE!!!"<br>
>><br>
>><br>
>> _______________________________________________<br>
>> dhcp-users mailing list<br>
>> <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
>> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Saludos<br>
><br>
> Héctor Herrera Anabalón<br>
> Egresado ICCI UNAP<br>
> Servicio Arquitectura Galatea - Oficina Técnica <a href="http://www.galatea.cl" target="_blank">http://www.galatea.cl</a><br>
> Miembro USoLIX Victoria<br>
> Registered User #548600 (LinuxCounter.net)<br>
><br>
> _______________________________________________<br>
> dhcp-users mailing list<br>
> <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
<br>
<br>
<br>
--<br>
</div></div><div class="im HOEnZb">Grace He, P. Eng.<br>
Technical Officer (IT Support)<br>
<br>
Ryerson University<br>
Dept. of Mechanical and Industrial Engineering<br>
Faculty of Engineering, Architecture and Science<br>
350 Victoria St., Toronto, ON, Canada<br>
M5B 2K3<br>
<br>
Office Location: Kerr Hall East - KHE137B<br>
VOICE: (416) 979-5000, Ext 7756<br>
FAX: (416)-979-5265<br>
E-mail: <a href="mailto:ghe@ryerson.ca">ghe@ryerson.ca</a><br>
Alt-E-mail: <a href="mailto:grace1789@gmail.com">grace1789@gmail.com</a><br>
<br>
<a href="http://www.mie.ryerson.ca/" target="_blank">http://www.mie.ryerson.ca/</a><br>
<a href="http://labs.mie.ryerson.ca/" target="_blank">http://labs.mie.ryerson.ca/</a><br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a></div></div></blockquote></div><br><br clear="all"><br>-- <br><div>Saludos</div><div><br><font size="4"><b>Héctor Herrera Anabalón</b></font><br>
Egresado ICCI UNAP</div><div>Servicio Arquitectura Galatea -  Oficina Técnica <a href="http://www.galatea.cl" target="_blank">http://www.galatea.cl</a></div><div>Miembro USoLIX Victoria</div><div>Registered User #<span>548600 (</span><span>LinuxCounter.net)</span></div>

</div>