Results 1 to 5 of 5

Thread: how to set promiscuous mode on eth0?

  1. #1
    Join Date
    Nov 2008
    Location
    Northern VA
    Posts
    286

    Default how to set promiscuous mode on eth0?

    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.
    And a film-based photographer

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    9,882
    Blog Entries
    1

    Default Re: how to set promiscuous mode on eth0?

    To view the current settings for eth0
    ip a show eth0
    To set the eth0 in promiscuous mode for the current session
    Code:
    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
    Code:
    echo "PROMISC=yes" >> /etc/sysconfig/network/ifcfg-eth0
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Nov 2008
    Location
    Northern VA
    Posts
    286

    Default Re: how to set promiscuous mode on eth0?

    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?
    And a film-based photographer

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    9,882
    Blog Entries
    1

    Default Re: how to set promiscuous mode on eth0?

    Quote Originally Posted by konsultor View Post
    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
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    25,444
    Blog Entries
    15

    Default Re: how to set promiscuous mode on eth0?

    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!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •