be more specific in the exception message
put the netmask back into play for the lxc network configuration sections
thow an exception if the container is not in the correct state