Subject: Diskless boot over a gateway
To: None <current-users@NetBSD.ORG>
From: Gordon W. Ross <gwr@mc.com>
List: current-users
Date: 09/09/1997 17:49:12
I've implemented a cute little hack that allows our Sun-style
diskless boot client code (using the bootparams RPC) to learn
both the correct gateway and subnet mask.  Commit message:

Circumvent the lack of a reliable gateway/netmask value in the
Sun RPC bootparam/whoami return by requesting a "pseudo file"
named "gateway" and using its contents as the gateway:netmask

Here is a sample section of my /etc/bootparams file:

eighty	root=eyore:/home/kanga/root \
	swap=eyore:/home/kanga/swap \
	dump=eyore:/home/kanga/swap \
	gateway=eyore:0xffffff80

Enjoy,
Gordon