Fixes bug 1046192 If the configured gateway is not in the subnet then it should not be used for the allocation pool creation. Change-Id: Ifba766a13d860b58d21034db278c6b24d4c126e7