What is the command to see the ethernet address of a host?
Also, is there a command to see the IP address of a gateway computer on a network if I know the IP address of two of the hosts on the same network?
The IP address should be kept in the file /etc/hosts. If you are using NIS, you can find the IP address by entering command: ypcat hosts | grep <gateway computer>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.