[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Anyone know how "network" and "broadcast" are used?



-----BEGIN PGP SIGNED MESSAGE-----



On Thu, 14 Jan 1999 johnr ns computer net wrote:

> Does anyone know how "network" and "broadcast" are used
> within RedHat 5.0?  By this I mean, what use the operating
> system or Bind puts to then.  Do they ever get returned to
> users on the Internet? Do they serve a purpose within DNS?

John,

I assume you're refering to the /etc/sysconfig/network file?

Basically the "network" field tells Linux and your network card what IP
subnet your system is on.  Something like 205.231.11.0 would be common.
The broadcast address for a network depends on the "netmask" or network
mask.  This tells the kernel where the network ends.  Something like
255.255.255.0 would note a full class C (205.231.11.0->255) while
255.255.255.128 would denote 1/2 a class C (205.231.11.0->127).  The last
IP address of any subnet is the "broadcast" address.  This is used when a
machine wants to talk to all the machines on a subnet at once.

Now BIND being a nameserver doesn't have host names associated with the
network or broadcast addresses since they are reserved (machines can't use
them as their IP address).  Hence, there's never a case where a properly
configured nameserver returns hostnames for network or broadcast
addresses.  There are other places where BIND might use the network and
subnet masks however in the named.boot file.

- -- 
Aaron Turner           | Either which way, one half dozen or another. 
aturner pobox com      | Check out the Red Hat Linux User's FAQ Online!
www.pobox.com/~aturner | http://www.pobox.com/~aturner/RedHat-FAQ/
All emails from this account are PGP signed.  Lack of a signature is "bad".
PGP Key fingerprint = FB E1 CE ED 57 E4 AB 80  59 6E 60 BF 45 1B 20 E8




-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNp3zmDM3jpXy1kJtAQHsygP9EDzayT+/slP8K7XSvK8MAFbDBybAo+8A
hiRd84yqAXtM+QM2rhepBwRGEwys+Avq/lINF5Mb56hZ4lrKoq/+7owF6mZo76K6
WwNWzSoU+AvnB+hY5DKiMJUMq9fww2QTu1yL3Yn5ZXgfQ6L72G/+0TU3Ltwp3NUl
2AjEMaNj4Ac=
=ED2s
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]