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

Re: configuration réseau localnet



Francois Sauterey a écrit :

Le Mardi 01 Novembre 2005 13:39, 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 eth0

Or 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
[...]
Comment virer ou remplacer localnet ?

Que donnent route -n et ifconfig eth0 ?

@micalement,
Apparemment, ça donne la même chose:

hp-debian:/home/fabien# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.2.1     0.0.0.0         UG    0      0        0 eth0

pc-fabien:/home/fabien# route -n
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 ath0
0.0.0.0         192.168.2.1     0.0.0.0         UG    0      0        0 ath0




Reply to: