클라이언트 구성
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Apple macOS (OS X)
- 시스템 환경설정을 엽니다.
- '날짜 및 시간' 패널을 선택합니다.
- 자물쇠를 클릭하여 변경합니다.
- 비밀번호를 입력합니다.
- '날짜 및 시간'을 선택합니다.
- 'Set date and time automatically(자동으로 날짜 및 시간 설정)' 옆의 상자에
time.google.com
를 입력합니다.
Cisco IOS 및 NX-OS
router# config t
Enter configuration commands, one per line. End with CNTL/Z.
router(config)# no ntp server
router(config)# ntp server time1.google.com
router(config)# ntp server time2.google.com
router(config)# ntp server time3.google.com
router(config)# ntp server time4.google.com
router(config)# copy running-config startup-config
Google Compute Engine
Compute Engine에서 Google 공개 NTP를 사용할 수 있지만 동일한 스미어를 사용하여 동일한 시간을 제공하는 비공개 클라우드 서버를 사용하면 성능이 더 향상됩니다. 이 안내를 따르세요.
Juniper Junos
NTP는 [edit system ntp]
계층 구조 수준에서 구성됩니다.
system {
ntp {
server time1.google.com;
server time2.google.com;
server time3.google.com;
server time4.google.com;
}
}
Linux
ntpd
또는 chrony
- 원하는 텍스트 편집기를 사용하여
/etc/ntp.conf
또는 /etc/chrony/chrony.conf
(사용 중인 서비스에 따라 다름)을 수정합니다.
server
로 시작하는 줄을 삭제하거나 주석 처리하여 머신이 스미어링된 서버와 스미어링되지 않은 서버를 혼합하지 않도록 합니다.
다음 줄을 추가합니다.
server time1.google.com iburst
server time2.google.com iburst
server time3.google.com iburst
server time4.google.com iburst
sudo service ntp reload
또는 sudo
service chrony force-reload
를 사용하여 NTP/chrony 데몬을 다시 시작합니다.
systemd-timesyncd
/etc/systemd/timesyncd.conf
수정
[Time]
블록의 콘텐츠를 다음과 같이 설정합니다.
[Time]
NTP=
FallbackNTP=time.google.com
NTP=
를 주석 처리하지 않고 빈 문자열에 할당하면 인터페이스별 할당을 포함한 NTP 서버 목록이 재설정됩니다. 이렇게 하면 스미어링된 시간 서버와 스미어링되지 않은 시간 서버 간에 실수로 이동하는 것을 방지할 수 있습니다.
Google 공개 NTP를 대체 서버로 구성하면 Google 공개 NTP가 유일한 NTP 서버로 선택됩니다.
적절한 권한이 있는 사용자로 systemctl restart
systemd-timesyncd.service
을 사용하여 systemd-timesyncd
을 다시 시작합니다.
시스템이 timedatectl
show-timesync | grep ServerName
를 사용하여 Google 공개 NTP를 사용하고 있는지 확인합니다. 성공적으로 구성되면 출력에 ServerName=time.google.com
가 표시됩니다.
Microsoft Windows
- 제어판을 엽니다.
- '날짜 및 시간' 아이콘을 클릭합니다.
- '인터넷 시간' 탭을 선택합니다. (PC가 도메인에 속한 경우 이 옵션을 사용할 수 없습니다. 이 경우 도메인 컨트롤러와 시간을 동기화합니다. Google 공개 NTP를 사용하도록 컨트롤러를 구성할 수 있습니다.)
- '설정 변경...' 버튼을 클릭합니다.
- '인터넷 시간 서버와 동기화' 체크박스를 선택합니다.
- '서버' 옆에
time.google.com
를 입력합니다.
Microsoft Windows Server
Microsoft 안내에 따라 레지스트리를 업데이트합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eThis guide provides instructions for configuring various operating systems and network devices to utilize Google Public NTP servers for time synchronization.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Public NTP offers improved performance compared to other NTP sources, especially within Google Compute Engine.\u003c/p\u003e\n"],["\u003cp\u003eThe configurations typically involve specifying \u003ccode\u003etime.google.com\u003c/code\u003e or a series of Google NTP server addresses (time1.google.com, time2.google.com, etc.) in your system's time settings or configuration files.\u003c/p\u003e\n"],["\u003cp\u003eDepending on your platform, you may need to restart specific services or daemons for the changes to take effect.\u003c/p\u003e\n"],["\u003cp\u003eFor domain-joined Windows PCs and Windows Servers, special considerations or registry modifications may be necessary.\u003c/p\u003e\n"]]],["To configure systems to use Google Public NTP, users must specify `time.google.com` as the NTP server in their system settings. On macOS, this involves adjusting the \"Date & Time\" panel. Cisco devices use commands such as `no ntp server` and `ntp server`. Linux requires editing configuration files like `/etc/ntp.conf` or `/etc/systemd/timesyncd.conf`, followed by service restarts. Windows involves adjusting the \"Internet Time\" settings, while Windows Server requires registry modifications. Juniper devices modify the ntp settings under the system configuration.\n"],null,["# Configuring Clients\n\nApple macOS (OS X)\n------------------\n\n1. Open System Preferences.\n2. Choose the \"Date \\& Time\" panel.\n3. Click the lock to make changes.\n4. Enter your password.\n5. Select \"Date \\& Time\".\n6. In the box next to \"Set date and time automatically\", enter `time.google.com`.\n\nCisco IOS and NX-OS\n-------------------\n\n router# config t\n Enter configuration commands, one per line. End with CNTL/Z.\n router(config)# no ntp server\n router(config)# ntp server time1.google.com\n router(config)# ntp server time2.google.com\n router(config)# ntp server time3.google.com\n router(config)# ntp server time4.google.com\n router(config)# copy running-config startup-config\n\nGoogle Compute Engine\n---------------------\n\nAlthough you can use Google Public NTP from Compute Engine, you will get better\nperformance from the private cloud servers, which serve the same time using the\nsame smear. Follow\n[these instructions](https://cloud.google.com/compute/docs/instances/configure-ntp).\n\nJuniper Junos\n-------------\n\nNTP is configured at the `[edit system ntp]` hierarchy level: \n\n system {\n ntp {\n server time1.google.com;\n server time2.google.com;\n server time3.google.com;\n server time4.google.com;\n }\n }\n\nLinux\n-----\n\n### `ntpd` or `chrony`\n\n1. Edit `/etc/ntp.conf` or `/etc/chrony/chrony.conf` (depending on the service you're using) using your favorite text editor.\n2. Remove or comment out any lines starting with `server`, to prevent your machine from trying to mix smeared and non-smeared servers.\n3. Add the lines:\n\n server time1.google.com iburst\n server time2.google.com iburst\n server time3.google.com iburst\n server time4.google.com iburst\n\n4. Restart the NTP/chrony daemon using `sudo service ntp reload` or `sudo\n service chrony force-reload`.\n\n### `systemd-timesyncd`\n\n1. Edit `/etc/systemd/timesyncd.conf`\n2. Set the content of the `[Time]` block to:\n\n [Time]\n NTP=\n FallbackNTP=time.google.com\n\n Leaving `NTP=` uncommented and assigned to an empty string resets the list\n of NTP servers, including any per-interface assignments. This prevents\n inadvertently moving between smeared and un-smeared time servers.\n Configuring Google Public NTP as the fallback server will cause it to be\n selected as the only NTP server.\n3. Restart `systemd-timesyncd` using `systemctl restart\n systemd-timesyncd.service` as a user with appropriate permissions\n\n4. Verify that your system is using Google Public NTP with `timedatectl\n show-timesync | grep ServerName`. If successfully configured, the output\n will show: `ServerName=time.google.com`\n\nMicrosoft Windows\n-----------------\n\n1. Open the Control Panel.\n2. Click the \"Date and Time\" icon.\n3. Choose the \"Internet Time\" tab. (This will not be available if your PC is part of a domain. In that case, it will synchronize time with the domain controller. You can configure the controller to use Google Public NTP.)\n4. Click the \"Change settings...\" button.\n5. Check the box \"Synchronize with an Internet time server\".\n6. Next to \"Server:\", enter `time.google.com`.\n\nMicrosoft Windows Server\n------------------------\n\nFollow [Microsoft's instructions](https://support.microsoft.com/en-us/kb/816042)\nto update your registry."]]