[CentOS] Configuring eth1 to be in promiscuous mode

Les Mikesell lesmikesell at gmail.com
Tue Dec 6 22:36:42 UTC 2005


On Tue, 2005-12-06 at 16:14, Kaplan, Andrew H. wrote:
> Hi there -- 
> 
> I want to have eth1 on my system run in promiscuous mode. I modified the
> /etc/sysconfig/network-scripts/ifcfg-eth1 file to read as follows:
> 
> DEVICE=eth1
> BOOTPROTO=
> ...
> ONBOOT=
> TYPE=Ethernet
> ...
> 
> I reboote the system and when I did an /sbin/ifconfig, eth1 appeared without
> an ip address. I did a check in the /var/log/messages file and while eth0 is 
> in promiscuous mode, eth1 does not appear to be so. 
> 
> Is there something else I need to do? Thanks.

Having an IP address or not isn't relevant to promiscuous mode which
means it listens to all addresses.  Usually apps that want to listen
in promiscuous mode will set it themselves, although you may need to
be root for that.

-- 
  Les Mikesell
    lesmikesell at gmail.com





More information about the CentOS mailing list