IPDAO.java

For selecting available ip address and marking them as active.