5– LABORATORIYA ISHI IPv6 MANZILLASH TIZIMIDA DHCPv6, DNS SERVIS KONFIGURATSIYALARINI SOZLASH Ishdan maqsad: IPv6 manzillash tizimi asosida DHCPv6, DNS servis
konfiguratsiyalarini sozlashni amalga oshirish va ko`nikmaga ega bo‘lish
Topshiriqlar 4. Tarmoqni tuzing va qurilmalarning bazaviy parametrlarini sozlang
5. Marshrutizatorda DHCPv6 konfiguratsiyalarini sozlang
Nazariy ma’lumotlar IPv6 manzillarini belgilash usullari • Statik belgilash
• Stateless Address Autoconfiguration (SLAAC RFC 4862)
• Manzillarni avtomatik belgilash
• Stateful DHCPv6 (RFC 3315)
• DHCPv6 ga IPv6 manzillari va boshqa parametrlarni tayinlash imkonini beradi
• DHCPv6-PD (RFC 3633)
• DHCPv6 ga router/CPE qurilmasiga quyi tarmoqlarni belgilash imkonini beradi
• Stateless DHCPv6 (RFC 3736)
• Manzil tayinlash uchun SLAAC va parametrlar uchun DHCPv6
Stateless Address Autoconfiguration (RFC 4862) SLAAC ―plug and play‖ tamoyili asosida manzillarni sozlash uchun
ishlatiladi
40
Stateful DHCPv6 • RA xabarida manzilni olish tartibini tavsiflovchi bayroqlar mavjud (A, M va O
bitlari)
Stateless DHCPv6 • RA xabarida manzilni olish tartibini tavsiflovchi bayroqlar mavjud (A, M va O
bitlari)
41
Ishni bajarish tartibi 4. Tarmoqni tuzing va qurilmalarning bazaviy ko`rsatkichlarini sozlang
Laboratoriya ishida IPv6 manzillash tizimi asosida tarmoq topologiyasini
tuzing
5.1-rasm. IPv6 manzillash tizimi asosidagi tarmoq topologiyasi
42
1. Router da IPv6 adres konfiguratsiyasini sozlash.
Router>enable
Router#config t
Router(config)#host R1
R1(config)#int fa0/0
R1(config-if)#ipv6 add 2000:1111:AAAA:BBBB::1/64
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#int fa0/1
R1(config-if)#ipv6 add 2000:1111:AAAA:CCCC::1/64
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#ipv6 unicast-routing
R1(config)#
2:Assign IP Address to DNS SERVER
Step3:Configure DHCPv6 for IPv6 on Cisco Router R1:
DHCP Configuration on IPv6
R1(config-if)#exit
R1(config)#ipv6 unicast-routing
R1(config)#ipv6 dhcp pool LANR1
R1(config-dhcp)#dns-server 2000:1111:AAAA:BBBB::2
R1(config-dhcp)#domain-name linuxtiwary.com
R1(config-dhcp)#prefix-delegation pool LANR1
43
R1(config)#ipv6 local pool LANR1 2000:1111:AAAA:CCCC::/64 64
R1(config)#int fa0/1
R1(config-if)#ipv6 dhcp server LANR1
R1(config-if)#ipv6 ND managed-config-flag
R1(config-if)#
Step 4:Check DHCP Options on Client PC