Professional Documents
Culture Documents
NTPv4
NTPv4
NTPv4
Search …
Lesson Contents
Unit 1: Switching
1. Con guration Unit 2: Routing
1.1. Clients Unit 3: Wireless
1.1.1. Unicast Unit 4: Multicast
1.1.2. Multicast
Unit 5: Network Architecture
2. Veri cation
Unit 6: Services
3. Conclusion
6.1 NTP
Unit 8: Security
When using NTP for IPv4, broadcast is a popular option as it allows you to send NTP
Unit 9: Automation
packets in the broadcast domain to everyone. We can’t do this with IPv6, but NTPv4 does
Unit 10: Virtualization
support site-local multicast.
Unit 11: Practice Exam
DNS support is also improved. With NTPv3, if you con gure a hostname to sync with,
your device does a lookup for the hostname and stores the IP address in the
con guration, the hostname is then lost. With NTPv4, the hostname is stored in the
con guration.
In this lesson, I’ll show you how to con gure NTPv4 with a unicast and multicast client.
1. Configuration
This is the topology we’ll use:
https://networklessons.com/cisco/ccnp-encor-350-401/ntpv4 1/5
9/8/2020 NTPv4
To help speed things up, let’s set the same time and date on all routers before we
con gure NTP:
R1, R2 & R3
#clock set 10:37:00 2 July 2018
I will con gure R1 as an NTP master so that I don’t need an external server:
R1(config)#ntp master 1
1.1. Clients
Let’s con gure our clients. R2 will be an NTP unicast client and for R3 we will use
multicast.
1.1.1. Unicast
We can con gure the IPv6 address of R1 but instead, we’ll use a hostname to test if R2
stores the hostname in its con guration. I’ll create a manual host record for this:
Now we con gure R1 as the NTP server. The version 4 parameter sets the correct
version:
1.1.2. Multicast
To make multicast work, we need to con gure R1 to send NTP multicast packet and R3 to
receive them.
FF05::101
Let’s con gure R1 to send NTP multicast packets with this address:
2. Verification
Let’s verify our work. R1 is synchronized:
https://networklessons.com/cisco/ccnp-encor-350-401/ntpv4 2/5
9/8/2020 NTPv4
R1 has a stratum of 1 because that’s how I con gured it as a master. Let’s check R2:
R2 is synchronized. So is R3:
All our clocks are synchronized. Let’s take a closer look at the NTP associations:
Above, we see that R1 uses its own address to synchronize with. Here’s R2:
R2 uses the IPV6 address of R1 as its NTP server. If you look in the running con guration,
you will see the hostname:
Here is R3:
https://networklessons.com/cisco/ccnp-encor-350-401/ntpv4 3/5
9/8/2020 NTPv4
R3 doesn’t show the ~ symbol since it receives the NTP packets through multicast. It does
show the IPv6 address of R1 though.
Con gurations
Want to take a look for yourself? Here you will nd the nal con guration of each device.
R1
hostname R1
!
ipv6 cef
!
interface FastEthernet0/0
ipv6 address 2001:DB8:0:12::1/64
!
interface FastEthernet0/1
ipv6 address 2001:DB8:0:13::1/64
ntp multicast FF05::101
!
ntp master 1
!
end
R2
hostname R2
!
ip host R1 2001:DB8:0:12::1
ipv6 cef
!
interface FastEthernet0/0
ipv6 address 2001:DB8:0:12::2/64
!
ntp server R1
!
end
R3
hostname R3
!
ipv6 cef
!
interface FastEthernet0/0
ipv6 address 2001:DB8:0:13::3/64
ntp multicast client FF05::101
!
end
3. Conclusion
You have now learned how to con gure NTPv4 using IPv6 unicast and multicast.
https://networklessons.com/cisco/ccnp-encor-350-401/ntpv4 4/5
9/8/2020 NTPv4
If you want to learn more details about NTPv4, take a look at RFC5905.
I hope you enjoyed this lesson. If you have any questions feel free to leave a comment!
« Previous Lesson
Network Time Protocol (NTP)
Next Lesson
Troubleshooting NTP »
Tags: NTP
Forum Replies
arindom.nag
Great job Rene…thanks for add this topic in our lesson we will enjoy with this…
wellerk.scott
Cant wait to dive into this lesson once I put my daughter to bed tonight!
arindom.nag
Hi Scott,
Sorry didn’t reply you last day i went to bed at same time Hope you are doing good…
https://networklessons.com/cisco/ccnp-encor-350-401/ntpv4 5/5