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

créer un réseau local



Bonjour,

Voici mon problème :

J'ai deux machines A et B sur lesquelles tourne woody, ayant chacune
une carte éthernet et reliées par un cable et je veux les mettre
en réseau.

Il me semble avoir configuré chaque carte (une RealTek RTL8139), mais
lorsque je fais un ping de l'une sur l'autre, elles ne se reconnaissent pas :

de A vers lui même

(root)~> ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=255 time=0.1 ms
64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=0.0 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=255 time=0.0 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=255 time=0.0 ms

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

de A vers B

(root)~> ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2): 56 data bytes

--- 192.168.0.2 ping statistics ---
15 packets transmitted, 0 packets received, 100% packet loss

de B vers A :

(root)~> ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 192.168.0.1 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote 192.168.0.1 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote 192.168.0.1 64 chars, ret=-1
ping: sendto: Network is unreachable
ping: wrote 192.168.0.1 64 chars, ret=-1

--- 192.168.0.1 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss

de B vers lui même :

(root)~> ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2): 56 data bytes
64 bytes from 192.168.0.2: icmp_seq=0 ttl=255 time=0.0 ms
64 bytes from 192.168.0.2: icmp_seq=1 ttl=255 time=0.0 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=255 time=0.0 ms
64 bytes from 192.168.0.2: icmp_seq=3 ttl=255 time=0.0 ms
64 bytes from 192.168.0.2: icmp_seq=4 ttl=255 time=0.0 ms
64 bytes from 192.168.0.2: icmp_seq=5 ttl=255 time=0.0 ms

Le module 8139too ne figurait pas dans le noyau 2.4.18-bf2.4
que j'avais utilisé lors de l'installation de woody,
je l'ai remplacé par le noyau 2.4.18-686.

Je ne penses pas qu'il y ait un problème matériel car
lorsque je mets les deux machines sous windaube, tout
marche bien :-(

J'ai cherché (sûrement mal) des renseignements sur la
toile, mais n'ai rien trouvé.

Merci d'avance à tous ceux qui pourront m'aider ;-)

Bien amicalement,
Santi MAURO

Voici les résultats de quelques commandes

Sur A
-----

dans dmesg :

8139too Fast Ethernet driver 0.9.24
PCI: Found IRQ 11 for device 02:01.0
PCI: Sharing IRQ 11 with 02:05.0
eth0: RealTek RTL8139 Fast Ethernet at 0xd0973000, 00:50:fc:50:e1:f7, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.

(root)~> ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:FC:50:E1:F7 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask: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:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
         Interrupt:11 Base address:0x3000

(root)~> arp
(root)~> arp -a
(root)~> route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet        *               255.255.255.0   U     0      0        0 eth0
(root)~>


Sur B
-----

dans dmesg :

8139too Fast Ethernet driver 0.9.24
PCI: Enabling device 00:0b.0 (0004 -> 0007)
PCI: No IRQ known for interrupt pin A of device 00:0b.0. Please try using pci=biosirq.
eth0: RealTek RTL8139 Fast Ethernet at 0xd0938000, 00:50:fc:50:e1:fc, IRQ 0
eth0:  Identified 8139 chip type 'RTL-8139C'
hub.c: USB new device connect on bus1/2, assigned device number 3
input0: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) on usb1:3.0

(root)~> ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:FC:50:E1:FC inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
         BROADCAST MULTICAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
         Base address:0x8000

(root)~> arp
(root)~> arp -a
(root)~> route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
(root)~>





Reply to: