Re: NDIS6 - Renew IP Address

Tech-Archive recommends: Fix windows errors by optimizing your registry



Are you setting the other parameters in the NDIS_STATUS_INDICATION structure properly?

-ali
--
This posting is provided "AS IS" with no warranties, and confers no rights.

<yogev.work@xxxxxxxxx> wrote in message news:b8802749-3ac2-49b9-b4d9-f98953fd2768@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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

  • NDIS6 - Renew IP Address
    ... I'm writing a miniport driver for NDIS6 which emulates 802.3 ... network device, but the actual physical device is different. ... Within a certain scenario I need the overlying protocolto ...
    (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)
  • Re: NdisIMDeInitializeDeviceInstance question (NOT CE)
    ... An OID request or send not getting completed by the miniport driver. ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.development.device.drivers)