[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux-team] Promiscuous mode
Bruno Mairlot wrote:
>
> Salut
>
> J'ai un petit probleme assez spécial.
>
> J'ai installé Linux sur un portable (presario 1260), tout fonctionne a
> la perfection sauf un petit detail :
>
> La carte reseau est automatiquement en promiscuous mode. C'est-à-dire
> que la led "act" fonctionne à chaque fois que quelque chose passe sur le
> réseau.
>
> Ce qui est assez anormal !
Ethernet est un domaine de collision. Tu verras toujours tous les packets (sauf sur un switch).
Ce qui n'est pas normal, c'est que la carte se mette en mode promiscuous.
> Comment faire pour être 1) bien sur qu'elle est en promiscuous mode et
> 2) comment l'arreter ?
>
ifconfig -a
ou
ifconfig <nom de l'interface>
Tu verras par exemple:
[root@freak ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:10:5A:CA:D5:99
inet addr:144.254.125.118 Bcast:144.254.125.119 Mask:255.255.255.252
UP BROADCAST RUNNING PROMISC MTU:1500 Metric:1
RX packets:898 errors:0 dropped:0 overruns:0 frame:0
TX packets:749 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:5 Base address:0xb000
(regarde le mot PROMISC a cote de UP BROADCAST)
pour activer le mode promiscuous:
ifconfig eth0 promisc
pour desactiver:
ifconfig eth0 -promisc
a+,
fred.
> Merci
>
> Buno
> --
> First they ignore you...Second they laugh at you...
> Then they fight you......And then you win!
> (Ghandi)
> ---------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.