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: / 3
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  

Share this article:

Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Kledy.de Social Bookmarking Add to:  FAV!T Social Bookmarking Add to: Favoriten.de Add to: Seekxl Add to: Social Bookmark Portal Add to: BoniTrust Add to: Power-Oldie Add to: Bookmarks.cc Add to: Newskick Add to: Newsider Add to: Linksilo Add to: Readster Add to: Yigg Add to: Linkarena Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: Jumptags Add to: Upchuckr Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Add to: Folkd Add to: Spurl Add to: Google Add to: Blinklist Information