Re: KernEvent not notifying IP modification?
Re: KernEvent not notifying IP modification?
- Subject: Re: KernEvent not notifying IP modification?
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 10 Oct 2003 16:47:34 +0200
On Friday, October 10, 2003, at 03:45 PM, Peter Sichel wrote:
Is it possible that no KernEvent is sent when a DHCP client get its IP
address?
I believe so. I use a SCF callback to detect IP configuration changes.
I use Kernel Events to detect when protocols or devices are attached
or detached (to add or remove my NKE).
Most of the time, I'm seeing the IP configuration changes (even in
DHCP) via the Kernel Events but I've seen 2 machines where it was as if
the change was not seen (an an iMac G4 and an iBook).
i.e. before getting its IP from the server, the IP was 0.0.0.0 and
when
the IP is leased by the Server, no KernEvent is sent to indicate the
modification.
The DHCP client is not strictly part of the network kernel.
Yes, but Network.PrefPane is not either and Kernel Events are sent when
you change the IP manually :-)
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.