network edge ๋ค์์ผ๋ก ์ด๋ฒ์๋ network core์ ๋ํด์ ๋ค๋ฃจ์ด๋ณด๋ ค๊ณ ํ๋ค.
- mesh of interconnected routers(์ ํํ๋ ๊ตฌ์กฐ๊ฐ ์๋ ๊ทธ๋ฌผ๋ง์ผ๋ก ๋์ด ์์)
- ๋คํธ์ํฌ ์ฝ์ด๋ ์๋ก์๋ก ์ฐ๊ฒฐ๋์ด ์๋ ๋ผ์ฐํฐ๋ค์ ์งํฉ์ฒด์ด๋ค.
๋คํธ์ํฌ ์ฝ์ด์์, router๋ค์ interconnected๋์ด end system๊ฐ์ ๋ฐ์ดํฐ ๊ตํ์ ๋๋๋ค. ๋ฐ์ดํฐ๋ค์ด ๋ฐฉ๋ฌธํ๋ ๋คํธ์ํฌ์์ ๋ชจ๋ ์ฅ์น๋ค์ ๊ฐ๊ฐ์ internet protocol stack์ ๊ฐ์ง๊ณ ์๋๋ฐ internet protocol stack์ application layer์์ ์์ฑ๋๋ message๋ค์ ํธ์คํธ๋ค์ ์ํด ์ฌ๋ฌ ๊ฐ์ ํจํท์ผ๋ก ์ชผ๊ฐ์ง๋ค. ํธ์คํธ์ ์ํด ์ชผ๊ฐ์ง ํจํท๋ค์ network core์ ์์นํ router๋ฅผ ๊ฑฐ์ณ receiver(end system)์ผ๋ก ์ ์ก๋๋ค.
- ํจํท(Packet)
- ๋คํธ์ํฌ๋ฅผ ์ฌ์ฉํด์ ์ ์กํ๊ธฐ ์ํด์ ์ผ์ ํ ๋จ์๋ก ๋๋ ๋ฐ์ดํฐ ์ ์ก ๋จ์
- ๋ฐ์ดํฐ ์ก์ ์์ ์์ ์๊ฐ ํ๋์ ๋จ์๋ก ์ฒ๋ฆฌํ๋ ๋ฐ์ดํฐ ์ฒ๋ฆฌ ๋จ์
- ํจํท ์ค์์นญ(Packet-switching)
- ํจํท ์ค์์นญ์ ํจํท ๋จ์๋ก ์ชผ๊ฐ์ง ๋ฐ์ดํฐ๋ฅผ ์ ์กํ๋ ๋ฐฉ์
- ํจํท ์ค์์นญ์ ์ํด host๋ application-layer message๋ฅผ packet์ผ๋ก ์ชผ๊ฐ ๋ค.
- ์์ค(Source)์์ ๋ชฉ์ ์ง(destination)๊น์ง ๊ฒฝ๋ก์์ ๋งํฌ๋ฅผ ํตํด ํ ๋ผ์ฐํฐ์์ ๋ค์ ๋ผ์ฐํฐ๋ก ํจํท์ด ์ ๋ฌ๋๋ค.
- each packet transmitted at full link capacity(ํ๋ฒ ์ ์ก๋ ๋ ์ ์ฒด ์ฉ๋์ ์ฐจ์งํ๋ค.)
- Host : sends packets of data
- host sending function :
- takes application message
- breaks into smaller chunks, known as packets, of length L bits
- transmits packet into access network at transmission rate R
- link transmission rate, aka link capacity, aka link bandwidth
- host sending function :
- Packet-switching: store-and-forward
- Transmission delay : takes L/R seconds to transmit(push out) L-bit packet into link at R bps
- Store and forward : entire packet must arrive at router before it can be transmitted on next link
์ ์ฒด ํจํท(ํ ํจํท์ ์ ์ฒด bits)์ด ๋ค์ ๋งํฌ์์ ์ ์ก๋๊ธฐ ์ ์ ๋ผ์ฐํฐ์ ๋ชจ๋ ๋์ฐฉํด์ผ ํ๋ค. - End-end delay : 2L/R, assuming zero propagation delay(more on delay shortly)
ํ ํจํท์ด source์์ destination์ ๋์ฐฉํ๋ ์๊ฐ.
L/R = 10,000 / 100,000,000 = 1 / 10,000
1/1000 = 1ms
๋ฐ๋ผ์ transmission delay = 0.1ms
- Packet-switching: queueing delay, loss
ํ์ง๋ง ์์ฒ๋ผ ๋ผ์ฐํฐ๋ฅผ ์ฌ์ด์ ๋ ๋ ๋งํฌ๊ฐ ๋ชจ๋ ๊ฐ์ ์๋์ด๋ฉด ์ข๊ฒ ์ง๋ง, ๋๋ถ๋ถ์ ๊ทธ๋ ์ง ์๋ค.- Packet queueing and loss : if arrival rate(in bps) to link exceeds transmission rate(bps) of link for a period of time(๋งํฌ์ ๋ํ ๋์ฐฉ ์๋๊ฐ ์ผ์ ๊ธฐ๊ฐ ๋์ ๋งํฌ์ ์ ์ก ์๋๋ฅผ ์ด๊ณผํ๋ ๊ฒฝ์ฐ)
- queueing delay : ๊ฐ ํจํท ์ค์์น(router)๋ ์ฌ๋ฌ ๊ฐ์ link๋ฅผ ๊ฐ์ง๋ค. ์ด link์ ๋ํด, ๋์ฐฉํ๋ ํจํท์ด ์ ์ก๋์ด์ผ ํ ๋งํฌ(next link)๊ฐ ์ด๋ฏธ ๋ค๋ฅธ ํจํท์ ์ ์กํ๋ ์ค์ด๋ผ๋ฉด ๋์ฐฉํ๋ ํจํท๋ค์ด ๋๊ธฐํด์ผ ํ ๊ณต๊ฐ์ธ buffer๊ฐ ์กด์ฌํ๋ค. ์ด๋ ๊ฒ ๋์ฐฉํ๋ ํจํท์ด ๋ฒํผ์์ ๋๊ธฐํ๋ ์ํฉ์ queueing delay๋ผ๊ณ ํ๋ค.
- Packet loss(drop) : ๋ฒํผ์ ์ฉ๋์ ํ์ ์ ์ด๊ธฐ ๋๋ฌธ์ ์ด ๋ฒํผ๊ฐ ๋์น๋ฉด ๋ฐฉ๊ธ ๋์ฐฉํ ํจํท์ด๋ ์ด๋ฏธ ์ ์ฅ๋์ด ์๋ ํจํท์ ๋ฒ๋ ค์ง๋ค.
- Packet queueing and loss : if arrival rate(in bps) to link exceeds transmission rate(bps) of link for a period of time(๋งํฌ์ ๋ํ ๋์ฐฉ ์๋๊ฐ ์ผ์ ๊ธฐ๊ฐ ๋์ ๋งํฌ์ ์ ์ก ์๋๋ฅผ ์ด๊ณผํ๋ ๊ฒฝ์ฐ)
- Two key network-core functions
- Forwarding
- local action : move arriving packets from router's imput link to appropriate router output link
๋ผ์ฐํฐ์ input link์์ next ๋ผ์ฐํฐ๋ฅผ ํฅํ output link๋ก ํจํท์ ์ด๋์ํจ๋ค.
- local action : move arriving packets from router's imput link to appropriate router output link
- Routing
- global action : determine source-destination paths taken by packets
ํจํท์ด ์ฌ์ฉํ๋ ์์ค-๋์ ๊ฒฝ๋ก ๊ฒฐ์ - routing algorithms๊ณผ ๋ผ์ฐํ protocol๋ก routing table์ ๋ง๋ ๋ค
- ๊ฐ ๋ผ์ฐํฐ๋ ์์ฒด ํ ์ด๋ธ์ ๊ฐ์ง๋ค.
- global action : determine source-destination paths taken by packets
- Forwarding
- Alternative to packet switching : circuit switching(ํ์ ๊ตํ ๋ฐฉ์)
- circuit switching์์๋ end system๊ฐ์ ํต์ ์ ์ํด ๊ฒฝ๋ก ์ ํ์ํ ์์์ธ link๋ฅผ ๋ ์ ์ ์ผ๋ก reserveํด๋๊ณ ์ฌ์ฉํ๋ค.
- ์ด๋ ๊ฒ ๋ฆฌ์์ค๋ฅผ ํ ๋นํด๋๋๋ค๋ ๊ฐ๋
์ dedicated resources๋ผ๊ณ ํ๋ค. ์ด๋ ๋ฐ์ดํฐ๋ฅผ ์ธ์ ๋ ์ง ๋ณด๋ผ ์ ์๋ค๋ ์๋ฏธ์ธ๋ฐ, ๋ค์๋งํด์ guaranteed๋ ์ผ์ ์ ์ก๋ฅ ๋ก ๋ฐ์ดํฐ๋ฅผ ๋ณด๋ด๋ ๊ฒ์ด ๊ฐ๋ฅํ๋ค๋ ๋ป์ด๋ค.
- no sharing
- circuit-like (guaranteed) performance
- ํต์ ์ ์ํ ์ฐ๊ฒฐ์ด ๋๋ฉด ์ฌ์ฉ๋๋ ํ์ ์ ์ฒด๋ฅผ ๋
์ (dedicated)ํ๊ธฐ ๋๋ฌธ์ ๋ค๋ฅธ ์ฌ๋์ด ๋ผ์ด๋ค ์ ์๋ค.
circuit segment idle if not used by call(no sharing) - commonly used in traditional telephone networks
- Circuit switching : FDM and TDM
์ ์ฌ์ง๊ฐ์ด ํ ๋งํฌ ๋ด์๋ ์ฌ๋ฌ ๊ฐ์ ์ฑ๋์ด ์กด์ฌํ ์ ์๋๋ฐ, ๋งํฌ ๋ด์์ chnnel์ ๋๋๋ ๊ธฐ์ค์ ๋ ๊ฐ์ง๊ฐ ์๋ค.
- FDM(Frequency Division Multiplexing)
- ์ด ๋ฐฉ์์ ์ฑ๋์ ์ฃผํ์ ๋์ญ ๋ณ๋ก ๋ถํ ๋ ๊ดํ(optical), ์ ์๊ธฐ(eletromagnetic) ์ฃผํ์์ด๋ค.
- ๋งํฌ์ ์ฃผํ์ ์คํํธ๋ผ์ ๊ณต์ ํ๋ ํํ์ด๋ฉฐ, ์ฌ๊ธฐ์ ์ ๊ณต๋๋ ์ฃผํ์ ๋์ญ(์๊น ๋ณ)์ ๊ณ ์ ์ ๊ณต๋๋ค.
- ์ด ์ฃผํ์ ๋์ญ ๊ฐ๊ฐ์ ๋์ญ ํญ์ bandwidth๋ผ๊ณ ํ๋ฉฐ ์ด๋ ์ ์ก ์๋์ ํฌ๊ฒ ๊ด๋ จ์ด ์๋ค.
- ๋์ญํญ์ ์ฌ๋ฌ ๊ฐ์ ์์ ๋์ญํญ์ผ๋ก ๋ถํ ํ์ฌ ์ด๋ฅผ ์ฌ๋ฌ ๋ช ์ ์ฌ์ฉ์๊ฐ ๋์์ ์ฌ์ฉํ๋ ๋ฐฉ์
- TDM(Time Division Multiplexing)
- channel์ ์๊ฐ๋๋ณ๋ก ๋๋๋ ๋ฐฉ์
- ๊ฐ ํธ์ถ(call)์ ์ฃผ๊ธฐ์ (periodic) slot์ด ํ ๋น๋๊ธฐ ๋๋ฌธ์, ๋ ๋์ ์ฃผํ์ ๋์ญ์ ์ต๋ ์๋๋ก ์ ์กํ ์ ์์ง๋ง ํด๋น ์๊ฐ slot ๋์์๋ง ์ ์ก์ด ๊ฐ๋ฅํ๋ค.
- Packet switching versus circuit switching
- Packet switching allows more users to use network
- packet switching์ ๋ ๋ง์ ์ฌ์ฉ์๊ฐ ์ฌ์ฉํ ์ ์๋๋ก ํ๋ค.
- Example
- N๋ช ์ ์ฌ์ฉ์๊ฐ ์๊ณ ๋ผ์ฐํฐ๋ ํ๋์ด๋ค. N๋ช ์ ์ฌ์ฉ์๋ฅผ ํ๋์ ๋ผ์ฐํฐ๋ก ์ ์กํด์ผ ํ๋ ์ํฉ.
- 1Gb/s link
- each user : 100 Mbps when "active" , active 10% of time
- ๊ฐ ์ฌ์ฉ์๋ ํ์ฑํ ํ์๋ ์ด๋น 100Mb๋ฅผ ์ ๋ฌํด์ผ ํจ
- active 10%๋ 1์๊ฐ๋ง ๋ดค์ ๋ 6๋ถ๋ง ํ์ฑํํ๊ณ , ๋๋จธ์ง 54๋ถ์ ์๋ฌด๊ฒ๋ ์ํ๋ ๊ฒ.
- Example
- ๋ช ๋ช
์ด ์ฌ์ฉํ ์ ์์๊น?
- Circuit-switching์ ๊ฒฝ์ฐ
- 1Gbps = 1000Mbps
- ๊ทธ๋ฌ๋ฏ๋ก 1000Mbps / 100Mbps = 10(users)๋ช ์ฌ์ฉ ๊ฐ๋ฅ
- Packet-switching์ ๊ฒฝ์ฐ
- ์ดํญ๋ถํฌ(binomial distribution)์ฌ์ฉ
- ๋ง์ฝ 35๋ช ์ ์ฌ์ฉ์๊ฐ ์๋๋ฐ 11๋ช ์ด์(>10)์ด ๋์์ ์ฌ์ฉํ ํ๋ฅ ์ ๊ตฌํ๋ฉด ์๋์ ๊ฐ๋ค.
- 0.1์ active 10% of time์ด๊ธฐ ๋๋ฌธ์ด๋ค.
- Circuit-switching์ ๊ฒฝ์ฐ
๊ณ์ฐ์ ํด๋ณด๋ฉด 35๋ช ์ค 11๋ช ์ด์์ด ์ฌ์ฉํ ํ๋ฅ ์ 0.0004๋ณด๋ค ์๋ค.
- ์ดํญ ๋ถํฌ์ ๋ํ ๊ฐ๋จํ ์ค๋ช ์ ์๋์ ๊ฐ๋ค.
- Is packet switching a "slam dunk winner?"
- Packet switching์ burstry data์ ์ ํฉํ๋ค. (๋ฐ์ดํฐ๊ฐ ํ ๋ชฐ๋ ค์๋ค๊ฐ ์๋ชฐ๋ ค์๋ค๊ฐ ํ๋ ํจํด์ ๋ฐ์ดํฐ)
- Packet switching์ ์ฌ์ฉํ ๋ ๋ผ์ฐํฐ์ ๋ฉ๋ชจ๋ฆฌ๊ฐ ํ์ ์ ์ด๊ธฐ ๋๋ฌธ์ congestion(ํผ์ก)์ด ๋ฐ์ํ ์ ์๋ค. -> packet delay and loss๊ฐ ์๊ธธ ์ ์๋ค.
๋ฐ๋ผ์ ์ ๋ขฐํ ์ ์๋ ๋ฐ์ดํฐ๋ฅผ ๋ณด๋ด๊ณ congestion์ ํต์ ํ ์ ์๋ protocol์ด ํ์ํ๋ค. - How to provide circuit-like behavior?
- bandwidth guarantees traditionally used for audio/video application
- Human analogies of reserved resources(circuit swiching) versus on-demand allocation(packet switching)?
- Internet structure : a "network of networks"
- Hosts connect to Internet via access Internet Service Providers(ISPs)
- residential, enterprise(compant, university, commercial) ISPs
- Access ISPs in turn(์ฐจ๋ก๋ก) must be interconnected
- so that any two hosts can send packets to each other
- Resulting network of networks is very complex
- evolution was driven by economics and national policies
- Let's take a stepwise approach to describe current Internet structure
- Hosts connect to Internet via access Internet Service Providers(ISPs)
- ๋ง์ฝ 100๋ง๊ฐ์ access ISPs๊ฐ ์กด์ฌํ๋ค๋ฉด ๊ทธ๊ฒ๋ค์ ์ด๋ป๊ฒ ์ฐ๊ฒฐ์ด ๋ ๊น?
๊ฐ access ISP๊ฐ ์๋ก ์ฐ๊ฒฐ๋๋ ๊ฒ์ ๊ฑฐ์ ๋ถ๊ฐ๋ฅํ๋ค. ๋ฐ๋ผ์ global ISP๊ฐ ํ์ํ๋ค.
ํ์ง๋ง ํ๋์ global ISP๋ก access ISP๋ฅผ ์ฐ๊ฒฐํ๊ธฐ์๋ ํ์ด ๋ค ์ ์๋ค.
์ผ์ชฝ ์ฌ์ง๊ณผ ๊ฐ์ด global ISP๋ฅผ ์ฌ๋ฌ๊ฐ๋ก ๋๋์ด ์ค ์ ์๋ค. ํ์ง๋ง ํน์ ์ง์ญ์ global ISP์ ๋ชฐ๋ฆฌ๋ฉด ํด๋น global ISP๊ฐ ํ๋ค์ด ์ง ๊ฒ์ด๋ค.
๋ฐ๋ผ์ global ISP๋ฅผ ์ฐ๊ฒฐํด์ฃผ๋ IXP(Internet exchange point) router๋ฅผ ์ด์ฉํ๋ค.
IXP๋ก ์ฐ๊ฒฐ๋ ํต์ ์ transit์ด๋ผ๊ณ ํ๊ณ router๋ค๋ผ๋ฆฌ ์ง์ ์ ์ผ๋ก ์ฐ๊ฒฐ๋ ํต์ ์ peering์ด๋ผ๊ณ ํ๋ค.
์ฐ๋ฆฌ๋๋ผ์์ KT, SKT ๋ฑ๊ณผ ๊ฐ์ regional network ๋ํ ์กด์ฌํ๋ค.
Google, Microsoft, Akamai์ ๊ฐ์ ๊ณณ์ ์์ฒด์ ์ผ๋ก Content provider network๋ฅผ ๊ตฌ์ถํ๋ค. ์ด๋ content๊ฐ end user์ ๊ฐ๊น์์ง ์ ์๊ธฐ ๋๋ฌธ์ delay๋ฅผ ์ค์ผ ์ ์๋ค.
- ISP์ ๊ตฌ์กฐ
Tier 1 ISP ์์ : SPRINT
Content provider networks ์์ : Google
'CS > Computer Networking' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
1.2 The Network Edge (0) | 2022.09.02 |
---|---|
1.1. What Is the Internet? (0) | 2022.09.01 |