added cmd_generate_local_ip to command.h