Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

We are having a very strange problem , that is we have a lan with 16  vlans and all the vlans have different DHCP for each vlan in the  coreswitch (Cisco 6509) and all the clients in the 16 vlans are windows 7  clients , now the problem is that some machines  are not getting IP Addresses , but if we see the registry settings in  those machines we see that there is an ip address given by the dhcp  server  in the following key of registery

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces\THE RELATED NETWORK CARD KEY

this ip is not being shown in the network settings instead  APIPA ip 169.245.*.* is shown here ,

DHCP server configuration are check and verified and they are also ok  , packets are also captured which show the whole process of DCHP  request is ok and dhcps in the core switch is replying back with the ip  address to the machines mac address and that same  ip can be seen in the above given registry value.

Kindly help as soon as possible as already alot of time is wasted in tracing this issue.

36 REPLIES
Purple

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Hi,

Can you post screenshot of ipconfig/all and tcp/ip setting of machine with the APIPA address.

also post sh ip dhcp binding for the IP it should have got on your DHCP server.

Regards.

Alain.

Don't forget to rate helpful posts.
New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

hi cadetalain

Following are the snap shorts you requested.

Purple

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

   The 169 address is the defualt address microsoft assigns when it cannot pull an address  which you say you problem is  .  Make sure portfast is on all user ports .  Verify any trunking is working correctly. between user switches.

New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

hi glen.grant

yes the Trunbking is ok ,, its fine as i told u that only some pcs in the vlans are having this problem not every pc which makes trunking ok as vlans are working fine , and yes also portfast is enabled even on trunk ports and also verified that no spaning tree or other loop is being generated.

New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Do you have the ip helper address set on each vlan interface with the dhcp server ip address?

Example:

interface Vlan2
ip address 192.168.2.1 255.255.255.0
ip helper-address 192.168.1.100

interface Vlan3
ip address 192.168.3.1 255.255.255.0
ip helper-address 192.168.1.100

New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Hi David

I have Configured DHCP server inside the cisco 6509 and all the Vlans are defind in that so no need of giving ip helper in this case.

Purple

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Hi,

Can you do a debug ip dhcp server event and debug ip dhcp server packet while renewing your lease.

At the same time can you sniff on your pc.

Attach all files here.

Regards.

Alain.

Don't forget to rate helpful posts.
New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Hi Cadet

Sorry for late reply ,, here are your requested files.

New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

In these files you can see that wireshark is getiing the same ip for the interface card that is present in the registry where as the tcpip settings is getting APIPA 169.*.*.* ip and in the sniffing captures you can see that dhcp server is assigning the same ip 10.10.10.38 to the request and also in the debug file result is clear that dhcp server i.e cisco 6509 is giving the ip to the mac address , strange thing is this that every setting given by the dhcp server is comming to windows 7 registry  but not to the interface card settings on TCP/IP

Purple

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Hi,

Can you reinstall the tcp/ip stack on the machine.

Regards.

Alain.

Don't forget to rate helpful posts.
New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Any Clues ??????? about this abnormal behaviour or may be any mistake that i have done unintentionaaly ???? kindly give your ideas iam really getting lot of  complaints here n my professional integrity  is at stakes

Purple

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Hi,

Can you do what I asked in my previous post.

Regards.

Don't forget to rate helpful posts.
New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

reset the tcpip stack by

netsh int ip reset

but no change same behaviour.

Purple

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Hi,

uninstall then install not reset and tell me what it gave. Maybe you can also try another firmware for your NIC.

Regards.

Alain.

Don't forget to rate helpful posts.
New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

firmware is not issue as machines having this problem have dofferent lan cards ,

Purple

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Are all the non working machines Windows 7? and are all working machines not Windows 7?

Regards.

Don't forget to rate helpful posts.
New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

yes all non working ,, are win 7 .. you cant say non working because some win7 machines are working fine ,, but non win 7 machines never have this issue

Purple

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Is there a difference between the working and non working windows 7 machines: 64 vs 32, release version, updates  ?

Regards.

Don't forget to rate helpful posts.
New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

no not standard win7 non working machines hav variable specs , some 32 some 64 some updated some not .

Purple

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Hi,

Can you post sh ip dhcp binding | in 01b8.ac6f

Regards.

Don't forget to rate helpful posts.
New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

MAG-CORESW#sh ip dhcp bind
MAG-CORESW#sh ip dhcp binding | in 01b8.ac6f
10.10.10.32      01b8.ac6f.1c1e.b7       Mar 08 2011 05:06 PM    Automatic
10.10.10.65      01b8.ac6f.246c.e0       Mar 08 2011 04:47 PM    Automatic
10.10.40.47      01b8.ac6f.1c29.13       Mar 08 2011 02:58 PM    Automatic
10.10.41.63      01b8.ac6f.1ba2.be       Mar 08 2011 05:47 PM    Automatic
10.10.161.78     01b8.ac6f.1bd9.39       Mar 08 2011 06:09 PM    Automatic

Purple

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

10.10.10.65      01b8.ac6f.246c.e0       Mar 08 2011 04:47 PM    Automatic

Isn't this one of the weird windows 7? Can you ping this IP from your dhcp server ? if yes check arp cache on dhcp server.

If I remember well this is the interface which kept requesting 10.10.10.38 and which didn't get it?

Regards.

Don't forget to rate helpful posts.
New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Can you reload the switch?? How long does this switch hasve been up??1 year??few days??months??save your config and do a reload and check.

Regards,

New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

just yesterday i reloded when my ideas regarding this problem ended

Purple

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

just yesterday i reloded when my ideas regarding this problem ended

What do you  mean?

Regards.

Don't forget to rate helpful posts.
New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Have you tried disabling any unecessary network adapters on the Win7 Clients, i.e. TAPI Adapters, VPN Adapters, VMWare Bridging Adapters.

I noticed on your ipconfig output you had a VMNet1 interface which is normally the product of VMWare Workstation or are your Windows 7 machines VM's?

Have you tried disabling IPv6 if it's not in use? I have seen issues with Win7 when IPv6 has been enabled and only IPv4 is in use but it's not likely...

New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Sounds like Duncan is on the right track, You could also update the NIC drivers.

Can the workstations ping 127.0.0.1?  Another way to verify the ip stack on the win7 boxes is to statically assign IP addresses corresponding to the appropriate vlans of course and then attempt pings to the core.

Since you stated the win7 boxes effected are a mixed bag i look into a software conflict, i.e. vmware trying to share the same NIC.

New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

That's the one I needed, thanks!

New Member

Re: Windows 7 machines not getting DHCP IP !!!!URGENT!!!!!!

Try the next solution for this problem:

1.- Reset the socket. From a DOS terminal (Run cmd.exe):

     netsh winsock reset

2.- Open a Devices Manager (Run devmgmt.msc):

3.- Expands the 'Networks Adapters' 'section. Right click on adapter in use and select 'Unistall' option.

4.- Reboot the system. Now, Windows detects and reinstalls the adapter.

I hope it works out for you.

45993
Views
5
Helpful
36
Replies