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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148 | ubuntu@node-3:~$ ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master juju-eth0 state UP mode DEFAULT group default qlen 1000
link/ether 52:54:00:70:9b:fe brd ff:ff:ff:ff:ff:ff
6: juju-eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 52:54:00:70:9b:fe brd ff:ff:ff:ff:ff:ff
7: juju-eth0.100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 52:54:00:70:9b:fe brd ff:ff:ff:ff:ff:ff
8: eth0.100@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master juju-eth0.100 state UP mode DEFAULT group default
link/ether 52:54:00:70:9b:fe brd ff:ff:ff:ff:ff:ff
9: juju-eth0.250: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 52:54:00:70:9b:fe brd ff:ff:ff:ff:ff:ff
10: eth0.250@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master juju-eth0.250 state UP mode DEFAULT group default
link/ether 52:54:00:70:9b:fe brd ff:ff:ff:ff:ff:ff
11: juju-eth0.50: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
link/ether 52:54:00:70:9b:fe brd ff:ff:ff:ff:ff:ff
12: eth0.50@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master juju-eth0.50 state UP mode DEFAULT group default
link/ether 52:54:00:70:9b:fe brd ff:ff:ff:ff:ff:ff
ubuntu@node-3:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 52:54:00:70:9b:fe
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13070 errors:0 dropped:0 overruns:0 frame:0
TX packets:17265 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:47349241 (47.3 MB) TX bytes:2910567 (2.9 MB)
eth0.50 Link encap:Ethernet HWaddr 52:54:00:70:9b:fe
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:697 (697.0 B) TX bytes:648 (648.0 B)
eth0.100 Link encap:Ethernet HWaddr 52:54:00:70:9b:fe
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:697 (697.0 B) TX bytes:648 (648.0 B)
eth0.250 Link encap:Ethernet HWaddr 52:54:00:70:9b:fe
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:697 (697.0 B) TX bytes:648 (648.0 B)
juju-eth0 Link encap:Ethernet HWaddr 52:54:00:70:9b:fe
inet addr:10.20.19.103 Bcast:10.20.19.255 Mask:255.255.255.0
inet6 addr: fc00:2019::5054:ff:fe70:9bfe/64 Scope:Global
inet6 addr: fe80::5054:ff:fe70:9bfe/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12369 errors:0 dropped:0 overruns:0 frame:0
TX packets:16741 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41287731 (41.2 MB) TX bytes:2860904 (2.8 MB)
juju-eth0.50 Link encap:Ethernet HWaddr 52:54:00:70:9b:fe
inet addr:10.50.19.103 Bcast:10.50.19.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fe70:9bfe/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:697 (697.0 B) TX bytes:648 (648.0 B)
juju-eth0.100 Link encap:Ethernet HWaddr 52:54:00:70:9b:fe
inet addr:10.100.19.103 Bcast:10.100.19.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fe70:9bfe/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:697 (697.0 B) TX bytes:648 (648.0 B)
juju-eth0.250 Link encap:Ethernet HWaddr 52:54:00:70:9b:fe
inet addr:10.250.19.103 Bcast:10.250.19.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fe70:9bfe/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:697 (697.0 B) TX bytes:648 (648.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:121060 errors:0 dropped:0 overruns:0 frame:0
TX packets:121060 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:53951185 (53.9 MB) TX bytes:53951185 (53.9 MB)
ubuntu@node-3:~$ ip r
default via 10.20.19.2 dev juju-eth0
10.20.19.0/24 dev juju-eth0 proto kernel scope link src 10.20.19.103
10.50.19.0/24 dev juju-eth0.50 proto kernel scope link src 10.50.19.103
10.100.19.0/24 dev juju-eth0.100 proto kernel scope link src 10.100.19.103
10.250.19.0/24 dev juju-eth0.250 proto kernel scope link src 10.250.19.103
ubuntu@node-3:~$ cat /etc/network/interfaces
iface eth0 inet manual
auto juju-eth0
iface juju-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 juju-eth0.100
iface juju-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 juju-eth0.250
iface juju-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 juju-eth0.50
iface juju-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
|