Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2016 21:23:47 +0200
From:      Niklaas Baudet von Gersdorff <stdin@niklaas.eu>
To:        freebsd-net@freebsd.org, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Getting CARP to broadcast on a different interface
Message-ID:  <20160608192347.GE8540@box-hlm-03.niklaas.eu>
In-Reply-To: <20160608163033.GC8540@box-hlm-03.niklaas.eu>
References:  <SN1PR08MB1821CE60861ADDD84BA20CEEBA5E0@SN1PR08MB1821.namprd08.prod.outlook.com> <7a877e3c-9c77-c104-e47e-94c9d9389656@shrew.net> <20160608163033.GC8540@box-hlm-03.niklaas.eu>

next in thread | previous in thread | raw e-mail | index | archive | help

--dWYAkE0V1FpFQHQ3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
[...]
>=20
> Depending von $type, carpcontrol.sh could either
>=20
>     ifconfig vtnet0 <public-ip> alias
>=20
> or
>=20
>     ifconfig vtnet0 <public-ip> -alias

For that to work I must bind processes to non-local IP addresses. How do
I do that?

I found this

https://lists.freebsd.org/pipermail/freebsd-hackers/2011-January/034033.html

with some recommendations to do so with ipfw. Can I do something similar
with pf? Or is there even another solution for binding to non-local
addresses?

    Niklaas

--dWYAkE0V1FpFQHQ3
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXWHC8AAoJEG2fODeJrIU/s6wP/1u0no+xoMukUOlvk0eIbNIa
HXNxvOCGST3pz4Hy2nWXPibjF883oPgmnEMuDA5I18qXfJwOyW9/MzhgiHg/zi73
qp9kQpivxkDfUYuRJrHGM64TqqzJwCXJEDgSJvz/wZY2Dpwtk6uVWJbw/B3zgPSX
xQ1Y/Gtdd3Fl9qepDJ52pDmyhmRlf3gd/O4hyZlZd6uCfYJatTcxM3rcJSGW/yPe
LoLxuUxzP5A4Ylr8thcnR93ndeZpGzoTBRegVQEhSIZdrRy3dV5W9P/B4xHLKF3y
EdD6hJH3rEQ75rhZne0wASbWaA4m3hMbFTRv49o42kvwllikai5Ys8blcwTFXHib
FpB/0/LX65q07OiceJ/aYRVXla+F44DTHh8aUIZ4X+8l0l0cvJgWdlEyfPTq6idJ
fT4aOLix5P/SDJIRDeXb0ftS/RnR0ztj8Uppr2SU7PccuPvMi0+sYTZm5FtXJ1X+
gIYWMgwBueL+c8xHCK/g/XswGYvzQk9UvErmcEWctLXB7tGdWyckM+0PGnFOd6QK
qcJijq8Le5MfCoU8Jp7OnowL9VfWl48DNBvreARXQp+ea9jNK6kDHi3U0A/cwQ/6
bKlWYHcB0TuoytTSbM1wIC1kULttBC8Way81lq3wKPeq8UefLNtmN4fnBwj/5O4o
/hatjY5Zi+I3WE6K+at+
=52YN
-----END PGP SIGNATURE-----

--dWYAkE0V1FpFQHQ3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160608192347.GE8540>