[comp.sys.sun] TCP/IP SubNet Masks

lee@sleepy.unm.edu (Lee Ward) (12/31/88)

ehrlich@shire.cs.psu.edu (Dan Ehrlich) writes:
>The documentation seems to imply that a subnet mask can be any number of
>bits in length.  Is this really true?...

Yes, it is true. We have all the architectures you mention and more. For
us, the ifconfig line would look like:

ifcongig le0 `hostname` netmask 255.255.248.0 broadcast 129.24.15.255

Where `hostname` runs the hostname command. ifconfig looks in /etc/hosts
for the address of your machine. The `netmask 255.255.248.0' gives us 5
bits of subnet. Finally, the `broadcast 129.24.15.255' sets the broadcast
address to a host part of all ones. In some cases this can be inferred.

	--Lee (Ward)