GenerationIP

Just for you

  • Increase font size
  • Default font size
  • Decrease font size
Home Documentation Mini Howto Howto create promisc or promiscuous interface on redhat, fedora, centos

Howto create promisc or promiscuous interface on redhat, fedora, centos

E-mail Print PDF
User Rating: / 5
PoorBest 

Type : System
Operating System
: Redhat,Fedora,Centos

After a long research to create promiscuous interface on start with network config file present in /etc/sysconfig/network-scripts, i proposed you a another solution with the rc.local file.

CONFIGURATION

You have to edit this file : /etc/rc.local

#vi /etc/rc.local

Now you can add your ifconfig command line to enable the promiscuous mode for your interface.

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
ifconfig eth1 0.0.0.0 promisc
ifconfig eth2 0.0.0.0 promisc
ifconfig eth3 0.0.0.0 promisc

TIPS

If you have seen this configuration in a ifcfg-eth :

PROMISC=yes

This configuration is deprecated for lastest version of redhat, centos and fedora

 

Last Updated on Saturday, 30 January 2010 22:31