calculate default gateway for each PXE client