전공공부/컴퓨터네트웍개론

[컴퓨터네트웍] Introduction(Internet structure- network core, packet & circuit switching)

prefer_all 2021. 10. 23. 12:49

https://prefer-all.tistory.com/28

 

[컴퓨터네트웍] Introduction (Internet structure- network edge, access network)

-     모든 device들은 host, end system이라고 불림 -     End system은 network에 연결되어 있음. 하나의 end system에서 다른 end system으로 data 보낼 때 data를 segment 단위 (transport layer에서..

prefer-all.tistory.com

 

 

3. Network core: interconnected routers, network of networks(mesh거미줄 of interconnected routers)

3-1. Interconnected routers

- 두 가지 core functions: Routing 최적의 경로 발견(내비게이션 역할), Fowarding(switching- packet deliver)

-“Packet switching” : hosts break application-layer messages into packets(작은 block의 packet으로 data를 전송하고, 그 동안만 network 자원을 사용하도록 하는 방법)

 

 

(1) store and forward: packet을 다음 link로 전송하기 전에 router에 저장한 뒤 전달하는 방식. 전체 packet은 다음 link로 전달되기 전에 router에 저장되어야한다.

(2) queueing: occurs when work arrives faster than it can be server

    만약 arrival rate to link > transmission rate(link capacity) of link ➜ packet가 queue됨. Output link로 transmit되기를 기다림

-packet transmission delay: takes L/R seconds to transmit L bit packet into link at R bps(R bps로 L bit packet 보내는데 L/R 초가 걸림)

               

(장점) packet switching은 bursty data에 적합함(어떨 때는 send하고 어떨 때는 안함), 간단하고 no call setup

(단점) buffer overflow 때문에 excessive congestion이 발생할 수 있음 ➜ protocol은 reliable data transfer, congestion control이 필요함

(문제) packet queuing and packet loss: memory buffer 꽉참 ➜ packets는 loss(drop)됨

(해결) circuit switching: data 전달하기 전에 circuit을 set up하고 전화 끊기 전에 set up된 path를 유지

- source와 destination 사이에 “call(set up하는 과정)”으로 예약된 end-end-resources

                    -dedicated resources(전용 리소스): no sharing

                    - traditional telephone networks에서 주로 사용됨

 

*packet switching & circuit switching 비교

- packet switching은 모든 packet이 addr 가지나, circuit switching은 addr 안가짐

- packet switching은 자원을 선점해둘 필요 없음 (필요할 때 그때 그때 보냄), circuit switching은 다른 사람이 전화망에 끼어들 수 없음

active 10% 니까 각 유저 당 100mb/s *10% 하면 평균 10Mb/s여서 100명

 

3-2 network of networks(mesh거미줄 of interconnected routers)

-Host는 access Internet Service Providers(ISP)를 통해 internet에 연결됨. 그리고 ISP는 반드시 interconnected되어야함.