[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Config réseau et IPv6



> > PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
> > 64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64
> > time=0.048 ms
> > ...
>
> [...]
>
> > gethostbyname(pc-cedric) succeeded
> > getaddrinfo(pc-cedric) with AF_INET6 failed: No address associated with
> > hostname
> > getaddrinfo(pc-cedric) with AF_INET succeeded
>
> D'un côté tu parles de localhost.localdomain, et de l'autre tu parles
> de pc-cedric... Tu ne penses pas qu'il y a comme une incohérence dans
> tes tests ?

localhost et pc-cedric sont la meme machine (la sortie ci dessus vient de la 
commande 'ping pc-cedric')

/etc/hosts:

127.0.0.1	localhost.localdomain	localhost	pc-cedric

-- 
Cédric Lucantis



Reply to: