Setting netmask

Gunnar Lindberg lindberg at cs.chalmers.se
Fri Dec 30 23:49:42 AEST 1988


In article <17644 at adm.BRL.MIL>, VINCE%UCONNVM.BITNET at cunyvm.cuny.edu writes:
>...
>     In fact this works on the diskless clients (in fact one sees the
>comforting message "Setting the netmask" during the boot process), but
>it does not work on the file server, where the option seems to be
>ignored.

I guess this depends on what SunOS you run, but for 3.x (x >= 4) the
discless clients simply broadcast an "icmp(ICMP_MASKREQ)" on the net
and use the first reply. File servers don't - instead they depend on
"ifconfig" to explicitly set the mask.

The idea of using broadcast has a few disadvantages:

    1)	You may get bad answers (wrong byte order) e.g. from VAXen.
	This was fixed in 3.4.2.

    2)	If the network is large, many hosts may try to answer, which
	gives quite a peak in network traffic (first one ARP for
	each reply, than the reply itself). This was discussed in
	"comp.sys.sun" a while ago.

		Gunnar Lindberg



More information about the Comp.unix.wizards mailing list