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 (172.16.11.1) 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
address 172.16.11.1
netmask 255.255.255.0
network 172.16.11.0
broadcast 172.16.11.255
gateway 172.16.11.100
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 194.168.8.100
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
- How to Configure a BIND Server on Ubuntu - March 15, 2018
- What is a BGP Confederation? - March 6, 2018
- Cisco – What is BGP ORF (Outbound Route Filtering)? - March 5, 2018
Want to become a Linux expert?
Here is our hand-picked selection of the best courses you can find online:
Linux Mastery course
Linux Administration Bootcamp
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial