Re: How to get DHCP IP address renew upon Ethernet link down/up (NDIS_STATUS_MEDIA_CONNECT)?



It works in general. If the lease for the original IP address has not yet
expired, the card should not be requesting a new IP address just because the
cable was unplugged for a while. If the lease did expire, the IP by the
time you reconnect the network should be null and DHCP should occur just as
though the power was just turned on. Are you trying to do something
non-standard for some reason?

Paul T.

<peach.voser@xxxxxx> wrote in message
news:1191911883.496122.23730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I would like to get my CE5.0 device a new IP address using DHCP when
the Ethernet link goes down and up again. How can I do this? My driver
supports the NDIS_STATUS_MEDIA_CONNECT and
NDIS_STATUS_MEDIA_DISCONNECT events - but it does not work for some
reason...

Is there anything more I have to implement?

Thank you,
Peter



.



Relevant Pages

  • Re: Static vs Dynamic IP addresses
    ... The DHCP manages the IP allocation, ... the PC actually insures it gets the same IP by requesting a renewal of ... the lease of that particular IP before the lease is up, ... | Even with dynamic ips on the LAN side the DHCP server in the router ...
    (microsoft.public.windowsxp.basics)
  • Re: DHCP lease and dhclient.eth0.leases.
    ... will expire in 2038: ... gets me a new lease. ... Netgear router was failing to properly negotiate a new lease on its own ... a router or a real DHCP server on you LAN? ...
    (Debian-User)
  • Re: More on DDNS
    ... An understanding of DHCP is in order.. ... when your machine detects that the lease is gonna expire ... The BSD box never changed ip's even on ...
    (freebsd-questions)
  • Re: dhclient in 6.0
    ... Not really, no, except when DHCP options appear to turn off IPv4LL, or ... I think it's pretty obvious you have a rogue client ... if there was a prior lease matching the ... Ironically, ISC DHCP was built from this mindset, from what I read. ...
    (freebsd-stable)
  • Re: dhclient in 6.0
    ... if no lease can be obtained. ... I think it's pretty obvious you have a rogue client ... machine in the DHCP dynamic pool range for whatever reasons... ... currently exist any unbounded buffer utilizations. ...
    (freebsd-stable)