[comp.sys.sun] Help with subnets

feldman@sun.com (Steve Feldman) (12/10/88)

I spent a few hours yesterday converting our class C Ethernet into a class
B subnet, only to discover that none of the diskless clients would boot.
They all hung after loading ndboot, while trying to load the kernel.  I
followed the instructions in the 3.3 upgrade document.

A quick etherfind showed a client sending an nd broadcast to 131.146.0.0,
but not getting any response.  Our subnet is 131.146.2.*.

Is there a step I've missed?

We're running a mixture of 3.4 and 3.5 on our Suns, and there are also two
4.3BSD Vaxen and a Cisco gateway on the Ethernet.

Thanks,
	Steve Feldman
	uucp: ..!sun!oliveb!tymix!feldman
	arpa: oliveb!tymix!feldman@sun.com

dlc@vetch.c3.lanl.gov (Dale Carstensen) (12/20/88)

You may not be able to get a class B network to work with pre-3.5 SunOS.
And with 3.5 or newer SunOS, you need to set a netmask and probably a
broadcast with the ifconfig commands in /etc/rc.boot.  Example (all on one
line):

 /etc/ifconfig le0 $hostname netmask 255.255.252.0
   broadcast 128.165.23.255 -trailers up

This is for a network where the lower 16 bits of the IP address are split
between the 6 high-order for sub-net and 10 low-order for host, and the
addresses for this subnet begin with 128.165.20 through 128.165.23.

mike@ists.yorku.ca (Mike Clarkson) (12/21/88)

oliveb!tymix!feldman@sun.com (Steve Feldman) writes:
> I spent a few hours yesterday converting our class C Ethernet into a class
> B subnet, only to discover that none of the diskless clients would boot.
> They all hung after loading ndboot, while trying to load the kernel.  I
> followed the instructions in the 3.3 upgrade document.

Did you remember to rename the symlinks in /tftpboot ?  They are based on
a hexadecimal representation of the Internet number.

Did you set the netmask on the ifconfig line in /etc/rc.boot ?

Did you remake the yellow pages on your YP master server with ypinit -m ?

Mike.

Mike Clarkson					mike@ists.UUCP
Institute for Space and Terrestrial Science	mike@ists.yorku.ca
York University, North York, Ontario,		uunet!mnetor!yunexus!ists!mike
CANADA M3J 1P3					+1 (416) 736-5611