Parse the subnetmask from bootpath and DHCP options