2 mins read

Cara membuat topologi dan konfigurasi NTP (Network Time Protocol)

1. Buatlah topologi di Cisco Packet Tracer seperti dibawah ini dan hubungkan satu sama lain dengan kabel Automatically Choose Connection Type, untuk kabel penghubung Switch dan Router 1841 itu sebenarnya masih merah

2. Kemudian klik Server-PT 1.0.0.2 dan pergi ke menu desktop–>IP Configuration dan atur seperti ini:

  • IP Address: 1.0.0.2

  • Subnet Mask: 255.0.0.0

  • Default Gateway: 1.0.0.1

Lalu close Tab

3. Setelah itu klik Server-PT 1.0.0.3 dan pergi ke menu desktop–>IP Configuration dan atur seperti ini:

  • IP Address: 1.0.0.3

  • Subnet Mask: 255.0.0.0

  • Default Gateway: 1.0.0.1

Lalu close Tab

4. Kemudian klik Router 1841 NTP Server, pergi ke menu CLI dan lakukan perintah seperti ini:

 

Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host R1
R1(config)#int fa0/0
R1(config-if)#ip add 1.0.0.1 255.0.0.0
R1(config-if)#no shut

R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R1(config-if)#exit
R1(config)#exit
R1#


%SYS-5-CONFIG_I: Configured from console by console

R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.


R1(config)#ntp server 1.0.0.2
R1(config)#exit
R1#


%SYS-5-CONFIG_I: Configured from console by console

R1#show clock
*0:10:46.223 UTC Mon Mar 1 1993
R1#

5. Terlihat di langkah 4 tanggal,  bulan dan hari masih belum diatur, masih tertera  *0:10:46.223 UTC Mon Mar 1 1993, oleh karena itu kita coba mengatur NTP di Server-PT 1.0.0.2, dengan cara klik Server-PT 1.0.02–>menu Service–>dan klik NTP, lalu atur tanggalnya menjadi 6 december 2020 atau tanggal sekarang: 

Jangan lupa NTP di ON kan dan Authenticationnya di ON kan juga,

Lalu close Tab

6. Setelah itu kita klik Router lagi dan pergi ke menu CLI, lakukan perintah ini

R1#
R1#
R1#
R1#
R1#
R1#conf t


Enter configuration commands, one per line.  End with CNTL/Z.


R1(config)#ntp server 1.0.0.2
R1(config)#exit

R1#


%SYS-5-CONFIG_I: Configured from console by console

R1#
R1#
R1#
R1#
R1#
R1#show clock
*0:11:52.717 UTC Mon Mar 1 1993
R1#conf t


Enter configuration commands, one per line.  End with CNTL/Z.


R1(config)#ntp server 1.0.0.2
R1(config)#exit
R1#


%SYS-5-CONFIG_I: Configured from console by console

R1#
R1#
R1#show clock
*9:29:10.821 UTC Sun Dec 6 2020
R1#

Jika hasilnya sudah Dec 6 2020 tandanya sudah berhasil dan NTP sudah diganti

Tandanya kita sudah berhasil mengkonfigurasi NTP (Network Time Protocol)

Leave a Reply

Your email address will not be published. Required fields are marked *