Re: broadcast address of a network interface
Re: broadcast address of a network interface
- Subject: Re: broadcast address of a network interface
- From: Jens Alfke <email@hidden>
- Date: Mon, 9 Feb 2009 08:35:23 -0800
On Feb 9, 2009, at 8:05 AM, Joel Reymont wrote:
How do I make a network broadcast address (.255) from the interface
IP address?
This isn't an answer to your specific question [I don't know the
answer] … but in general, using IP broadcast is strongly discouraged,
because it causes every single machine on the subnet to spend time
receiving and parsing the packet, whether or not it's interested. It
scales really badly to busy networks.
You should be using link-local IP multicast instead. The advantage is
that you reserve a specific address for your protocol, and thus the
hardware network interface can ignore the packets unless it's been
told to listen on that address. This is what Bonjour uses, for example.
Maybe you could give some info about what it is you're trying to
implement? I know there are issues involved with the scalability of
even IP multicast on 802.11 networks — the details went over my head,
but there are some Bonjour experts on this list who might know more.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden