개발하는 뚝딱이

컴퓨터 네트워크 ch1 (1) 본문

컴퓨터 네트워크

컴퓨터 네트워크 ch1 (1)

개발자뚝딱이 2019. 8. 27. 18:33

1.1 What is the Internet?

  • What are networks?
    • The interconnection of a set of devices capable to carry information
    • Telephone network (PSTN, Internet, cable network, N-ISDN, B-ISDN [Integrated Service Digital Network], etc.
      • 전화할 때 ; PSTN [Public Switched Telephone Network]
      • ISDN [Integrated Service Digital Network]
      • 왜 전화망과 인터넷 망이 다를까? 
        • 동시에 사용하기 힘들며,
        • 끊김 현상 발생 → 음성을 전기 신호로 바꾸어 보냄
      • 네트워크 망 ; 자신이 전달하고자 하는 데이터 종류마다 효율성을 고려하여 각각의 네트워크 망을 이용
      • Narrow band는 데이터가 적을 때 / Broad band는 하나 잘 만들어 두고 모든 서비스를 가능하게 한다 - 그러나 너무 이상적이어서 시간, 돈, 복잡도가 문제
    • KISS : Keep It Simple Stupid 단순하고 멍청하게 만들자

 

1.1.1 What is the Internet?

  • hosts = end system [단말]
    • running network apps
    • PC, server, wireless laptop, smartphone
  • communication links
    • link : 통신을 하는데 여러 기기를 거쳐 가게 되는데, 이 때 직접적으로 둘 사이의 통신을 하는 physical 매체
    • Physical medium used to connect two or more devices directly
    • fiber ,copper, radio, satellite
    • transmission rate vs bandwidth ; bandwidth 가 넓으면 데이터를 빨리 보냄 / link를 무얼 쓰냐에 따라 속도가 다름
    • link가 연결되면 path
  • Router ( or Switch)
    • To forward packets (chunk of data)

router와 link

  • ISP [Internet Service Provider]
    • global + regional ; internet
  • Internetwork(Internet)
    • A network of networks
    • A set of independent networks interconnected
    • loosely hierarchical
  • Internet(우리가 쓰는 일반적 인터넷) vs. internet
    • Protocols : TCP/IP [Transmission Control Protocol / Internet Protocol]
    • Internet standards
      • RFC [Request for Comments] : IETF가 만든 document / 그러나 모든 RFC가 표준은 아님
      • IETF [Internet Engineering Task Force] : 인터넷에 대한 표준을 관장하는 단체 / 국가 권력이 관여되어 있지 않음

각 구름마다 정보를 전달하는 방법이 다르다. 중간에서 연결할 때 맞춰주는 것이 gateway이다.

 

 

 

 


 

1.1.2 What's the Internet : a service view

 

  • The Internet (communication infrastructure) enables distributed applications
    • Web, gmail, games, e-commerce, file sharing
  • The Internet provides two services to apps:
    • Connectionless unreliable
      • 를 제공해주는 것이 UDP [User Datagram Protocol]
      • 편지쓰는 것과 비유. 상대방이랑 연결 안하고 일방적으로 그냥 보냄
      • 정보가 손실되어도 다른 조치가 없기 때문에 unreliable하다
    • Connection-oriented reliable
      • 를 제공해주는 것이 TCP [Transmission Control Protocol]
      • 전화하는 것과 비유. 번호를 눌러 상대방과 연결을 해야함
      • 정보가 손실되면 자동적으로 복구하기 때문에 reliable하다
  • The Internet can not support guaranteed services
    • delay time (얼마나 걸리는지) / bandwidth(throughput) (초당 얼마의 데이터를 보내는지) 을 보장하지 않는다
    • 일방적으로 데이터를 전송할 때는 문제가 없으나, interactive할 때 문제가 생긴다. (like 전화)

 


 

1.1.3 What's a protocol?

  • A protocol is the set of rules and procedures to which the information change between two or more entities should adhere
    • the format of messages ; packet으로 보내는데 각 bit들의 부분마다 어떤 의미인지
    • the order of messages exchanged
    • the actions taken on the transmission and/or receipt of a message or other event
  • state machine을 돌리면 프로토콜이 정상적으로 돌아가는지 확인 가능함
  • three way hand shake - *이후 추가 설명 예정

 

 

'컴퓨터 네트워크' 카테고리의 다른 글

컴퓨터 네트워크 ch2(3)  (0) 2019.10.08
컴퓨터 네트워크 ch2 (2)  (0) 2019.10.08
컴퓨터 네트워크 ch2(1)  (0) 2019.09.27
컴퓨터 네트워크 ch1 (3)  (0) 2019.09.25
컴퓨터 네트워크 ch1 (2)  (0) 2019.08.29