Indunil Jayasooriya
2011-Aug-09 09:33 UTC
[CentOS] Can two machines in the same network have the same hostname with different IPs?
Hi, Can two machines in the same network have the *same hostname* with different IPs? I have done it in test environment. I want to do it under production? is it possible ? is it recommended? let's say . one Server is *mail.example.com* with ip address* 192.168.0.1* the other Server is also *mail.example.com* but with another ip address *192.168.0.2 * -- Thank you Indunil Jayasooriya -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110809/defe43f4/attachment-0003.html>
Diego Sanchez
2011-Aug-09 09:43 UTC
[CentOS] Can two machines in the same network have the same hostname with different IPs?
Are you trying to use Round Robin DNS? Yes, you can But, remember.. If you use same hostname, the client will access to them in "random" 2011/8/9, Indunil Jayasooriya <indunil75 at gmail.com>:> Hi, > > > Can two machines in the same network have the *same hostname* with different > IPs? I have done it in test environment. I want to do it under production? > > is it possible ? is it recommended? > > > let's say . > > one Server is *mail.example.com* with ip address* 192.168.0.1* > > the other Server is also *mail.example.com* but with another ip > address *192.168.0.2 > * > > > > > > > -- > Thank you > Indunil Jayasooriya >-- Enviado desde mi dispositivo m?vil Diego - Yo no soy paranoico! (pero que me siguen, me siguen) http://about.me/diegors/bio El que usa una firma mas larga que el mail que envia, se la come