Ubuntu Pastebin

Paste from dimitern at Tue, 26 Apr 2016 11:30:19 +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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# 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 (maas-external network)
auto eth0
iface eth0 inet static
	address 192.168.1.104
	netmask 255.255.255.0
	gateway 192.168.1.1
	dns-nameservers 192.168.1.1

# The internal network interface (maas-management network)
auto eth1
iface eth1 inet static
	address 10.14.0.1
	netmask 255.255.240.0
	dns-nameservers 10.14.0.1
	dns-search maas
	post-up iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 192.168.1.104
	post-down iptables -t nat -D POSTROUTING -o eth0 -j SNAT --to-source 192.168.1.104

# guest-public VLAN
auto eth1.50
iface eth1.50 inet static
	address 10.50.0.1
	netmask 255.255.240.0
	dns-nameservers 10.50.0.1
	dns-search maas
	vlan-raw-device eth1

# guest-internal VLAN
auto eth1.100
iface eth1.100 inet static
	address 10.100.0.1
	netmask 255.255.240.0
	dns-nameservers 10.100.0.1
	dns-search maas
	vlan-raw-device eth1

# guest-admin VLAN
auto eth1.150
iface eth1.150 inet static
	address 10.150.0.1
	netmask 255.255.240.0
	dns-nameservers 10.150.0.1
	dns-search maas
	vlan-raw-device eth1

# guest-compute-data VLAN
auto eth1.200
iface eth1.200 inet static
	address 10.200.0.1
	netmask 255.255.240.0
	dns-nameservers 10.200.0.1
	dns-search maas
	vlan-raw-device eth1

# guest-storage-data VLAN
auto eth1.250
iface eth1.250 inet static
	address 10.250.0.1
	netmask 255.255.240.0
	dns-nameservers 10.250.0.1
	dns-search maas
	vlan-raw-device eth1

# guest-storage-cluster VLAN
auto eth1.30
iface eth1.30 inet static
	address 10.30.0.1
	netmask 255.255.240.0
	dns-nameservers 10.30.0.1
	dns-search maas
	vlan-raw-device eth1

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