No, that's not correct. Many applications are perfectly capable of
specifying which outgoing IP to use. I just finished helping a user do
it with openssh. I was expecting to find an option to tell syncrepl
which outgoing IP to use. That's a fairly normal way applications
accomplish this task.
On Fri, Apr 24, 2020 at 11:59 AM Jon C Kidder <jckidder(a)aep.com> wrote:
This is outside the scope pf OpenLDAP. The OS will always choose the default route for
newly established outbound network connections. You would achieve your desired behavior
by overriding the default route with a static route added to the routing table in the host
OS. Note: this would impact all network traffic destined for a specific IP and not just
syncrepl traffic.
JON C KIDDER | IT ENTERPRISE ARCHITECT
JCKIDDER(a)AEP.COM | D:614.716.4970 | C:614.580.7302
1 RIVERSIDE PLAZA, COLUMBUS, OH 43215
-----Original Message-----
From: Dale Thompson - NOAA Federal <dale.j.thompson(a)noaa.gov>
Sent: Friday, April 24, 2020 10:50 AM
To: openldap-technical(a)openldap.org
Subject: [EXTERNAL] Specific outgoing IP for syncrepl
This is an EXTERNAL email. STOP. THINK before you CLICK links or OPEN attachments. If
suspicious please click the 'Report to Incidents' button in Outlook or forward to
incidents(a)aep.com from a mobile device.
I've been using openldap's multi-master syncrepl based sync for years and it
works great. But, I would like to be able to specify which IP on a multi-IP system
syncrepl makes outgoing connections to other members of the sync cluster.
On my multi-IP servers I am able to get slapd to only bind to a specific IP with the
appropriate -h option. That works fine. But, outgoing syncrepl connections come from the
primary IP on the server.
Can anyone suggest a way to specify which IP syncrepl will use to make outgoing
replication queries?
--
Dale James Thompson, NWS
Radar Operations Center
IT Specialist, Configuration Management Team
1313 Halley Circle
Norman, OK 73069
Voice (405) 573-3472
Fax (405) 573-3480
Dale.J.Thompson(a)noaa.gov
--
Dale James Thompson, NWS
Radar Operations Center
IT Specialist, Configuration Management Team
1313 Halley Circle
Norman, OK 73069
Voice (405) 573-3472
Fax (405) 573-3480
Dale.J.Thompson(a)noaa.gov