[email protected] wrote:
> Meem's right. To confirm, you could run the dscript below, and possibly
> print ustack when you see the ENETUNREACH (error 0x80) being returned.

I seem to recall an old issue in this area.

On some systems (BSD, perhaps?), the stack will special-case broadcast
and iterate through the interfaces, broadcasting on the ones that match.
 On the Solaris IP stack, though, it does something quite different.  It
matches a slightly odd 255.255.255.255 IRE and sends to that interface:

255.255.255.255      10.50.30.94           UHB      11097818  ce0

I know we discussed this oddity in the past, but I don't recall what
became of it, other than suggesting that applications using broadcast
are well advised to read the interface list and send to the broadcast
addresses on the attached interfaces rather than relying on the somewhat
unclear semantics of INADDR_BROADCAST.

-- 
James Carlson         42.703N 71.076W         <[email protected]>
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to