Help with subnets

Dale Carstensen dlc at vetch.c3.lanl.gov
Tue Dec 20 17:06:53 AEST 1988


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.



More information about the Comp.sys.sun mailing list