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

Re: problème réseau [Long]



On Tue, Mar 12, 2002 at 16:27:28 +0100, Nicolas Bertolissio wrote:
> sur le PowerBook :
> ~# ifconfig
> eth0      Lien encap:Ethernet  HWaddr 00:03:93:75:2B:AE  
>           inet adr:192.168.0.8  Bcast:192.168.0.255  Masque:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100 
>           RX bytes:0 (0.0 b)  TX bytes:2268 (2.2 KiB)
>           Interrupt:41
> 
> lo        Lien encap:Local Loopback
>           inet adr:127.0.0.1  Masque:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:61 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:6240 (6.0 KiB)  TX bytes:6240 (6.0 KiB)
> ~# route
> Table de routage IP du noyau
> Destination     Passerelle      Genmask         Indic Metric Ref    Use Iface
> 192.168.0.1     *               255.255.255.255 UH    0      0        0 eth0
> localnet        *               255.255.255.0   U     0      0        0 eth0

C'est bizarre comme config. Je n'y connaît pas grand chose, mais
la première ligne semble au moins inutile.

Chez moi:

[Sur 192.168.0.3]
ay:~> route -n                                                        <17:27:31
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 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0

> Je cherche à me connecter à l'internet du PowerBook via le PC, en
> ajouant le PC comme passerelle ça ne fonctionne pas,

C'est pourtant bien ce qu'il faut faire.

> ce qui ne m'étonne
> pas car avec la configuration décrite ci-dessus, le PowerBook dir :
> ~# telnet 192.168.0.1 23
> Trying 192.168.0.1...
> telnel: Unable to connect to remote host: No route to host

Aucune idée là-dessus.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: