๐Ÿ“˜ [Computer Network] Routing among the BGP

๊ณ ๋ฏผ์ •ยท2023๋…„ 10์›” 31์ผ
0

Computer Network

๋ชฉ๋ก ๋ณด๊ธฐ
3/12
post-thumbnail
post-custom-banner

05-2


๐Ÿ’ก BGP : achieving policy

dual-homed : two provider network are connected with one customer

A, B, C are provider networks
ex) tier-I ISP or Regional ISP (access ISP๋ฅผ ์—ฐ๊ฒฐํ•˜๊ธฐ ์œ„ํ•ด)

X, Y, Z are customer networks
ex) Access ISP

Provider only wants to route traffic to/from its customer networks
(does not want to carry transit traffic between other ISP)
customer network๋กœ๋ถ€ํ„ฐ ์˜ค๊ฑฐ๋‚˜ ๊ฐ€๋Š” traffic๋งŒ forwarding ํ•ด์ค€๋‹ค.

w๋Š” B์˜ customer๊ฐ€ ์•„๋‹ˆ์ง€๋งŒ, x์—๊ฒŒ path๋ฅผ ์•Œ๋ ค์ค€๋‹ค.
ํ•˜์ง€๋งŒ B->C๋Š” C, B ๋‘˜ ๋‹ค customer๊ฐ€ ์•„๋‹ˆ๊ธฐ ๋•Œ๋ฌธ์— ์•Œ๋ ค์ฃผ์ง€ ์•Š๋Š”๋‹ค.




x์˜ ๊ฒฝ์šฐ provider network ๋‘ ๊ฐœ์™€ ์—ฐ๊ฒฐ๋˜์–ด ์žˆ๋‹ค. ์ด๊ฒƒ์„ dual- homed ๋ผ๊ณ  ํ•œ๋‹ค.
x๋Š” customer ์ด๋‹ค. ์ฆ‰, ๋ˆ์„ ๋‚ด๊ณ  ISP๋“ค์„ ์‚ฌ์šฉํ•œ๋‹ค๋Š” ์˜๋ฏธ์ด๋‹ค.
์œ„ ์‚ฌ์ง„์„ ๋ณด๋ฉด C -> x -> B ์˜ ๋ฃจํŠธ๊ฐ€ ์žˆ๋‹ค.
์ด ๊ฒฝ์šฐ์—๋Š” forwarding์ด ๊ฐ€๋Šฅํ• ๊นŒ?

์•„๋‹ˆ๋‹ค. ์œ„์— ๋งํ–ˆ๋“ฏ์ด x๋Š” customer์ด๋‹ค.
๋ˆ์„ ๋‚ด๊ณ  ISP๋ฅผ ์ด์šฉํ•˜๋Š” ์ž…์žฅ์ด๋‹ˆ C์—์„œ B๋กœ ์ •๋ณด ์ „๋‹ฌ์„ ํ•˜๋Š” ์ˆ˜๊ณ ๋ฅผ ํ•  ํ•„์š”๊ฐ€ ์—†๋‹ค.
์ฆ‰, x๋Š” C -> x -> B์˜ ๋ฃจํŠธ๊ฐ€ ์žˆ์Œ์—๋„ ๋ถˆ๊ตฌํ•˜๊ณ  B์™€ C์—๊ฒŒ ์•Œ๋ฆฌ์ง€ ์•Š๋Š”๋‹ค.

post-custom-banner

0๊ฐœ์˜ ๋Œ“๊ธ€