-
Notifications
You must be signed in to change notification settings - Fork 3
/
interfaces.stackserver2
59 lines (50 loc) · 1.07 KB
/
interfaces.stackserver2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
# for host management
auto eth1
iface eth1 inet static
address 192.168.50.14/24
# for container management
auto eth2
iface eth2 inet manual
up ip link set $IFACE up
down ip link set $IFACE down
# for tenant networks
auto eth3
iface eth3 inet manual
up ip link set $IFACE up
down ip link set $IFACE down
# container mgmt bridge
auto br-mgmt
iface br-mgmt inet static
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports eth2
address 192.168.20.14/24
# openstack vlan bridge
# The neutron contains bind to br-vlan
auto br-vlan
iface br-vlan inet manual
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports eth3
# external network bridge. binds eth4 to the bridge
# The neutron contains bind to br-vlan
auto br-external
iface br-external inet manual
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports eth4
auto br-vxlan
iface br-vxlan inet static
bridge_stp off
bridge_waitport 0
bridge_fd 0
address 192.168.40.3
netmask 255.255.255.0
bridge_ports eth4