Link to home
Start Free TrialLog in
Avatar of Pradeep Siriwardana
Pradeep SiriwardanaFlag for Singapore

asked on

Virtual IP's and its Hostnames of Linux Server

Dear Experts,

What is the Command, that can be used to check configured Virtual IP's and its hostnames in Linux Server?

Thank You,
Pradeep.
Avatar of Kenza Cohen
Kenza Cohen
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi There,
You should be able top run
ifconfig -a  (to view the IP's)
then type hostname to view the hostname

That will show all of the IP's attached to the server
in addition to command above, it depends what you call a virtual IP. Usually they are aliases to some physical device, like physical is eth0 and virtual can be eth0:0 .
ASKER CERTIFIED SOLUTION
Avatar of Sandy
Sandy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial