I looked through the installadm code and it looks like it was
simply a choice to take a shortcut and only support C class subnets
for the prototype release.  There are only a handful of places
in the code that makes use the network number, and these
places just need to be changed to use a properly calculated
network number instead of the first three octets of the system's
IP address.  These places are:


setup-sparc.sh
   wanboot configuration
      - network number used throughout for setting up
        wanboot configuration.
        /etc/netboot/<network number>


setup-dhcp.sh
   create_dhcp_server()
       - netwrk number used to pass to "dhcpconfig -N network"

   add_ip_address()
       - network number used to pass to "pntadm -P network"

   assign_dhcp_macro()
      - network number used to pass to "pntadm -P network"
      - network number used to pass to "pntadm -D network"
      - network number used to pass to "pntadm -A network"


Calculating the proper network is fairly straightforward
given the IP address and the netmask.  I am going to proceed
with this fix as noted above.  Please chime in if there are
any differing thoughts.


thanks,
-ethan


Reply via email to