Re: [chrony-dev] Multihomed (multiple) network interfaces support !

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Which ports will be listened to, 123 ?
I mean by server from clients in ln/dmz ?



пн, 11 дек. 2023 г. в 17:26, Miroslav Lichvar <mlichvar@xxxxxxxxxx>:
On Mon, Dec 11, 2023 at 05:08:32PM +0300, CpServiceSPb wrote:
> Would you be so kind to post 2 config files for 2 different interfaces, for
> example:
> lan = 192.168.0.254/99
> dmz = 172.17.0.254/99

1st server instance:
server 127.0.0.1 port 11123 minpoll 0 maxpoll 0 copy
bindaddress 192.168.0.254
allow
cmdport 11323
bindcmdaddress /var/run/chrony/chronyd-server1.sock
pidfile /var/run/chronyd-server1.pid
driftfile /var/lib/chrony/drift-server1

2nd server instance:
server 127.0.0.1 port 11123 minpoll 0 maxpoll 0 copy
bindaddress 172.17.0.254
allow
cmdport 11324
bindcmdaddress /var/run/chrony/chronyd-server2.sock
pidfile /var/run/chronyd-server2.pid
driftfile /var/lib/chrony/drift-server2

client instance synchornizing clock and providing time to the server
instances:
pool pool.ntp.org iburst
allow 127.0.0.1
port 11123
driftfile /var/lib/chrony/drift
makestep 1 3
rtcsync

--
Miroslav Lichvar


--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/