Solaris - /etc/hosts
Hello All,
I have a Solaris server which has 2 entries as given below 123.234.345.456 Server1 MS 987.876.765.654 Server1 MS Now, actually both IPs, point to the same physical server, i.e. multiple interfaces. I would like to know what is the impact of having such config in /etc/hosts. if we do like "ssh Server1", what IP would it try? and what if one interface is down, will it automatically try the other interface??? |
These are hardly IP addresses. Each component is a byte so should be in the 0-255 range. Anyway, there is no round robin done when the backend is /etc/hosts so I guess the first IP address is always picked when you resolve "Server1" and communication just fails if this interface is down.
|
...
|
All times are GMT -5. The time now is 12:33 PM. |