Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Time sharing: The use of many people by the computer.


devel / comp.protocols.time.ntp / Re: [questions] Specify IP for outgoing sync

SubjectAuthor
* [questions] Specify IP for outgoing syncBlažej Krajňák
+* Re: [questions] Specify IP for outgoing syncWilliam Unruh
|`* Re: [questions] Specify IP for outgoing syncBlažej Krajňák
| `- Re: [questions] Specify IP for outgoing syncWilliam Unruh
`- Re: [questions] Specify IP for outgoing syncRoss Wilson

1
[questions] Specify IP for outgoing sync

<CAMEa=fn1f6BPhL2GJTwpDFiDvsTjm4B9hjKCq_PzR5+mPj7jFg@mail.gmail.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=442&group=comp.protocols.time.ntp#442

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.gal.iecc.com!not-for-mail
From: blazej.krajnak@gmail.com (Blažej Krajňák)
Newsgroups: comp.protocols.time.ntp
Subject: [questions] Specify IP for outgoing sync
Date: Thu, 29 Sep 2022 07:38:00 -0000 (UTC)
Organization: Taughannock Networks, Trumansburg NY
Message-ID: <CAMEa=fn1f6BPhL2GJTwpDFiDvsTjm4B9hjKCq_PzR5+mPj7jFg@mail.gmail.com>
Reply-To: questions@lists.ntp.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Date: Thu, 29 Sep 2022 07:38:00 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="gal.iecc.com:64.57.183.53";
logging-data="12498"; mail-complaints-to="abuse@iecc.com"
To: questions@lists.ntp.org
Return-Path: <questions+bounces-110-ntpquestions=iecc.com@lists.ntp.org>
Delivered-To: ntpquestions@iecc.com
Delivered-To: questions@lists.ntp.org
X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on gal.iecc.com
X-Spam-Status: No, score=-1.9 required=4.4 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.5
Authentication-Results: iecc.com; spf=pass spf.mailfrom=questions+bounces-110-ntpquestions=iecc.com@lists.ntp.org spf.helo=mail0.chi1.ntfo.org smtp.remote-ip="204.93.207.17"; dkim=fail (bad signature) header.d=gmail.com header.s=20210112 header.a=rsa-sha256 header.b="E3Dp9iE9"; dmarc=none header.from=gmail.com polrec.p=none polrec.pct=100
X-Original-To: questions@lists.ntp.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date; bh=9NCiVA0xYh/MWm5AwxiWQ8xoH5UVH+BpRn9/NtAOCgI=; b=E3Dp9iE979AFX/ydMr6Qxn1N1kC2PlJExf6Cx9lk70ytHQQCW7T1vVOkjDYVzbe/Tx XDZwQpFifDMPBbJzMpusrGqa+vXr1zBGvLe4cGehCmi+ozMaPaGTdUfLyyJYgX4zvqNp entIIp0JUyo9nbb6w/YRd3t2yyK/Y9A+oE4NwUb3UebHOdy0Z117wghES7zKEtMTVISy yIfGUvIVrQfxHWeOGFdSbrBcuDKp0sf0Cwl9dPW+Gu3lc9MMW4VSi4JhRAZBbStnV/
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=9NCiVA0xYh/MWm5AwxiWQ8xoH5UVH+BpRn9/NtAOCgI=; b=YrEququm4Umtqdya+JVltLyhPU4QfJrqDBsmQTlojxds5BBmRp0JsTXEH4iiJA5hi0 E+NDCA/6ZlJqLP5ja+q9AozloFVCKAqNZ6L9HhXnotx8h1TtyQYbHOULg6xq5XvpBBjR 6wi9nLgH8u1EV/DhzyxlUiT4wGSW4BeFetK25D6vlRgdc0sNDi0LAr9YFVWuI76Fz8rn NCpK3smhTngXF3cFdfsLf358BIDy6f1blL2f2n
X-Gm-Message-State: ACrzQf36w5C8nsUEIHB+olHN+MlL+bVk2VTxwaxQjV331ZDm9d4B+tip SCKoC3mKFgyFBpinfWudSa4+PTmMZGJal3BUv8ZGAT7PKSuv
X-Google-Smtp-Source: AMsMyM4raeEHpw/aEyff3NSuVGjJBYf99SWjdrUQVQDzFQ/jIMyNL+W3kNfPXZaErTXs8VtwPHStQpyMiGPSUCbU8Pk=
List-unsubscribe: mailto: questions+unsubscribe@lists.ntp.org
X-BeenThere: questions@lists.ntp.org
List-Id: questions.lists.ntp.org
Precedence: list
X-DCC-iecc-Metrics: gal.iecc.com 1107; Body=1 Fuz1=1 Fuz2=1
Mail-to-news: iecc.com
 by: Blažej Krajňák - Thu, 29 Sep 2022 07:38 UTC

Hi there,

I read the documentation a few times but can not find if it's possible
to specify IP address for outgoing connections?

I have server with multiple IP addresses and I need to specify the
concrete one to be used to sync with servers/peers. For now, ntpd
selects one of the listening interfaces (still the same one, but I can
not determine why this one).

Thanks,
Blažej
--
This is questions@lists.ntp.org
Subscribe: questions+subscribe@lists.ntp.org
Unsubscribe: questions+unsubscribe@lists.ntp.org

Re: [questions] Specify IP for outgoing sync

<20220929131659.906A21A106B@tunnel.physics.ubc.ca>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=444&group=comp.protocols.time.ntp#444

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: unruh@physics.ubc.ca (William Unruh)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Specify IP for outgoing sync
Date: Thu, 29 Sep 2022 13:18:00 -0000 (UTC)
Organization: Taughannock Networks, Trumansburg NY
Message-ID: <20220929131659.906A21A106B@tunnel.physics.ubc.ca>
References: <CAMEa=fn1f6BPhL2GJTwpDFiDvsTjm4B9hjKCq_PzR5+mPj7jFg@mail.gmail.com>
Reply-To: questions@lists.ntp.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 29 Sep 2022 13:18:00 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="1052"; mail-complaints-to="abuse@iecc.com"
User-Agent: slrn/1.0.3 (Linux)
To: questions@lists.ntp.org
Return-Path: <questions+bounces-112-ntpquestions=iecc.com@lists.ntp.org>
Delivered-To: ntpquestions@iecc.com
Delivered-To: questions@lists.ntp.org
X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on gal.iecc.com
X-Spam-Status: No, score=-2.6 required=4.4 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.5
Authentication-Results: iecc.com; spf=pass spf.mailfrom=questions+bounces-112-ntpquestions=iecc.com@lists.ntp.org spf.helo=mail0.chi1.ntfo.org smtp.remote-ip="204.93.207.17"; dmarc=none header.from=physics.ubc.ca polrec.p=none polrec.pct=100
X-Original-To: questions@lists.ntp.org
In-Reply-To: <CAMEa=fn1f6BPhL2GJTwpDFiDvsTjm4B9hjKCq_PzR5+mPj7jFg@mail.gmail.com>
List-unsubscribe: mailto: questions+unsubscribe@lists.ntp.org
X-BeenThere: questions@lists.ntp.org
List-Id: questions.lists.ntp.org
Precedence: list
X-DCC-iecc-Metrics: gal.iecc.com 1107; Body=1 Fuz1=1 Fuz2=1
Mail-to-news: iecc.com
 by: William Unruh - Thu, 29 Sep 2022 13:18 UTC

In comp.protocols.time.ntp, you wrote:
> Hi there,
>
> I read the documentation a few times but can not find if it's possible
> to specify IP address for outgoing connections?
>
> I have server with multiple IP addresses and I need to specify the
> concrete one to be used to sync with servers/peers. For now, ntpd
> selects one of the listening interfaces (still the same one, but I can
> not determine why this one).

Does not route -n
tell you which one? Remember it always used the most the specific
interface.
Ie, if you have say 0.0.0.0/0 and 128.0.0.0/8 on different interfaces,and your address of your
ntp server is 128.113.27.6 then it will use the second. If you have
128.113.27.0/24 on a third interface, it will use that third one. If
there are two of equal depth covering the interface, then it will use
the last on I believe.

Ie, with a specific set of routes, it should always pick the same
interface. The server uses the same address it received the query on, so
it will depend on the incoming routing of the response.
>
>
> Thanks,
> Blažej
> --
> This is questions@lists.ntp.org
> Subscribe: questions+subscribe@lists.ntp.org
> Unsubscribe: questions+unsubscribe@lists.ntp.org
>
>
>
--
This is questions@lists.ntp.org
Subscribe: questions+subscribe@lists.ntp.org
Unsubscribe: questions+unsubscribe@lists.ntp.org

Re: [questions] Specify IP for outgoing sync

<CAMEa=fkGnsHSYbKix3b4tQqd98L+ErP+Pa1MEVc9LUeL0AyNEQ@mail.gmail.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=445&group=comp.protocols.time.ntp#445

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: blazej.krajnak@gmail.com (Blažej Krajňák)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Specify IP for outgoing sync
Date: Thu, 29 Sep 2022 13:38:00 -0000 (UTC)
Organization: Taughannock Networks, Trumansburg NY
Message-ID: <CAMEa=fkGnsHSYbKix3b4tQqd98L+ErP+Pa1MEVc9LUeL0AyNEQ@mail.gmail.com>
References: <CAMEa=fn1f6BPhL2GJTwpDFiDvsTjm4B9hjKCq_PzR5+mPj7jFg@mail.gmail.com> <20220929131659.906A21A106B@tunnel.physics.ubc.ca>
Reply-To: questions@lists.ntp.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Date: Thu, 29 Sep 2022 13:38:00 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="6960"; mail-complaints-to="abuse@iecc.com"
Cc: questions@lists.ntp.org
Return-Path: <questions+bounces-113-ntpquestions=iecc.com@lists.ntp.org>
Delivered-To: ntpquestions@iecc.com
Delivered-To: questions@lists.ntp.org
X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on gal.iecc.com
X-Spam-Status: No, score=-0.9 required=4.4 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MISSING_HEADERS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.5
Authentication-Results: iecc.com; spf=pass spf.mailfrom=questions+bounces-113-ntpquestions=iecc.com@lists.ntp.org spf.helo=mail0.chi1.ntfo.org smtp.remote-ip="204.93.207.17"; dkim=fail (bad body hash) header.d=gmail.com header.s=20210112 header.a=rsa-sha256 header.b="Q6VJvtlb"; dmarc=none header.from=gmail.com polrec.p=none polrec.pct=100
X-Original-To: questions@lists.ntp.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=38MIhWJqeCxIHzq97YERV9pGz4tZZgskp8OmpGxff8I=; b=Q6VJvtlbZwTtSBac56kNsaXdtisY3VIEdBfG5qOiI/yR6VQkkIvmG6dTgqVFySfBp/ d7tYG6y4EyuH0I+nEmHSY3mzONWFJrNcSHVU1oZZPxGGaqxYT0MIUHmwFSXEZnzYFBIN FBuRIQBde3ho0UEa79uHXrviwQ2aw/qCEcqcus9LBgoWwtduo3OUTuDvSheMv3/e887z OrImY+weWJ5oYu/MXLn9WESGz+K3U/5B+E4yHgESgZU
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=38MIhWJqeCxIHzq97YERV9pGz4tZZgskp8OmpGxff8I=; b=ukibZeJP8ZbWJVEXVqfvuslZojLeuuJWJ5CAp4Hb8KhBaTNfmOipMzUp2E3KntBo0g caEKoZkz3LS3oparD5AocIcgtQrIzsCpnnLzlyQqOXkjzH8yeT6FAsmgZGG7eEFfyz0O 9/gatxns2S4dZYWBupEQQkkfDTr8CltdCOnuwFnumuOutDpKE8dG3PNoWblqY7ASjWzF 2BjLLVR3cQSIGb
X-Gm-Message-State: ACrzQf2XvWyFna5Y1d9p8j9oRk9LS3Mi9iSo6cg57Oc5tuXkSW36JUL6 GFJOPOrwpJaq+Pe820dciwnupoMAIG5+wbdvYWm+KDjvntYZ
X-Google-Smtp-Source: AMsMyM7AaR1sVJRzNPWqm5E5yoIE8e67wsFeRTrDTsJ1/8kOHBW6t4m+74cpahyqxkFjCH1JWHVGWBQQVWCmOC4YEFM=
List-unsubscribe: mailto: questions+unsubscribe@lists.ntp.org
X-BeenThere: questions@lists.ntp.org
List-Id: questions.lists.ntp.org
Precedence: list
In-Reply-To: <20220929131659.906A21A106B@tunnel.physics.ubc.ca>
X-DCC-iecc-Metrics: gal.iecc.com 1107; Body=1 Fuz1=1 Fuz2=1
Mail-to-news: iecc.com
 by: Blažej Krajňák - Thu, 29 Sep 2022 13:38 UTC

Well, my server has dummy interface and multiple /32 IP addresses.
They are announced via OSPF to IGP.

The idea is to anycast 2 IPs (HA solution) and when primary server
goes down, secondary will response to primary's IP address also.

Primary server has the following config:
interface ignore wildcard
interface listen 172.20.1.3
interface listen 172.20.2.3
interface listen 172.20.1.19

+ FRR: ip ospf cost 700 172.20.2.3

Secondary:
interface ignore wildcard
interface listen 172.20.1.3
interface listen 172.20.2.3
interface listen 172.20.2.19

+ FRR: ip ospf cost 700 172.20.1.3

The IPs 172.20.1.3 and 172.20.2.3 are "floating IPs". And I need from
ntpd to make outgoing connections from 172.20.1.19 and 172.20.2.19
respectively.

I did tests and now, ntpd is selecting "172.20.2.3" for outgoing
"connections" from primary server. And it fails, because 172.20.2.3 is
routed to secondary (server will never get the response).

št 29. 9. 2022 o 15:18 William Unruh <unruh@physics.ubc.ca> napísal(a):
>
> In comp.protocols.time.ntp, you wrote:
> > Hi there,
> >
> > I read the documentation a few times but can not find if it's possible
> > to specify IP address for outgoing connections?
> >
> > I have server with multiple IP addresses and I need to specify the
> > concrete one to be used to sync with servers/peers. For now, ntpd
> > selects one of the listening interfaces (still the same one, but I can
> > not determine why this one).
>
> Does not route -n
> tell you which one? Remember it always used the most the specific
> interface.
> Ie, if you have say 0.0.0.0/0 and 128.0.0.0/8 on different interfaces,and your address of your
> ntp server is 128.113.27.6 then it will use the second. If you have
> 128.113.27.0/24 on a third interface, it will use that third one. If
> there are two of equal depth covering the interface, then it will use
> the last on I believe.
>
> Ie, with a specific set of routes, it should always pick the same
> interface. The server uses the same address it received the query on, so
> it will depend on the incoming routing of the response.
> >
> >
> > Thanks,
> > Blažej
> > --
> > This is questions@lists.ntp.org
> > Subscribe: questions+subscribe@lists.ntp.org
> > Unsubscribe: questions+unsubscribe@lists.ntp.org
> >
> >
> >
> --
> This is questions@lists.ntp.org
> Subscribe: questions+subscribe@lists.ntp.org
> Unsubscribe: questions+unsubscribe@lists.ntp.org
>
>
>
--
This is questions@lists.ntp.org
Subscribe: questions+subscribe@lists.ntp.org
Unsubscribe: questions+unsubscribe@lists.ntp.org

Re: [questions] Specify IP for outgoing sync

<th4s5f$nvpb$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=446&group=comp.protocols.time.ntp#446

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Specify IP for outgoing sync
Date: Thu, 29 Sep 2022 19:37:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 92
Message-ID: <th4s5f$nvpb$1@dont-email.me>
References: <CAMEa=fn1f6BPhL2GJTwpDFiDvsTjm4B9hjKCq_PzR5+mPj7jFg@mail.gmail.com>
<20220929131659.906A21A106B@tunnel.physics.ubc.ca>
<CAMEa=fkGnsHSYbKix3b4tQqd98L+ErP+Pa1MEVc9LUeL0AyNEQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 29 Sep 2022 19:37:19 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="7fe8af96bbd8636121d2b48884db4537";
logging-data="786219"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bBvv183DtuXM8fFiLwb03"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:YAe11TIg5jxwKa/8isIGY/wvRgA=
 by: William Unruh - Thu, 29 Sep 2022 19:37 UTC

On 2022-09-29, Blažej Krajňák <blazej.krajnak@gmail.com> wrote:
> Well, my server has dummy interface and multiple /32 IP addresses.
> They are announced via OSPF to IGP.
>
> The idea is to anycast 2 IPs (HA solution) and when primary server
> goes down, secondary will response to primary's IP address also.
>
> Primary server has the following config:
> interface ignore wildcard
> interface listen 172.20.1.3
> interface listen 172.20.2.3
> interface listen 172.20.1.19
>
> + FRR: ip ospf cost 700 172.20.2.3
>
> Secondary:
> interface ignore wildcard
> interface listen 172.20.1.3
> interface listen 172.20.2.3
> interface listen 172.20.2.19
>
> + FRR: ip ospf cost 700 172.20.1.3
>
> The IPs 172.20.1.3 and 172.20.2.3 are "floating IPs". And I need from
> ntpd to make outgoing connections from 172.20.1.19 and 172.20.2.19
> respectively.
>
> I did tests and now, ntpd is selecting "172.20.2.3" for outgoing
> "connections" from primary server. And it fails, because 172.20.2.3 is
> routed to secondary (server will never get the response).

It would probably also help if you told us which operating system you
are using.

It sounds like you have both interfaces linked to 0.0.0.0, in which case
it is the second one ( the latest one) that will be used as the one for
sending out the ntp packets. As you notice, the incoming packets and the
outgoing ones need to use the same IP.
I have no idea what a "floating IP" is, And I have no idea what
" I need from
ntpd to make outgoing connections from 172.20.1.19 and 172.20.2.19
respectively.
"
means. And ntpd outgoing connection goes out one interface and has one
IP addresses as its source address. And it chooses which IP to use
deterministically.

>
> št 29. 9. 2022 o 15:18 William Unruh <unruh@physics.ubc.ca> napísal(a):
>>
>> In comp.protocols.time.ntp, you wrote:
>> > Hi there,
>> >
>> > I read the documentation a few times but can not find if it's possible
>> > to specify IP address for outgoing connections?
>> >
>> > I have server with multiple IP addresses and I need to specify the
>> > concrete one to be used to sync with servers/peers. For now, ntpd
>> > selects one of the listening interfaces (still the same one, but I can
>> > not determine why this one).
>>
>> Does not route -n
>> tell you which one? Remember it always used the most the specific
>> interface.
>> Ie, if you have say 0.0.0.0/0 and 128.0.0.0/8 on different interfaces,and your address of your
>> ntp server is 128.113.27.6 then it will use the second. If you have
>> 128.113.27.0/24 on a third interface, it will use that third one. If
>> there are two of equal depth covering the interface, then it will use
>> the last on I believe.
>>
>> Ie, with a specific set of routes, it should always pick the same
>> interface. The server uses the same address it received the query on, so
>> it will depend on the incoming routing of the response.
>> >
>> >
>> > Thanks,
>> > Blažej
>> > --
>> > This is questions@lists.ntp.org
>> > Subscribe: questions+subscribe@lists.ntp.org
>> > Unsubscribe: questions+unsubscribe@lists.ntp.org
>> >
>> >
>> >
>> --
>> This is questions@lists.ntp.org
>> Subscribe: questions+subscribe@lists.ntp.org
>> Unsubscribe: questions+unsubscribe@lists.ntp.org
>>
>>
>>

Re: [questions] Specify IP for outgoing sync

<5be439c5-364d-9a19-a65f-629bcc9b894e@yahoo.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=448&group=comp.protocols.time.ntp#448

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.gal.iecc.com!not-for-mail
From: rjwilson01@yahoo.com (Ross Wilson)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Specify IP for outgoing sync
Date: Sun, 2 Oct 2022 10:43:00 -0000 (UTC)
Organization: Taughannock Networks, Trumansburg NY
Message-ID: <5be439c5-364d-9a19-a65f-629bcc9b894e@yahoo.com>
References: <CAMEa=fn1f6BPhL2GJTwpDFiDvsTjm4B9hjKCq_PzR5+mPj7jFg@mail.gmail.com>
Reply-To: questions@lists.ntp.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 2 Oct 2022 10:43:00 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="gal.iecc.com:64.57.183.53";
logging-data="22193"; mail-complaints-to="abuse@iecc.com"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv: 91.0) Gecko/20100101 Thunderbird/91.13.1
To: questions@lists.ntp.org
Return-Path: <questions+bounces-115-ntpquestions=iecc.com@lists.ntp.org>
Delivered-To: ntpquestions@iecc.com
Delivered-To: questions@lists.ntp.org
X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on gal.iecc.com
X-Spam-Status: No, score=-2.0 required=4.4 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, FROM_YAHOO,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.5
Authentication-Results: iecc.com; spf=pass spf.mailfrom=questions+bounces-115-ntpquestions=iecc.com@lists.ntp.org spf.helo=mail0.chi1.ntfo.org smtp.remote-ip="204.93.207.17"; dkim=fail (bad signature) header.d=yahoo.com header.s=s2048 header.a=rsa-sha256 header.b="P8nX8qzf"; dmarc=fail header.from=yahoo.com polrec.p=reject polrec.pct=100
X-Original-To: questions@lists.ntp.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664685672; bh=qHNqCtRu6uD/sZHKp82x1AIWMB/XN4C5Q/60zorLqeQ=; h=Date: Subject:To:References:From:In-Reply-To:From:Subject:Reply-To; b=P8nX8qzfwMIl7gzIzHa19hquvwX/JERE7WjT0Ey/qNcKSFvslCD8h87kM/Vn3/s3fMXwOGifqiAevfoEqyMDCuUhO5lYHm83Bouc0Y3jqwt0+vZiXIo6C0+4l0KQCGnjXTvSxjrTOUAEIRQr+6vVHbHCsmEZ0h7Rik3LacapYsydF6uZsAzjhCgD98/I2pJoZyq/+jXY2zdOCWPS/LnaNqkECDIxo81XK1eiD7odghXBH0vxLvTYYyhJS7ZGs7ROK8GVAM20ZKLtk00ve+me8lQWyWlDd9TZM
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664685672; bh=bgtOm87kyhrEii353gestEL8CffQQ+gyD1MMxXrh4iI=; h=X-Sonic-MF: Date:Subject:To:From:From:Subject; b=eUrDcI7dvlzV6tR3logUhnkun12KtdOa+Tfr6F8BHb0SPe8bgl3BkZPa+Ss9JKwRXwHo2OwcasSJ7XZuHCyhLIU3WHC501tkNoAOzb61Kp362bJk21FSJSOnrEQjeby8wgmphbP2elacSy749rmSXfN7wC5304nJEVMQ8UYZZkU8z2c67XyzV9hPzXJo0aH1Y0fpFGz/9SxUt7h4iyQsdb+/Urai6dM3OwcvOYIqXmfBVyiY6jnDDu+zqzXAj8bZzTaSzU4MDMg34WY/sv8n0RJ79OGuIDMWECVa/YmUILjJ21+zmWp
X-YMail-OSG: OiWKYlkVM1kn9u.cHHXWLiyyUlFVhGZ30pIppwxRot48cgEacfaszSGKxEbXZdj eNPBj9HC.0XTif5pch655hjrWYiju.lZ7eK7jJPhCxlsuJdq4iUdbR0mIYPzTnrWwFnZBWuKnxeh 7nLmPfmK7G73kGGRs5p6LVJd5sNhf0LR5hfIoe0S1s.k2ylGjLRaDl.Nk6OmCr2QmLJF2UPUOLPw TVOIlYcLB27wIwduzPyp4DgW5.ZRKnjY0QKXizJYCy2EAgMc3gkgnDbk4oJqoeEYdA9DeMRJ_3ql I7RyfO7jWDsmIYXtBqO9hLgP8BmwTA14KEFiXsyBgq4E0J4hlALgBPv8jHQSEFAOHOgyN5mnMbg. tYA_UYPMgOqbm2AhXhUR8NIsdXmpsYCL8Kto4phGDgd2QwyUt0jbXEFMYoW8OtGXxD.eRPr4gzgG X._ekePgUa4VsYO5T3E1cmIsq6xDoyFKdpOM8n
X-Sonic-MF: <rjwilson01@yahoo.com>
List-unsubscribe: mailto: questions+unsubscribe@lists.ntp.org
X-BeenThere: questions@lists.ntp.org
List-Id: questions.lists.ntp.org
Precedence: list
Content-Language: en-US
In-Reply-To: <CAMEa=fn1f6BPhL2GJTwpDFiDvsTjm4B9hjKCq_PzR5+mPj7jFg@mail.gmail.com>
X-DCC-iecc-Metrics: gal.iecc.com 1107; Body=1 Fuz1=1 Fuz2=1
Mail-to-news: iecc.com
 by: Ross Wilson - Sun, 2 Oct 2022 10:43 UTC

I would of expected the routing table to be used to determine which
interface IP address interface  to use to send to the specified NTP
server address so its not really a NTP server setup

Ross Wilson

On 29/09/2022 5:33 pm, Blažej Krajňák wrote:
> Hi there,
>
> I read the documentation a few times but can not find if it's possible
> to specify IP address for outgoing connections?
>
> I have server with multiple IP addresses and I need to specify the
> concrete one to be used to sync with servers/peers. For now, ntpd
> selects one of the listening interfaces (still the same one, but I can
> not determine why this one).
>
>
> Thanks,
> Blažej
--
This is questions@lists.ntp.org
Subscribe: questions+subscribe@lists.ntp.org
Unsubscribe: questions+unsubscribe@lists.ntp.org

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor