forked from cloudbase/ci-overcloud-init-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinterfaces
More file actions
24 lines (20 loc) · 636 Bytes
/
Copy pathinterfaces
File metadata and controls
24 lines (20 loc) · 636 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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 dhcp
auto eth1
iface eth1 inet manual
pre-up ifconfig $IFACE up
up ip link set $IFACE promisc on
down ip link set $IFACE promisc off
post-down ifconfig $IFACE down
auto eth2
iface eth2 inet manual
pre-up ifconfig $IFACE up
up ip link set $IFACE promisc on
down ip link set $IFACE promisc off
post-down ifconfig $IFACE down