Added functionality to set ip, mask of the link and set it running. Needs some refinement