NDIS6 - Renew IP Address



Hello,

I'm writing a miniport driver for NDIS6 (Vista) which emulates 802.3
network device, but the actual physical device is different.

Within a certain scenario I need the overlying protocol(s) to
renegotiate the IP Address. I'm trying to follow the MSDN documentaion
thus sending the status NDIS_STATUS_NETWORK_CHANGE with the specific
NDIS_NETWORK_CHANGE_TYPE (NdisDefinitelyNetworkChange or
NdisPossibleNetworkChange, i've tried them both). Unfortunatly, I
couldn't obtain a new IP Address. when I run "ipconfig /renew" manualy
I get a new IP easily. I've also seen in a sniffer that no DHCP
Request is sent when my miniport indicates the status above
(NDIS_STATUS_NETWORK_CHANGE ).

In the past, for my previous miniport driver for NDIS5 (XP) the
"trick" to renew the IP from the miniport was to indicate "link down"
and "link up" in a row. in that case it worked fine. But now, running
with NDIS6 I dont know the correct method for doing it.

Can anybody help?

Thanks
Yogev
.



Relevant Pages

  • Re: NDIS6 - Renew IP Address
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... I'm writing a miniport driver for NDIS6 which emulates 802.3 ... network device, but the actual physical device is different. ...
    (microsoft.public.development.device.drivers)
  • Re: Virtual network adapters
    ... >> MiniportSend funcion across network using a network device. ... >> intermediate drivers passes the packet to the miniport driver using NdisSend. ... >> function requires the binding handle which a virtual miniport driver can not ...
    (microsoft.public.development.device.drivers)