John Weekley writes:
> Thanks to Darren and Joerg for their answers.  IPMP wasn't really goal, 
> but I didn't see any other way of reliably detecting when a link went 
> down. I'd looked at using DL_NOTE_LINK_{UP|DOWN} directly, but
> I gave up when I saw what would be involved.

If the driver supports DL_NOTE_LINK_{UP|DOWN}, then all you have to do
is watch the IFF_RUNNING bit from IP -- using ioctls, routing sockets,
or watching the output of ifconfig.  You don't need IPMP just to find
out if the link went up or down.

-- 
James Carlson, KISS Network                    <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to