Hi Patrice,<div><br></div><div>I'll just mention that I've gone through a similar exercise recently and setup pretty much the same network config you have outlined.</div><div><br></div><div>The main thing to be aware of is that you can't use 802.3ad and link aggregation unless the switches are stacked (e.g. using whatever proprietary cisco/hp/etc tech) so that they are one logical switch.</div>


<div><br></div><div>You can still using the linux active-backup bonding, however, which is what it sounds like you actually want.</div><div><br></div><div>In Ubuntu, here's one of my server config examples:</div><div>


<br></div><div><div>auto eth0</div><div>iface eth0 inet manual</div><div>bond-master bond0</div><div>bond-primary eth0 eth1</div><div><br></div><div>auto eth1</div><div>iface eth1 inet manual</div><div>bond-master bond0</div>


<div>bond-primary eth0 eth1</div><div><br></div><div>auto bond0</div><div>iface bond0 inet static</div><div>address 192.168.40.6</div><div>netmask 255.255.255.0</div><div>gateway 192.168.40.254</div><div>bond-mode active-backup</div>


<div>bond-miimon 100</div><div>bond-slaves none</div></div><div><br></div><div>Cheers,</div><div>Andrew<br>
<br>
<br><br><div class="gmail_quote">On Mon, Jun 18, 2012 at 7:07 PM, Patrice Levesque <span dir="ltr"><<a href="mailto:pve.wayne@ptaff.ca" target="_blank">pve.wayne@ptaff.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
Hi,<br>
<br>
just started using Proxmox and I'm impressed.  There's a network setup<br>
though I'm not sure how to do.<br>
<br>
But let me first show you my fine ASCII artistic talents.<br>
<br>
<br>
        +----------------------------------------+   +----------+<br>
        |                                        |   |          |<br>
        |                Switch 1                *---* Router 1 |<br>
        |                                        |   |          |<br>
        +---*--*-----------*--*-----------*--*---+   +----------+<br>
            |  |           |  |           |  |<br>
            |  |           |  |           |  |<br>
            |  |           |  |           |  |<br>
        +---*--*---+   +---*--*---+   +---*--*---+<br>
        |          |   |          |   |          |<br>
        | Server 1 |   | Server 2 |   | Server 3 |<br>
        |          |   |          |   |          |<br>
        +---*--*---+   +---*--*---+   +---*--*---+<br>
            |  |           |  |           |  |<br>
            |  |           |  |           |  |<br>
            |  |           |  |           |  |<br>
        +---*--*-----------*--*-----------*--*---+   +----------+<br>
        |                                        |   |          |<br>
        |                Switch 2                *---* Router 2 |<br>
        |                                        |   |          |<br>
        +----------------------------------------+   +----------+<br>
<br>
<br>
I want to use link aggregation (switches are Cisco 2960G if you need to<br>
know), so no problem, I can bind two interfaces together via bonding<br>
rules in /etc/network/interfaces and 802.3ad mode.<br>
<br>
Now I'd like the Switch 2 to become a fail-over (the switches are *not*<br>
stacked), and hence I'd like to use only one switch at a time.  My first<br>
idea was to meta-bond the two bonding interfaces in active-backup mode,<br>
but layering the bonding driver appears to be a bad idea according to<br>
what I read here :<br>
<a href="http://sourceforge.net/projects/bonding/forums/forum/77912/topic/2593462?message=5691669" target="_blank">http://sourceforge.net/projects/bonding/forums/forum/77912/topic/2593462?message=5691669</a><br>
<br>
The above link refers to bonding option ad_select={1,2} (I guess), but<br>
I'm quite unsure if it'll fulfill my need and if so, how to put all of<br>
this together in /etc/network/interfaces.<br>
<br>
Has anybody done a similar setup / has experience with multiple switches<br>
to share?<br>
<br>
<br>
Thanks,<br>
<span><font color="#888888"><br>
<br>
<br>
--<br>
 --====|====--<br>
    --------================|================--------<br>
        Patrice Levesque<br>
         <a href="http://ptaff.ca/" target="_blank">http://ptaff.ca/</a><br>
        <a href="mailto:pve.wayne@ptaff.ca" target="_blank">pve.wayne@ptaff.ca</a><br>
    --------================|================--------<br>
 --====|====--<br>
--<br>
</font></span><br>_______________________________________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
<br></blockquote></div><br></div>