Re: Fail to ping hostname [message #33159 is a reply to message #33140] |
Thu, 25 September 2008 15:57   |
kenjy
Messages: 50 Registered: July 2008 Location: Mexico
|
Member |
|
|
Well the if the VE.A its 192.168.1.1 and the VE.B its: 192.168.1.2 the way to get work the hostname its edit /etc/hosts in each VE and add:
VE.A editing /etc/hosts
192.168.1.2 maquina2
VE.B editing /etc/hosts
192.168.1.1 maquina1
from VE.A ping maquina2
from VE.B ping maquina1
This should work, if not see if you don't have a DNS server who kill your request from one VE to another, another way to see its /etc/nsswitch.conf this file control the priority to solve a name:
hosts: files dns
Check if if files its the first in your VE's
http://kenjy.net |Live net !!!
|
|
|