Kaplan, Andrew H.
2005-Dec-06 22:14 UTC
[CentOS] Configuring eth1 to be in promiscuous mode
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... ONBOOTTYPE=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.
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