Discussion:
Broadcast addresses
(too old to reply)
h***@gmail.com
2016-11-08 23:57:50 UTC
Permalink
I am still working on booting diskless Suns.

Are hosts supposed to accept and respond to UDP requests to 255.255.255.255?

It seems to me that FreeBSD and Linux don't, but OS X does.

Running the same (compiled form source) bootparamd, it works on OS X, but not on the others.

thanks,
Barry Margolin
2016-11-09 16:51:37 UTC
Permalink
Post by h***@gmail.com
I am still working on booting diskless Suns.
Are hosts supposed to accept and respond to UDP requests to 255.255.255.255?
It seems to me that FreeBSD and Linux don't, but OS X does.
Running the same (compiled form source) bootparamd, it works on OS X, but not
on the others.
thanks,
This is called the "limited broadcast address." RFC 1122 Section 3.3.6
says that all hosts MUST recognize it, and says that this is the address
that SHOULD be used when sending a broadcast.
--
Barry Margolin
Arlington, MA
h***@gmail.com
2017-01-14 01:06:44 UTC
Permalink
(I wrote)
Post by Barry Margolin
Post by h***@gmail.com
I am still working on booting diskless Suns.
Are hosts supposed to accept and respond to UDP requests to 255.255.255.255?
It seems to me that FreeBSD and Linux don't, but OS X does.
(snip)
Post by Barry Margolin
This is called the "limited broadcast address." RFC 1122 Section 3.3.6
says that all hosts MUST recognize it, and says that this is the address
that SHOULD be used when sending a broadcast.
Does it matter which address the server binds?

Seems to me that ANYADDR should work, but one reference
I find says that it should bind to 255.255.255.255.

The bind is done inside the rpc routines, and not by me.

I did try setting SO_BROADCAST on it, even though that is
only supposed to be for clients (senders), but that didn't help.

thanks.

Loading...