Chapter01. Computer Networks and the Internet
Protocol layers and reference models
- 기능을 잘 나누고 서비스를 명확히 정의하자
- 메세지가 전송된다 = Physical Communication = 실선
- 같은 계층끼리 커뮤니케이션 한다 = Logical Communication = 점선
- Layer별로 표현
- 상위가 하위의 서비스 이용
- 하위가 상위에게 서비스 제공
- 계층 별로 인터페이스가 헤더에 잘 정리 되어야 한다
- Layer는 각 계층에서 서비스를 구현한다
- 자체적인 내부 계층 작업을 통해
- 하위 계층으로부터 제공되는 서비스에 의존
- Layering 하는 이유
- 복잡한 시스템을 처리하기 위해서
- 논의를 위한 layerd reference model
- 명확한 구조는 복잡한 시스템 조각들의 관계를 식별할 수 있게 함
- 모듈화를 통해 시스템의 유지보수 → 업데이트 용이
- 계층의 서비스 구현 변경 시 시스템 나머지 부분에 대해 투명(영향X)
Internet protocol stack
- application layer protocol
- network application 지원
- 5계층
- Ex. IMAP, SMTP, HTTP
- 7계층이라 하면, Application layer 아래 presentation layer와 session layer가 존재 → 이 3가지 계층을 한 번에 application layer라 부름
- www는 application service, http는 application protocol → protocol이 service 지원
- transport layer protocol
- process 사이 데이터 전송
- 4계층
- Ex. TCP, UDP
- application 수행 시, OS에 의해 만들어져 end system에 있음
- network layer protocol
- source to destination(host to host)까지 datagram이 이동하는 경로를 결정하는 routing protocol 포함
- 경로를 찾아가는 역할
- Ex. IP, routing protocols(DSPF, BGP)
- datagram은 packet 대신 사용하는 것
- 3계층
- link layer protocol
- 이웃 노드 사이의 데이터 전달
- 2계층까지 담당
- 이게 실제 네트워크
- 각 연결마다 방법이 상이
- Ex. Ethernet, WiFi, PPP
- physical layer protocol
- wire의 bit
- 전기선/광케이블을 타고 신호를 어떻게 보낼지 다루는
Encapsulation
'Computer Science > Computer Network' 카테고리의 다른 글
[CS][컴퓨터 네트워킹 하향식 접근] Chapter2.2 Web and HTTP (1) | 2023.11.02 |
---|---|
[CS][컴퓨터 네트워킹 하향식 접근] Chapter2.1 Principles of network application (0) | 2023.11.01 |
[CS][컴퓨터 네트워킹 하향식 접근] Chapter1.5 Security (0) | 2023.11.01 |
[CS][컴퓨터 네트워킹 하향식 접근] Chapter1.4 Performance : loss, delay, throughput (0) | 2023.10.31 |
[CS][컴퓨터 네트워킹 하향식 접근] Chapter1.3 Network Core (0) | 2023.10.31 |