• [^] # Re: ifconfig

    Posté par . En réponse au message Pourquoi mon LAN est-il si lent ?. Évalué à 2.

    Pour le PC1 (portable) :

    lezard@portable:~$ sudo /sbin/ifconfig etho
    eth0 Lien encap:Ethernet HWaddr 00:D0:59:C5:3C:59
    inet adr:192.168.0.4 Bcast:192.168.0.255 Masque:255.255.255.0
    adr inet6: fe80::2d0:59ff:fec5:3c59/64 Scope:Lien
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:569 errors:0 dropped:0 overruns:0 frame:0
    TX packets:503 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 lg file transmission:1000
    RX bytes:602225 (588.1 KiB) TX bytes:77594 (75.7 KiB)

    lezard@portable:~$ sudo route -n
    Table de routage IP du noyau
    Destination Passerelle Genmask Indic 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.254 0.0.0.0 UG 0 0 0 eth0

    Sur le deuxième poste (alexis) :
    lezard@dhana:~$ sudo ifconfig eth0
    eth0 Lien encap:Ethernet HWaddr 00:10:A7:20:34:FF
    inet adr:192.168.0.3 Bcast:192.168.0.255 Masque:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:156 errors:0 dropped:0 overruns:0 frame:0
    TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 lg file transmission:1000
    RX bytes:16371 (15.9 KiB) TX bytes:14379 (14.0 KiB)
    Interruption:5 Adresse de base:0x7400

    lezard@dhana:~$ sudo route -n
    Table de routage IP du noyau
    Destination Passerelle Genmask Indic 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.254 0.0.0.0 UG 0 0 0 eth0