DHCP and Win7

Héctor Herrera hherreraa at gmail.com
Tue Feb 26 15:55:49 UTC 2013


C:\Users\usuario>ipconfig

Configuración IP de Windows


Adaptador de Ethernet Conexión de área local* 15:

   Estado de los medios. . . . . . . . . . . : medios desconectados
   Sufijo DNS específico para la conexión. . :

Adaptador de LAN inalámbrica Conexión de red inalámbrica 2:

   Estado de los medios. . . . . . . . . . . : medios desconectados
   Sufijo DNS específico para la conexión. . :

Adaptador de Ethernet Conexión de área local* 9:

   Estado de los medios. . . . . . . . . . . : medios desconectados
   Sufijo DNS específico para la conexión. . :

Adaptador de LAN inalámbrica Conexión de red inalámbrica:

   Sufijo DNS específico para la conexión. . :
   Dirección IPv4. . . . . . . . . . . . . . : 192.168.0.112
   Máscara de subred . . . . . . . . . . . . : 255.255.255.0
   Puerta de enlace predeterminada . . . . . : 192.168.0.1

Adaptador de Ethernet Conexión de área local:

   Sufijo DNS específico para la conexión. . :
   Dirección IPv4 de configuración automática: 169.254.150.144
   Máscara de subred . . . . . . . . . . . . : 255.255.0.0
   Puerta de enlace predeterminada . . . . . :

Adaptador de túnel isatap.{6AD5C4F7-FD55-4551-9C0A-2D32A333590D}:

   Estado de los medios. . . . . . . . . . . : medios desconectados
   Sufijo DNS específico para la conexión. . :

Adaptador de túnel Teredo Tunneling Pseudo-Interface:

   Sufijo DNS específico para la conexión. . :
   Dirección IPv6 . . . . . . . . . . : 2001:0:9d38:953c:cd6:349d:3f57:ff8f
   Vínculo: dirección IPv6 local. . . : fe80::cd6:349d:3f57:ff8f%11
   Puerta de enlace predeterminada . . . . . : ::

