ip link show
Compare:
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:30:48:20:0c:e5 brd ff:ff:ff:ff:ff:ff
2: eth0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:30:48:20:0c:e5 brd ff:ff:ff:ff:ff:ff
Fabien Salvi wrote:
Hello,
Well, I have a bit stupid question, but I don't find a correct answer.
What is the best way to know if an ethernet interface has entered
promiscuous mode except looking in kernel messages ?
I thought I could get this status in /proc or in iface flags...
Thanks in advance for your help !
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html