Laboratoriya ishi korxona va tashkilot axborot komunikatsiya tizimlarida vpn tarmoq qurish



Yüklə 1,31 Mb.
tarix29.09.2022
ölçüsü1,31 Mb.
#64309
14-Laboratoriya3333


14-LABORATORIYA ISHI
KORXONA VA TASHKILOT AXBOROT KOMUNIKATSIYA TIZIMLARIDA VPN TARMOQ QURISH
Ishdan maqsad
VPN tarmoq haqida nazariy bilimga ega bo’lish, CPT dasturida VPN tarmoqni qurish.


Laboratoriya ishining bajarilish tartibi
CPT dasturida VPN (Virtual Private Network) tarmoqni qurish uchun dastlab
3 router, 2 kompyuter (pc) va 1 laptop olamiz va ularni bir-biri bilan o’zaro aloqa kabeli orqali ulab chiqamiz:

Dastlab routerlarga IP address sozlamalarini kiritamiz. Buning uchun 1-router ga «console» kabeli orqali laptop0 ni ulab olamiz:

Quyidagi komandalarni kiritamiz:
enable
configure terminal
interface FastEthernet 0/0
no shutdown
ip address 192.168.1.1 255.255.255.0; exit
interface FastEthernet 0/1
no shutdown
ip address 1.0.0.2 255.0.0.0; exit

14.3.4. Huddi shu tariqa 2-router ga ulanib quyidagi komandalarni kiritamiz:
enable
configure terminal
interface FastEthernet 0/0
no shutdown
ip address 192.168.2.1 255.255.255.0; exit
interface FastEthernet 0/1
no shutdown
ip address 2.0.0.2 255.0.0.0; exit



14.3.5. 3-router ga «console» kabeli orqali ulanib quyidagi komandalarni kiritamiz:
enable
configure terminal
interface FastEthernet 0/0
no shutdown
ip address 1.0.0.1 255.0.0.0
exit
interface FastEthernet 0/1
no shutdown
ip address 2.0.0.1 255.0.0.0; exit



1-router da statik marshrut sozlamalarini sozlaymiz. Buning uchun quyidagi komandalarni kiritamiz:
ip route 0.0.0.0 0.0.0.0 1.0.0.1



2-router da shu tariqa statik marshrut sozlamasini kiritamiz. Buning uchun quyidagi komandani kiritamiz: ip route 0.0.0.0 0.0.0.0 2.0.0.1

1-kompyuter (pc) ga IP address sozlamalarini kiritamiz:
IP address 192.168.1.2
Maska 255.255.255.0
Asosiy shlyuz 192.168.1.1

2-kompyuter (pc) ga IP address sozlamalarini kiritamiz:
IP address 192.168.2.2
Maska 255.255.255.0
Asosiy shlyuz 192.168.2.1

14.10-rasm
14.3.10. VPN sozlamalarinig kiritish uchun 1-router ga ulanib quyidagi komandalarni kiritamiz:
interface tunel 1
ip address 172.16.1.1 255.0.0.0
tunel source FastEthernet 0/1
tunel destination 2.0.0.2
no shutdown
exit
ip route 192.168.2.0 255.255.255.0 172.16.1.2



14.11-rasm
14.3.11. VPN sozlamalarinig kiritish uchun 2-router ga ulanib quyidagi komandalarni kiritamiz:
interface tunel 2
ip address 172.16.1.2 255.0.0.0
tunel source FastEthernet 0/1
tunel destination 1.0.0.2
no shutdown
exit
ip route 192.168.1.0 255.255.255.0 172.16.1.1



14.12-rasm
14.3.12. Yo’qoridagilarni alamga oshirganimizdan keyin VPN tarmog’imiz tiklandi. Keyingi bosqichda kompyuterlar o’rtasida xabar (ping) yuborib ko’ramiz:

Yuqoridagi rasmda VPN tarmoq orasida paketlar almashinuvi ifodalandgan.
Yüklə 1,31 Mb.

Dostları ilə paylaş:




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin