You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<listitem><para>49152 - 49216 (libvirt live migration)</para></listitem>
35
+
</orderedlist>
36
+
<para>It depends on the firewall you are using how to open these ports. Below you'll find examples how to open these ports in RHEL/CentOS and Ubuntu.</para>
<para>There are many ways to configure your network. In the Basic networking mode you should have two (V)LAN's, one for your private network and one for the public network.</para>
33
+
<para>The hypervisor has one NIC (eth0) with three VLAN's:</para>
34
+
<orderedlist>
35
+
<listitem><para>VLAN 100 for management of the hypervisor</para></listitem>
36
+
<listitem><para>VLAN 200 for public network of the instances (cloudbr0)</para></listitem>
37
+
<listitem><para>VLAN 300 for private network of the instances (cloudbr1)</para></listitem>
38
+
</orderedlist>
39
+
<para>On VLAN 100 we give the Hypervisor the IP-Address 192.168.42.11/24 with the gateway 192.168.42.1</para>
<para>It depends on the distribution you are using how to configure these, below you'll find examples for RHEL/CentOS and Ubuntu.</para>
44
+
<note><para>The goal is to have two bridges called 'cloudbr0' and 'cloudbr1' after this section. This should be used as a guideline only. The exact configuration will depend on your network layout.</para></note>
<para>With this configuration you should be able to restart the network, although a reboot is recommended to see if everything works properly.</para>
109
+
<warning><para>Make sure you have an alternative way like IPMI or ILO to reach the machine in case you made a configuration error and the network stops functioning!</para></warning>
<para>Modify the interfaces file to look like this:</para>
116
+
<programlisting><![CDATA[auto lo
117
+
iface lo inet loopback
118
+
119
+
auto eth0.200
120
+
iface eth0.200 inet manual
121
+
122
+
auto eth0.300
123
+
iface eth0.300 inet manual
124
+
125
+
# The primary network interface
126
+
auto eth0.100
127
+
iface eth0.100 inet static
128
+
address 192.168.42.11
129
+
netmask 255.255.255.240
130
+
gateway 192.168.42.1
131
+
132
+
# Public network
133
+
auto cloudbr0
134
+
iface cloudbr0 inet manual
135
+
bridge_ports eth0.200
136
+
bridge_fd 5
137
+
bridge_stp off
138
+
bridge_maxwait 1
139
+
140
+
# Private network
141
+
auto cloudbr1
142
+
iface cloudbr1 inet manual
143
+
bridge_ports eth0.300
144
+
bridge_fd 5
145
+
bridge_stp off
146
+
bridge_maxwait 1]]></programlisting>
147
+
<para>With this configuration you should be able to restart the network, although a reboot is recommended to see if everything works properly.</para>
148
+
<warning><para>Make sure you have an alternative way like IPMI or ILO to reach the machine in case you made a configuration error and the network stops functioning!</para></warning>
0 commit comments