|
Laboratoriya ishining bajarilish tartibi
|
bet | 2/4 | Sana | 20.12.2023 | Hajmi | 1,6 Mb. | | #125532 |
Bog'liq Marshrutizatorlarda NAt PAT texnologiyasini sozlash10.1. Laboratoriya ishining bajarilish tartibi
10.3.1. NAT texnologiyasidan foydalanib global tarmoq qurish uchun dastlab 2 router, 2 server, 3 kompyuter (pc), 1 kommutator (switch) va sozlash uchun laptop0 olib ularni o’zaro aloqa kabeli bilan ulab chiqiladi:
10.1-rasm
10.3.2. Laptop0 bilan kommutatorni «console» kabel bilan ulab kommutator (switch) sozlash rejimiga kiriladi. Buning uchun laptop0 da «Desktop» dan «Terminal» ga kiriladi:
10.2-rasm
10.3.3. Tarmoqda xavfsizlini taminlash uchun dastlab vlan 2 va vlan 3 yaratiladi va vlanlarga portlar ruhsat berib chiqiladi. Buning uchun quyidagi komandalar kiritiladi:
Enable; configure terminal
vlan 2; name server; exit
vlan 3; name users; exit
interface FastEthernet 0/2
switchport mode access
switchport access vlan 2; exit
interface range FastEthernet 0/3-5
switchport mode access
switchport access vlan 3; exit
interface FastEthernet 0/1
switchport mode trunk
switchport trunk allowed vlan 2,3; exit
10.3-rasm
10.3.4. Router0 sozlanadi. Bunda routerda GigabitEthernet 0/0/1 fizik port ichida 2 vlan uchun 2 logik port yaratiladi. Buning uchun laptop0 ni «console» kabeli orqali router0 ga ulanib quyidagi komandalar kiritiladi:
enable; configure terminal
interface GigabitEthernet 0/0/1
no shutdown; exit
interface GigabitEthernet 0/0/1.2; no shutdown
encapsulation dot1Q 2
ip address 192.168.2.1 255.255.255.0; exit
interface GigabitEthernet 0/0/1.3; no shutdown
encapsulation dot1Q 3
ip address 192.168.3.1 255.255.255.0; exit
interface GigabitEthernet 0/0/0; no shutdown
ip address 120.120.0.2 255.255.255.0; exit
10.4-rasm
10.3.5. Router1 ga laptop0 «console» kabeli orqali ulab quyidagi komandalar kiritiladi:
enable
configure terminal
interface GigabitEthernet 0/0/0
no shutdown
ip address 120.120.0.1 255.255.255.0; exit
interface GigabitEthernet 0/0/1
no shutdown
ip address 120.120.1.1 255.255.255.0; exit
10.5-rasm
10.3.6. Server1 ga quyidagi sozlamalar kiritiladi:
IP address 120.120.1.2
Maska 255.255.255.0
Asosiy shlyuz 120.120.1.1
10.6-rasm
10.3.7. Server0 ga quyidagi sozlamalar kiritiladi:
IP address 192.168.2.2
Tarmoq Maskasi 255.255.255.0
Asosiy shlyuz 192.168.2.1
10.7-rasm
10.3.8. Kompyuterlarga (pc) 10.1-jadvalga qarab sozlamalar kiritiladi:
10.1-jadval
|
| |