implements a function to set ip adress on a specific interface
add code to get interfaces informations