Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ethernet Address and Gateway Question

Status
Not open for further replies.

Ciralia

Programmer
Oct 22, 2002
51
US
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?
 
ifconfig -a

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>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top