Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
We are running a network wherein the Server is Centos and terminals are using connected are Windows XP and Centos . They are connected with DHCP protocol . Now from a terminal i want to know the host IP , Please assist
Posted
Comments
Michael_Davies 22-Sep-15 9:03am    
Have you tried Google?

For XP open a CMD.EXE and type ipconfig /all

For Centos I believe it is IFCONFIG
Albert Holguin 2-Dec-15 0:47am    
Yes, ifconfig would give you the addresses of the ethernet ports on the Linux device that you ran that on. It sort of sounds like OP is trying to figure out either 0. who the server is he's connected to OR 1. where he should be attempting to find his host machine. Maybe OP will clarify.
Albert Holguin 2-Dec-15 0:44am    
You question isn't very clear... try to clarify or re-phrase.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900