All the answers I’ve found so far depend on ifconfig, now deprecated. One answer a year ago mentioned a bug associated with promisc mode and systemd, which is part of openSuse 15. The --help page for ‘ip’ doesn’t seem to mention “promiscuous”.
Earlier releases of openSuse worked well with Wireshark, but now I see nothing (from a tap on an Ethernet link).
How do we turn on promiscuous mode these days?
Thanks.
To view the current settings for eth0
ip a show eth0
To set the eth0 in promiscuous mode for the current session
ip link set eth0 promisc on
If you want to set eth0 in promiscuous mode permanently, you need to edit the network interface file, eg
echo "PROMISC=yes" >> /etc/sysconfig/network/ifcfg-eth0
TSU
Thanks, Tsu. Double 'atta boy" for sure.
What I find odd is that neither ‘promisc’ nor ‘promiscuous’ appears in the 'MAN ip" document. Is that a reportable bug?
MAN authors are typically listed in the document, best to write them directly.
TSU
On Fri 08 Feb 2019 02:46:04 AM CST, konsultor wrote:
Thanks, Tsu. Double 'atta boy" for sure.
What I find odd is that neither ‘promisc’ nor ‘promiscuous’ appears in
the 'MAN ip" document. Is that a reportable bug?
Hi
If you look at the bottom of man 8 ip ‘See Also’, there is ip-link,
this has the details…
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.28-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
No.
- If you look near the bottom of “ip(8)” you’ll notice “SEE ALSO
” and, therein: “ip-link(8)”.
“man 8 ip-link” provides the documentation you need …