Allocation with NetworkInterfaces. Minor bugs fixed