141
R3(config-router)#network 11.11.11.0 0.0.0.3 area 0
R3(config-router)#exit
BGP
(ing.
Border Gateway Protocol, chegaraviy shlyuz protokoli)
Internetdagi asosiy
dinamik marshrutlash protokoli hisoblanadi.
BGP protokoli boshqa dinamik marshrutlash protokollaridan farqli o‘laroq,
marshrut
ma’lumotlarini alohida marshrutlagichlar o‘rtasida emas, balki butun avtonom tizimlar o‘rtasida
almashish uchun mo‘ljallangan
va shu sababli, tarmoqdagi marshrutlar haqida ma’lumotlardan
tashqari, avtonom tizimlarga yo‘nalishlar to‘g‘risida ham ma’lumot olib boradi.
8.12-rasm. BGP protokol asosida qurilgan
tarmoq topologiyasi
BGP protokol bo`yicha qurilgan tarmoq uchun ishni bajarish tartibi
Kompyuterlarga 8.13-rasmda ko‘rsatilgan topologiya bo‘yicha IP manzillarni kiriting.
a) R1 marshrutizatorning konfiguratsiyasini sozlaymiz.
R1(config)#router bgp 65100
R1(config-router)#bgp router-id 1.1.1.1
R1(config-router)#neighbor 172.16.0.2 remote-as 65200
R1(config-router)#neighbor 172.16.13.2 remote-as 65300
R1(config-router)#network 192.168.1.0 mask 255.255.255.0
R1(config-router)#exit
b) R1 marshrutizatorning konfiguratsiyasini sozlaymiz
R2(config)#router bgp 65200
142
R2(config-router)#bgp router-id 2.2.2.2
R2(config-router)#neighbor 172.16.0.1 remote-as 65100
R2(config-router)#neighbor 172.16.23.2 remote-as 65300
R2(config-router)#network 192.168.2.0 mask 255.255.255.0
R2(config-router)#exit
s) R1 marshrutizatorning konfiguratsiyasini sozlaymiz
R3(config)#router bgp 65300
R3(config-router)#bgp router-id 3.3.3.3
R3(config-router)#neighbor 172.16.13.1 remote-as 65100
R3(config-router)#neighbor 172.16.23.1 remote-as 65200
R3(config-router)#network 192.168.3.0 mask 255.255.255.0
R3(config-router)#exit
Dostları ilə paylaş: