smitty mktcpip
pick an interface, probably en0 will do.
hit enter.
give it a hostname, address - within your router's subnet, a subnet mask - same as your router, nameserver - probably your router's address, gateway - your routers address, Etc.
hit enter again.
you should be good to go.