Follow Us

Debian - How to configure an interface as promisc
Written by
Monday, 20 October 2008 14:14

In order to configure your interface you will need to edit the following file, /etc/network/interfaces
Below is an example of this file, this would set eth0 an IP ( and eth1 and eth2 to promisc mode.

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        # dns-* options are implemented by the resolvconf package, if installed

auto eth1
iface eth1 inet manual
        up ifconfig eth1 promisc up
        down ifconfig eth1 promisc down

auto eth2
iface eth2 inet manual
        up ifconfig eth2 promisc up
        down ifconfig eth2 promisc down


Secured by Incapsula