That's the information about my addresses and my interfaces. I had
VirtualBox installed, and also VmWare, that's why you can see a lot of
interfaces. I have a wireless interface (that's the plugged one) and an
Ethernet interface (with the IP 169.254.150.144)


2013/2/26 Grace He <ghe at ryerson.ca>

> Is this an out of box pc with win7 pre-installed? or did you install
> win7 yourself?  Bring up command prompt & type in "ipconfig", what do
> you get?
>
> On Tue, Feb 26, 2013 at 10:29 AM, Héctor Herrera <hherreraa at gmail.com>
> wrote:
> > Well, I assume the trouble here is Win7. But, why? That's my question. I
> > don't understand why Win7 isn't asking the DHCP server for an IP address.
> > (Or maybe is the DHCP server the trouble? I don't really understand it,
> > that's why isn't so clear my question)
> >
> > I'm trying to collect information in the network between my Win7 test
> > machine and the server. The network is dead, I haven't received any
> > information. And I'm renewing all the connections in Win7 (ipconfig
> /renew).
> >
> > BTW, I tried with both ethernet interfaces for the IP information (I
> > configured the server on eth0 and eth1), without good results. I dunno
> what
> > else can I do. Do you have any ideas?
> >
> >
> > 2013/2/26 Oskar Berggren <oskar.berggren at gmail.com>
> >>
> >> You started with "unable to send IP addresses to Win7" but with your
> >> latest info it seems like the proper question is the reverse: "why
> >> can't win7 send DHCP requests to my DHCP server?".
> >>
> >> Is Win7 configured to use DHCP?
> >> If you use wireshark or tcpdump on Win7 and on the DHCP server, do you
> >> see any DHCPDISCOVER from the Win7 machine?
> >>
> >> /Oskar
> >>
> >>
> >> 2013/2/26 Héctor Herrera <hherreraa at gmail.com>:
> >> > That´s the trouble, I haven't any information about Windows 7 asking
> for
> >> > an
> >> > IP to my server.
> >> >
> >> > This is my dhcpd.conf. It's really basic because I want, first of all,
> >> > the
> >> > service working:
> >> >
> >> > option domain-name "galatea.cl";
> >> > option domain-name-servers 8.8.8.8, 200.62.222.222;
> >> > option routers 192.168.1.1;
> >> > default-lease-time 600;
> >> > max-lease-time 7200;
> >> > server-identifier 192.168.1.1;
> >> > #ddns-update-style none;
> >> > authoritative;
> >> > log-facility local7;
> >> >
> >> > subnet 192.168.1.0 netmask 255.255.255.0 {
> >> >         range 192.168.1.15 192.168.1.100;
> >> > }
> >> >
> >> > I have some rules on iptables too:
> >> >
> >> > Generated by iptables-save v1.4.8 on Tue Feb 26 11:48:15 2013
> >> > *nat
> >> > :PREROUTING ACCEPT [4:312]
> >> > :POSTROUTING ACCEPT [0:0]
> >> > :OUTPUT ACCEPT [0:0]
> >> > -A PREROUTING -s 192.168.0.0/24 -p tcp -m tcp --dport 80 -j REDIRECT
> >> > --to-ports 3128
> >> > -A PREROUTING -s 192.168.1.0/24 -p tcp -m tcp --dport 80 -j REDIRECT
> >> > --to-ports 3128
> >> > COMMIT
> >> > # Completed on Tue Feb 26 11:48:15 2013
> >> > # Generated by iptables-save v1.4.8 on Tue Feb 26 11:48:15 2013
> >> > *filter
> >> > :INPUT ACCEPT [27:2066]
> >> > :FORWARD ACCEPT [0:0]
> >> > :OUTPUT ACCEPT [13:1324]
> >> > -A INPUT -i eth1 -p tcp -m state --state NEW -m tcp --dport 3128 -j
> >> > ACCEPT
> >> > COMMIT
> >> > # Completed on Tue Feb 26 11:48:15 2013
> >> >
> >> > I don't have any other information. As I said, the logs doesn't show
> me
> >> > information about Win7. Oh, and Win7 hasn't active the Firewall
> Service.
> >> >
> >> >
> >> > 2013/2/26 Steven Carr <sjcarr at gmail.com>
> >> >>
> >> >> Can you see the requests coming in to the DHCP server from the
> Windows
> >> >> 7 client? and can you also perform a packet capture on the Windows 7
> >> >> machine to see if it is receiving the responses from the DHCP server.
> >> >> If you can upload the logs (sanitised) and the packet capture then I
> >> >> can have a look.
> >> >>
> >> >> Steve
> >> >>
> >> >>
> >> >> On 26 February 2013 13:10, Héctor Herrera <hherreraa at gmail.com>
> wrote:
> >> >> > Greetings to all!
> >> >> >
> >> >> > I have an issue with DHCP and Win7. I'm working with Debian 6.0.6,
> >> >> > and
> >> >> > I''m
> >> >> > trying to mount a DHCP server on it (DHCP ver. 4.1.1). But I'm
> unable
> >> >> > to
> >> >> > send IP addresses to Win7 machines. I tried with other OS
> >> >> > (specifically
> >> >> > Arch
> >> >> > Linux and WinXP), and the server sends IP addresses to them, but
> with
> >> >> > Win7... I cannot
> >> >> >
> >> >> > May someone knows how to handle it? And if it so, can someone send
> >> >> > some
> >> >> > information?
> >> >> >
> >> >> > Thanks to all!
> >> >> >
> >> >> > P.D: Sorry about the English, it isn't my first language :P
> >> >> >
> >> >> > --
> >> >> > Saludos
> >> >> >
> >> >> > Héctor Herrera Anabalón
> >> >> > Egresado ICCI UNAP
> >> >> > Servicio Arquitectura Galatea - Oficina Técnica
> http://www.galatea.cl
> >> >> > Miembro USoLIX Victoria
> >> >> > Registered User #548600 (LinuxCounter.net)
> >> >> >
> >> >> > _______________________________________________
> >> >> > dhcp-users mailing list
> >> >> > dhcp-users at lists.isc.org
> >> >> > https://lists.isc.org/mailman/listinfo/dhcp-users
> >> >> _______________________________________________
> >> >> dhcp-users mailing list
> >> >> dhcp-users at lists.isc.org
> >> >> https://lists.isc.org/mailman/listinfo/dhcp-users
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Saludos
> >> >
> >> > Héctor Herrera Anabalón
> >> > Egresado ICCI UNAP
> >> > Servicio Arquitectura Galatea - Oficina Técnica http://www.galatea.cl
> >> > Miembro USoLIX Victoria
> >> > Registered User #548600 (LinuxCounter.net)
> >> >
> >> > _______________________________________________
> >> > dhcp-users mailing list
> >> > dhcp-users at lists.isc.org
> >> > https://lists.isc.org/mailman/listinfo/dhcp-users
> >> _______________________________________________
> >> dhcp-users mailing list
> >> dhcp-users at lists.isc.org
> >> https://lists.isc.org/mailman/listinfo/dhcp-users
> >
> >
> >
> >
> > --
> > Saludos
> >
> > Héctor Herrera Anabalón
> > Egresado ICCI UNAP
> > Servicio Arquitectura Galatea - Oficina Técnica http://www.galatea.cl
> > Miembro USoLIX Victoria
> > Registered User #548600 (LinuxCounter.net)
> >
> > _______________________________________________
> > dhcp-users mailing list
> > dhcp-users at lists.isc.org
> > https://lists.isc.org/mailman/listinfo/dhcp-users
>
>
>
> --
> Grace He, P. Eng.
> Technical Officer (IT Support)
>
> Ryerson University
> Dept. of Mechanical and Industrial Engineering
> Faculty of Engineering, Architecture and Science
> 350 Victoria St., Toronto, ON, Canada
> M5B 2K3
>
> Office Location: Kerr Hall East - KHE137B
> VOICE: (416) 979-5000, Ext 7756
> FAX: (416)-979-5265
> E-mail: ghe at ryerson.ca
> Alt-E-mail: grace1789 at gmail.com
>
> http://www.mie.ryerson.ca/
> http://labs.mie.ryerson.ca/
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>



-- 
Saludos

*Héctor Herrera Anabalón*
Egresado ICCI UNAP
Servicio Arquitectura Galatea - Oficina Técnica http://www.galatea.cl
Miembro USoLIX Victoria
Registered User #548600 (LinuxCounter.net)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20130226/19580e27/attachment-0001.html>


More information about the dhcp-users mailing list