Need to know how can we add seconday ntp server

Hi

I would like to know how can we add seconday ntp server in below mention ntp client file.

Suppose my seconday ntp server name is sunntp2

root@host1 # cat /etc/inet/ntp.client
# ident "@(#)ntp.client 1.3     00/07/17 SMI"
#
# /etc/inet/ntp.client
#
# An example file that could be copied over to /etc/inet/ntp.conf; it
# provides a configuration for a host that passively waits for a server
# to provide NTP packets on the ntp multicast net.
#
multicastclient 224.0.1.1
driftfile /etc/ntp.drift
server sunntp1 prefer
# ident "@(#)ntp.client 1.3     00/07/17 SMI"
#
# /etc/inet/ntp.client
#
# An example file that could be copied over to /etc/inet/ntp.conf; it
# provides a configuration for a host that passively waits for a server
# to provide NTP packets on the ntp multicast net.
#
multicastclient 224.0.1.1
driftfile /etc/ntp.drift
server sunntp1 prefer
server nunntp2

Thanks DukeNuke2

Just want to confirm that above configuration will also work for, if I want sunntp1 should be my primary NTP server, if it goes down then only it will sync with sunntp2 server.

How does it work?

Thanks for the link DukeNuke2. It clear my other doubts.

But still didn't clear me doubt whether above configuration will also work for, if I want sunntp1 should be my primary NTP server, if it goes down then only it will sync with sunntp2 server.

As per my understanding " prefer " keyword means sunntp1 will be primary ntp server & sunntp2 will be seconday ntp server as prefer keywork is not there in front of it. Am I right?

All this is easily answered by using a search engine:

Configuration Options