Jean-Luc Coulon (f5ibh) a écrit :
Les fichiers sont identiques sauf le début de /etc/hosts. Le pc est en DHCP mais pas le portable.Le 01.11.2005 13:39:21, debian-mail a écrit :Bonjour, Sur mon portable HP sous sarge, je vois les routes suivantes:Destination Gateway Genmask Flags Metric Ref Use Iface localnet * 255.255.255.0 U 0 0 0 eth0 default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0Or le ping renvoie vers l'extérieur. Donc je ne peux pas atteindre les machines sur mon réseau local.# ping localnet PING localnet (82.101.8.42): 56 data bytes Sur mon autre plateforme sous unstable, je vois:Destination Passerelle Genmask Indic Metric Ref Use Iface 192.168.2.0 * 255.255.255.0 U 0 0 0 ath0 default 192.168.2.1 0.0.0.0 UG 0 0 0 ath0Comment virer ou remplacer localnet ?Quelle est l'allure de /etc/network/interfaces sur les deux machines anisi que le fichier /etc/hosts et /etc/resolv.conf
pc-fabien:/home/fabien# cat /etc/hosts 127.0.0.1 localhost.localdomain localhost pc-fabien # The following lines are desirable for IPv6 capable hosts --------------- hp-debian:/home/fabien# cat /etc/hosts 127.0.0.1 localhost.localdomain localhost 192.168.2.35 hp-debian # The following lines are desirable for IPv6 capable hosts
D'avance merci, FabienJean-Luc