Urgent 4.9 networking problems

Kevin Stevens freebsd at pursued-with.net
Thu Jun 24 15:02:49 PDT 2004


On Thu, 24 Jun 2004, Matthew Seaman wrote:

> On Thu, Jun 24, 2004 at 02:31:58PM -0700, Kevin Stevens wrote:
>
> Err -- no.  The broadcast address is a function of the netmask.
> Specifically, looking at IPv4 addresses/masks as 32bit integers, the
> broadcast address has all ones where ever the netmask has zeros.  The
> OP actually has it right.  Especially as that is clearly the slightly
> edited output from ifconfig(8), and ifconfig automatically calculates
> the broadcast address from the inet address and netmask.

Ok, tested, my bad.  Sorry for any confusion.

KeS


More information about the freebsd-questions mailing list