removing unused code
making sure that nics get the ip they were assigned