Code:
[root@FreeBSD-center /etc]# more /etc/ntp.conf
driftfile /var/db/ntpd.drift
statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
server a.st1.ntp.br iburst
server b.st1.ntp.br iburst
server c.st1.ntp.br iburst
server d.st1.ntp.br iburst
server gps.ntp.br iburst
server a.ntp.br iburst
server b.ntp.br iburst
server c.ntp.br iburst
#server ntp.br iburst
server pool.ntp.org
#server 192.168.1.150
server 127.127.1.0
fudge 127.127.1.0 stratum 13
restrict default kod notrap nomodify nopeer
restrict -6 default kod notrap nomodify nopeer
#restrict default kod notrap nomodify nopeer noquery
#restrict 127.0.0.1 nomodify
broadcast 192.168.255.255
disable auth
broadcastclient
Code:
[root@FreeBSD-center /etc]# cat /etc/rc.conf
# -- sysinstall generated deltas -- # Thu Mar 3 11:58:50 2011
# Created: Thu Mar 3 11:58:50 2011
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="FreeBSD-center"
ifconfig_em0="DHCP"
ifconfig_em1="192.168.2.1"
ifconfig_em2="192.168.3.1"
ifconfig_em3="192.168.4.1"
keymap="us.pc-ctrl"
hald_enable="YES"
dbus_enable="YES"
usbd_enable="YES"
ntpd_enable="YES"
ntpd_config="/etc/ntp.conf"
dhcpd_enable="YES"
dhcpd_ifaces="em1 em2 em3"
sshd_enable="YES"
squid_enable="YES"
# IPFW
#firewall_enable="YES"
#firewall_type="open"
#firewall_logging="YES"
# PF
pf_enable="YES"
pf_rules="/etc/pf.conf"
pflog_enable="YES"
pflog_logfile="/var/log/pflog"
gateway_enable="YES"
# -- sysinstall generated deltas -- # Wed Mar 9 22:32:33 2011
moused_enable="YES"
The server time is not synchronized. The clients are not synchronizing.