<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=DE-AT link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>That config look quite strange to me – vmbr0 should use the same
vlan on both nodes, also vmbr1 should use the same vlan on both nodes.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>
Manu Lestrelin [mailto:emmanuel.lestrelin@univmed.fr] <br>
<b>Sent:</b> Mittwoch, 09. Dezember 2009 12:00<br>
<b>To:</b> Dietmar Maurer<br>
<b>Cc:</b> pve-user@pve.proxmox.com<br>
<b>Subject:</b> Re: [PVE-User] Cluster nodes in different subnets/VLANs<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>On master cluster node :<o:p></o:p></p>

<pre># network interface settings<o:p></o:p></pre><pre>auto lo<o:p></o:p></pre><pre>iface lo inet loopback<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>iface eth0 inet manual<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>auto vmbr0<o:p></o:p></pre><pre>iface vmbr0 inet static<o:p></o:p></pre><pre>    address  192.168.100.4<o:p></o:p></pre><pre>    netmask  255.255.255.0<o:p></o:p></pre><pre>    gateway  192.168.100.1<o:p></o:p></pre><pre>    bridge_ports eth0<o:p></o:p></pre><pre>    bridge_stp off<o:p></o:p></pre><pre>    bridge_fd 0<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>auto vmbr1<o:p></o:p></pre><pre>iface vmbr1 inet manual<o:p></o:p></pre><pre>    bridge_ports eth0.200<o:p></o:p></pre><pre>    bridge_stp off<o:p></o:p></pre><pre>    bridge_fd 0<o:p></o:p></pre>

<p class=MsoNormal>On slave cluster node :<o:p></o:p></p>

<pre># network interface settings<o:p></o:p></pre><pre>auto lo<o:p></o:p></pre><pre>iface lo inet loopback<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>iface eth0 inet manual<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>auto vmbr0<o:p></o:p></pre><pre>iface vmbr0 inet manual<o:p></o:p></pre><pre>    bridge_ports eth0.100<o:p></o:p></pre><pre>    bridge_stp off<o:p></o:p></pre><pre>    bridge_fd 0<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>auto vmbr1<o:p></o:p></pre><pre>iface vmbr1 inet static<o:p></o:p></pre><pre>    address  192.168.200.220<o:p></o:p></pre><pre>    netmask  255.255.255.0<o:p></o:p></pre><pre>    gateway  192.168.200.1<o:p></o:p></pre><pre>    bridge_ports eth0<o:p></o:p></pre><pre>    bridge_stp off<o:p></o:p></pre><pre>    bridge_fd 0<o:p></o:p></pre>

<p class=MsoNormal><br>
Dietmar Maurer a écrit : <o:p></o:p></p>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>This error is certainly due to the fact that vmbr0 does not have any<o:p></o:p></pre><pre>defined gateway : as stated in Cluster.pm line 182, $localip is defined<o:p></o:p></pre><pre>like this :<o:p></o:p></pre><pre>    my $localip = $ifaces->{vmbr0}->{address} || $ifaces->{eth0}-<o:p></o:p></pre><pre>    <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>{address};<o:p></o:p></pre><pre>      <o:p></o:p></pre></blockquote>

</blockquote>

<pre><o:p> </o:p></pre><pre>So what network config do you use now? (/etc/network/interfaces)<o:p></o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>  <o:p></o:p></pre>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</div>

</body>

</html>