Ol� a Todos,

N�o consigo resolver nomes do /etc/hosts.

A minha m�quina est� assim:

/etc/hosts:

192.168.0.2 
rafael.local.net 
rafael
192.168.0.3 
emerson.local.net 
emerson
192.168.0.1 
router.local.net 
router
192.168.0.5 
  fabricio.local.net    fabricio
143.107.165.112 
bordeaux.pcs.usp.br 
bordeaux
127.0.0.1 
localhost.local.net 
localhost

/etc/resolv.conf

domain local.net
nameserver 200.212.223.102
nameserver 200.212.223.100

/etc/host.conf:

order hosts,bind
multi on

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 
     etho
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0


eth0      Link encap:Ethernet  HWaddr 00:00:21:FB:4F:2E
           inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:352 errors:0 dropped:0 overruns:0 frame:0
           TX packets:420 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           RX bytes:222676 (217.4 Kb)  TX bytes:52829 (51.5 Kb)
           Interrupt:9 Base address:0xc000

lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:29 errors:0 dropped:0 overruns:0 frame:0
           TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:1772 (1.7 Kb)  TX bytes:1772 (1.7 Kb)


Tenho uma LAN com 4 m�quinas e uma delas(router) faz o roteamento para a 
internet(Virtua). Os servidores que est�o no /etc/resolv.conf s�o do Virtua.

Vejam o que acontece:

[rnpacheco@rafael rnpacheco]$ ping router
ping: unknown host router
[rnpacheco@rafael rnpacheco]$ ping rafael
ping: unknown host rafael
[rnpacheco@rafael rnpacheco]$ ping fabricio
ping: unknown host fabricio
[rnpacheco@rafael rnpacheco]$ ping rafael.local.net
ping: unknown host rafael.local.net


[rnpacheco@rafael rnpacheco]$ ping localhost
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.1 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.1 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.1 ms

--- localhost ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.1 ms

[rnpacheco@rafael rnpacheco]$ ping localhost.local.net
ping: unknown host localhost.local.net


Algu�m tem alguma id�ia? J� esgotei as minhas...

Desde j� agradeco.

Rafael Pacheco




Assinantes em 17/11/2001: 2362
Mensagens recebidas desde 07/01/1999: 142031
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
            mailto:[EMAIL PROTECTED]

Responder a