CLOUDSTACK-1762 Fixed assigning network or broadcast ip to nic