Kamis, 26 September 2024

Configure DHCPv6

 

 

Pengertian Configure DHCPv6

Konfigurasi DHCPv6 adalah proses untuk menetapkan alamat IPv6 secara otomatis ke klien jaringan. DHCPv6 atau Dynamic Host Configuration Protocol versi 6, merupakan protokol yang dapat mengalokasikan alamat IP ke klien IPv6 dan memberikan pengaturan konfigurasi ke host klien.


Langkah-Langkah:

switch(config)# hostname S1
switch(config)# hostname S2
S1(config)# no ip domain-lookup
S2(config)# no ip domain-lookup
S1(config)# enable secret class
S2(config)# enable secret class
S1(config)# line console 0
S1(config-line)# password cisco
S1(config-line)# login
S2(config)# line console 0
S2(config-line)# password cisco
S2(config-line)# login
S1(config)# line vty 0 4
S1(config-line)# password cisco
S1(config-line)# login
S2(config)# line vty 0 4
S2(config-line)# password cisco
S2(config-line)# login
S1(config)# service password-encryption
S2(config)# service password-encryption
S1(config)# banner motd $ Authorized Users Only! $
S2(config)# banner motd $ Authorized Users Only! $
S1(config)# interface range f0/1-4, f0/7-24, g0/1-2
S1(config-if-range)# shutdown
S2(config)# interface range f0/1-4, f0/7-17, f0/19-24, g0/1-2
S2(config-if-range)# shutdown
S1# copy running-config startup-config
S2# copy running-config startup-config
router(config)# hostname R1
router(config)# hostname R2
R1(config)# no ip domain-lookup
R2(config)# no ip domain-lookup
R1(config)# enable secret class
R2(config)# enable secret class
R1(config)# line console 0
R1(config-line)# password cisco
R1(config-line)# login
R2(config)# line console 0
R2(config-line)# password cisco
R2(config-line)# login
R1(config)# line vty 0 4
R1(config-line)# password cisco
R1(config-line)# login
R2(config)# line vty 0 4
R2(config-line)# password cisco
R2(config-line)# login
R1(config)# service password-encryption
R2(config)# service password-encryption
R1(config)# banner motd $ Authorized Users Only! $
R2(config)# banner motd $ Authorized Users Only! $
R1(config)# ipv6 unicast-routing
R2(config)# ipv6 unicast-routing
R1(config)# exit
R1# copy running-config startup-config
R2(config)# exit
R2# copy running-config startup-config
R1(config)# interface g0/0/1
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# ipv6 address 2001:db8:acad:1::1/64
R1(config-if)# no shutdown
R1(config)# interface g0/0/0
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# ipv6 address 2001:db8:acad:2::1/64
R1(config-if)# no shutdown
R2(config)# interface g0/0/1
R2(config-if)# ipv6 address fe80::1 link-local
R2(config-if)# ipv6 address 2001:db8:acad:3::1/64
R2(config-if)# no shutdown
R2(config)# interface g0/0/0
R2(config-if)# ipv6 address fe80::2 link-local
R2(config-if)# ipv6 address 2001:db8:acad:2::2/64
R2(config-if)# no shutdown
R1(config)# ipv6 route ::/0 2001:db8:acad:2::2
R2(config)# ipv6 route ::/0 2001:db8:acad:2::1
R1#(config)# exit
R1# ping 2001:db8:acad:3::1
R1# copy running-config startup-config
R1(config)# ipv6 dhcp pool R1-STATELESS
R1(config-dhcp)# dns-server 2001:db8:acad::254
R1(config-dhcp)# domain-name STATELESS.com
R1(config)# interface g0/0/1
R1(config-if)# ipv6 nd other-config-flag
R1(config-if)# ipv6 dhcp server R1-STATELESS
R1# copy running-config startup-config
R1(config)# ipv6 dhcp pool R2-STATEFUL
R1(config-dhcp)# address prefix 2001:db8:acad:3:aaa::/80
R1(config-dhcp)# dns-server 2001:db8:acad::254
R1(config-dhcp)# domain-name STATEFUL.com
R1(config)# interface g0/0/0
R1(config-if)# ipv6 dhcp server R2-STATEFUL
R2(config)# interface g0/0/1
R2(config-if)# ipv6 nd managed-config-flag
R2(config-if)# ipv6 dhcp relay 
R2# wr

Switch S1
S1# show run

Switch S2
S2# show run

Router R1
R1# show run

link google drive
vidio 8.5.1

  • https://drive.google.com/file/d/1sHNPPrAEQ6XTE8GsAx3VqgBDDyNdUueQ/view?usp=drivesdk
  • https://drive.google.com/file/d/1A9TnnpPI8U_RUJDyY4zkKfJ8r7c5z07n/view?usp=drivesdk


Tidak ada komentar:

Posting Komentar

pkl ke-100

Nama Siswa:  Agnia Supi Kelas:  XII TKJ 2 Ruangan PKL:  Lab 5 dan Lab C Hari/Tanggal:  Jum’at, 28 November 2025 Kegiatan: Inspeksi dan Perap...