Korxona va tashkilot axborot komunikatsiya tizimlarida vpn tarmoq qurish


Download 18.3 Kb.
Sana24.12.2022
Hajmi18.3 Kb.
#1057421
Bog'liq
korxona va tashkilot axborot komunikatsiya tiz


KORXONA VA TASHKILOT AXBOROT KOMUNIKATSIYA TIZIMLARIDA VPN TARMOQ QURISH
Ishdan maqsad
VPN tarmoq haqida nazariy bilimga ega bo’lish, VPN tarmoqni qurish.
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.162.2.2
Maska 255.255.255.0
Asosiy shlyuz 192.168.2.1
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.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


Yo’qoridagilarni alamga oshirganimizdan keyin VPN tarmog’imiz tiklandi. Keyingi bosqichda kompyuterlar o’rtasida xabar (ping) yuborib ko’ramizva va tarmog`imiz tayyor
Download 18.3 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling