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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116 | cat ~/eni2 # interfaces-orig from the node deployed with 1.25
auto eth0
iface eth0 inet static
gateway 10.20.19.2
address 10.20.19.103/24
mtu 1500
auto eth0.100
iface eth0.100 inet static
address 10.100.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 100
auto eth0.250
iface eth0.250 inet static
address 10.250.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 250
auto eth0.50
iface eth0.50 inet static
address 10.50.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 50
dns-nameservers 10.10.19.2
dns-search maas-19
# maas-spaces bridge script
$ ./add-juju-bridge.py ~/eni2
iface eth0 inet manual
auto br-eth0
iface br-eth0 inet static
gateway 10.20.19.2
address 10.20.19.103/24
mtu 1500
bridge_ports eth0
iface eth0.100 inet manual
address 10.100.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 100
auto br-eth0.100
iface br-eth0.100 inet static
address 10.100.19.103/24
mtu 1500
bridge_ports eth0.100
iface eth0.250 inet manual
address 10.250.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 250
auto br-eth0.250
iface br-eth0.250 inet static
address 10.250.19.103/24
mtu 1500
bridge_ports eth0.250
iface eth0.50 inet manual
address 10.50.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 50
auto br-eth0.50
iface br-eth0.50 inet static
address 10.50.19.103/24
mtu 1500
bridge_ports eth0.50
dns-nameservers 10.10.19.2
dns-search maas-19
# 1.25 bridge script did instead:
ubuntu@node-3:~$ cat /etc/network/interfaces
iface eth0 inet manual
auto juju-br0
iface juju-br0 inet static
bridge_ports eth0
gateway 10.20.19.2
address 10.20.19.103/24
mtu 1500
auto juju-br0.100
iface juju-br0.100 inet static
address 10.100.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 100
auto juju-br0.250
iface juju-br0.250 inet static
address 10.250.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 250
auto juju-br0.50
iface juju-br0.50 inet static
address 10.50.19.103/24
vlan-raw-device eth0
mtu 1500
vlan_id 50
dns-nameservers 10.10.19.2
dns-search maas-19
|