Re: Getting CARP to broadcast on a different interface

2016-06-09 Thread Niklaas Baudet von Gersdorff
I can't believe it but I managed to do this: Niklaas Baudet von Gersdorff [2016-06-08 18:30 +0200] : > Then, I could use devd to assign the public failover IP (that I actually > wanted to share with CARP on vtnet0) to the public interface vtnet0. > CARP(4) provides an example on how to use carp s

Re: Getting CARP to broadcast on a different interface

2016-06-08 Thread Niklaas Baudet von Gersdorff
Niklaas Baudet von Gersdorff [2016-06-08 18:30 +0200] : > Then, I could use devd to assign the public failover IP (that I actually > wanted to share with CARP on vtnet0) to the public interface vtnet0. > CARP(4) provides an example on how to use carp status change events for > additional scripting

Re: Getting CARP to broadcast on a different interface

2016-06-08 Thread Niklaas Baudet von Gersdorff
Matthew Grooms [2016-06-08 11:02 -0500] : > Rewriting the multicast destination would be a neat trick, but sadly no. > You can't rewrite a destination address on egress. Using a route-to rule > would only modify the destination MAC address. If you were using > OpenBSD, you would switch from mul

Re: Getting CARP to broadcast on a different interface

2016-06-08 Thread Matthew Grooms
On 6/8/2016 10:15 AM, David DeSimone wrote: One of the purposes of the CARP announcements is to announce the location of the virtual mac address to the upstream switch fabric. Since CARP uses a virtual mac that floats between multiple ports, you need to have the CARP master continually assert tha

Re: Getting CARP to broadcast on a different interface

2016-06-08 Thread Matthew Grooms
Hi Niklaas, Rewriting the multicast destination would be a neat trick, but sadly no. You can't rewrite a destination address on egress. Using a route-to rule would only modify the destination MAC address. If you were using OpenBSD, you would switch from multicast to unicast using the syncpeer

RE: Getting CARP to broadcast on a different interface

2016-06-08 Thread David DeSimone
freebsd.org] On Behalf Of Niklaas Baudet von Gersdorff Sent: Wednesday, June 08, 2016 7:43 AM To: freebsd-questi...@freebsd.org; freebsd-net@freebsd.org Subject: Getting CARP to broadcast on a different interface Hello, is it possible to configure CARP in such a way that it sends its broadcasts

Re: Getting CARP to broadcast on a different interface

2016-06-08 Thread Niklaas Baudet von Gersdorff
Trond Endrestøl [2016-06-08 15:53 +0200] : > Although it sounds pretty bad, you could set up CARP on the internal > network and use those CARP events to control the main interfaces, e.g. > re-adjust their annoncement intervals, or something equally awful. Thanks, Trond. As you said, not that it

Re: Getting CARP to broadcast on a different interface

2016-06-08 Thread Trond Endrestøl
On Wed, 8 Jun 2016 14:43+0200, Niklaas Baudet von Gersdorff wrote: > Hello, > > is it possible to configure CARP in such a way that it sends its > broadcasts on an interface different from the one that gets the shared > IP address assigned? Unfortunately, my provider blocks broadcast and > multic

Getting CARP to broadcast on a different interface

2016-06-08 Thread Niklaas Baudet von Gersdorff
Hello, is it possible to configure CARP in such a way that it sends its broadcasts on an interface different from the one that gets the shared IP address assigned? Unfortunately, my provider blocks broadcast and multicast on public interfaces of virtual machines. However, they offer to set up an