Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2004 22:48:49 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Kevin Stevens <freebsd@pursued-with.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Urgent 4.9 networking problems
Message-ID:  <20040624214849.GA79822@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <Pine.OSX.4.58.0406241429090.4839@onorysvfu.chefhrq-jvgu.arg>
References:  <00ba01c45a2d$66a34220$3200000a@lucy> <Pine.OSX.4.58.0406241429090.4839@onorysvfu.chefhrq-jvgu.arg>

next in thread | previous in thread | raw e-mail | index | archive | help

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 24, 2004 at 02:31:58PM -0700, Kevin Stevens wrote:
> On Thu, 24 Jun 2004, Dave Raven wrote:
>=20
> > # ifconfig fxp1
> > fxp1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >         inet x.y.186.3 netmask 0xffffff00 broadcast x.y.186.255
> >         inet x.y.186.1 netmask 0xffffffff broadcast x.y.186.1
> >         inet x.y.186.15 netmask 0xffffffff broadcast x.y.186.15
> >         inet x.y.186.14 netmask 0xffffffff broadcast x.y.186.14
> >         inet x.y.186.142 netmask 0xffffffff broadcast x.y.186.142
> >         inet x.y.186.33 netmask 0xffffffff broadcast x.y.186.33
> >         inet x.y.186.124 netmask 0xffffffff broadcast x.y.186.124
> >         inet x.y.186.250 netmask 0xffffffff broadcast x.y.186.250
> >         inet x.y.186.122 netmask 0xffffffff broadcast x.y.186.122
> >         inet x.y.186.25 netmask 0xffffffff broadcast x.y.186.25
> >         inet x.y.186.127 netmask 0xffffffff broadcast x.y.186.127
>=20
> I don't disagree with the other posters that mentioned DNS timeouts, but
> in addition those broadcast addresses aren't right.  Since all the
> addresses are within the same /24 subnet, they should all be .255 (which
> is the default, so you wouldn't need to specify them.

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.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA20xBiD657aJF7eIRAiW0AJ0VF6H/ljpbXT5GhG9BvlLdI7+HUgCfUp1J
ajntv1EHzGN2YqmUtSDb5rk=
=Roqr
-----END PGP SIGNATURE-----

--HlL+5n6rz5pIUxbD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040624214849.GA79822>