Re: bonding + VLANs

Paul Robert Marino <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <CAPJdpdBVhVyW4-5HcwLKGLoQbXVGMyOZpQP8FV4oumK8RDQSMg@mail.gmail.com>
works well for me
The trick is you need to know the syntax for the ip command
Also the bond needs to be per-configured.
By know the syntax of the ip command I mean when adding an address for
a VIP you use the syntax as though you were running "ip addr add" and
or "ip addr del" just truncate the "ip addr <operation>"
 portion of the command, the same is also true for routes.
For interface (heartbeat interface) track_interface (the ones it
monitors the up and down mii states on which defaults to the value of
interface) bond<Number>.<VLAN number works fine> so for bond 0 vlan 5
it would be " bond0.5 "



On Tue, Feb 17, 2015 at 12:01 PM, Patrick Schaaf <[email protected]> wrote:
> On Tuesday 17 February 2015 17:06:56 Robert Sander wrote:
>>
>> it seems not to be possible to run keepalived on VLAN interfaces on top
>> of bond interfaces.
>
> Psssst. Don't let my balancers hear that. They work so well...
>
>> Is there a good explanation for this behaviour?
>
> I've been running such a setup for years now, both with bond-over-VLAN
> (active-backup ARP monitoring or MII), VLAN-over-bond (LACP bond), and macvtap
> based VMAC on top, in various combinations, and nowadays with all of these
> options active on the same balancers.
>
> You need to tell more about the issues you see and the setup you try. Kernel
> version, keepalived version, how bond and VLAN is set up, what failure you
> see.
>
> best regards
>   Patrick
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Keepalived-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/keepalived-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.