Ubuntu Pastebin

Paste from maashw at Wed, 8 Jun 2016 13:03:46 +0000

Download as text
 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
60
61
62
63
# 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
	dns-nameservers 10.14.0.1 192.168.1.1
	dns-search maas

# The primary network interface (maas-external network)
auto eth0
iface eth0 inet static
	address 192.168.1.104/24
	gateway 192.168.1.1

# The internal network interface (maas-management network)
auto eth1
iface eth1 inet static
	address 10.14.0.1/20
	post-up iptables -t nat -A POSTROUTING -s 10.14.0.0/20 -o eth0 -j SNAT --to-source 192.168.1.104
	post-down iptables -t nat -D POSTROUTING -s 10.14.0.0/20 -o eth0 -j SNAT --to-source 192.168.1.104

# The internal network interface (maas-management network)
auto eth1.50
iface eth1.50 inet static
	address 10.50.0.1/20
   	vlan-raw-device eth1

# guest-internal VLAN
auto eth1.100
iface eth1.100 inet static
	address 10.100.0.1/20
	vlan-raw-device eth1

# guest-admin VLAN
auto eth1.150
iface eth1.150 inet static
	address 10.150.0.1/20
	vlan-raw-device eth1

# guest-compute-data VLAN
auto eth1.200
iface eth1.200 inet static
	address 10.200.0.1/20
	vlan-raw-device eth1

# guest-storage-data VLAN
auto eth1.250
iface eth1.250 inet static
	address 10.250.0.1/20
	vlan-raw-device eth1

# guest-storage-cluster VLAN
auto eth1.30
iface eth1.30 inet static
	address 10.30.0.1/20
	vlan-raw-device eth1

# guest-compute-external VLAN (unmanaged)
auto eth1.99
iface eth1.99 inet static
	address 10.99.0.1/20
	vlan-raw-device eth1
Download as text