[netwhat]TCP,UDP

leocodms·2021년 5월 6일
0

42seoul

목록 보기
10/10

UDP

True

  • UDP is faster, simpler and more efficient than TCP
  • UDP only has the basic error control mechanism
  • UDP is a datagram oriented protocol(user datagram protocol)
  • UDP supports broadcasting
  • UDP has only the basic error checking mechanism using checksums
  • DHCP
  • SNMP
  • broadcasting : 한 개체가 특정 네트워크에 속한 모든 개체에 데이터를 보내는 모델이다.

False

  • UDP does not support broadcasting
  • UDP provides extended error checking mechanisms, because it provides flow control and data acknowledgement

TCP

True

  • TCP is a connection-oriented protocol
  • TCP does not support broadcasting
  • TCP provides extended error checking mechanisms, because it provides flow control and data acknowledgement
  • Data sequencing is a TCP feature (this means that packets arrive in order in the recipient)
  • TCP is reliable because it guarantees the delivery of data to the router of the destination
  • TCP is comparatively slower than UDP
  • unicast : 송신자, 수신자가 1:1로 통신하는 모델이다.

False

  • The delivery of data to the destination cannot be guaranteed in TCP

DNS

  • translates Internet domain names and host names into IP addresses
    도메인 임을 IP로 변경하거나, 그 반대의 일을 수행하기 위해 개발 도

DHCP

IP를 필요로하는 컴퓨터에게 자동으로 IP를 할당해서 사용할 수 있도록 해주고, 사용하지 않으면 다른 컴퓨터가 주소를 사용할 수 있도록 할당하는 프로토콜.
신뢰적인 연결보다는 빠른 속도가 중요하기 때문에 UDP사용

  • You want to implement a mechanism that automates IP configuration, including IP address, subnet mask, default gateway and DNS information. What protocol will you use to achieve this?
  • address support : IPV4 and IPV6
  • DHCP is used for IPV4 and IPV6
  • DHCP란 호스트의 IP주소와 각종 TCP/IP 프로토콜의 기본 설정을 클라이언트에게 자동적으로 제공해주는 프로토콜을 말한다.
  • DHCP는 네트워크에 사용되는 IP주소를 DHCP서버가 중앙집중식으로 관리하는 클라이언트/서버 모델을 사용한다.

Ping

  • ping은 어떤 프로토콜을 사용합니까?
    -ICMP(Internet Control Message Protocol)
  • ping은 작은 크기의 패킷을 보내서 네트워크로 연결된 두 호스트 사이에서 연결할 수 있는지 점검하는 진단도구이다.
    ping을 보낼 수 있다면, ftp,http 연결도 할 수 있을것.
  • ICMP
    -- 인터넷/ 통신 상에서 발생한 일반적인 상황에 대한 보고
    -- 인터넷/통신 상의 오류에 대한 보고
    -- 위험한 상황에 대한 경보
    -- IP프로토콜을 이용하여 ICMP 메세지 전달
    -- 네트워크계층에 속하여 네트워크 관리 프로토콜의 역할 수행

SMTP

메일 전속 프로토콜 TCP
속도 보다는 정확한 데이터 전달을 목적으로 함.

FTP

파일 전송 프로토콜 TCP

HTTP

w3상에서 정보를 주고받을 수 있는 프로토콜이다. html문서를 주고받는 데에 주로 사용된다.
http3 이전까지는 tcp를 사용했으나, http3는 udp를 사용한다.
(application layer에서 오류처리를 한다.)

ARP

Address Resolution Protocol
네트워크상에서 IP주소를 물리적 주소(MAC)으로 bind 시켜주는 프로토콜.
목적지 IP는 알지만, 물리적 주소를 모를때 IP주소에 대한 MAC주소를 찾아준다.

SNMP

간이 망 관리 프로토콜
IP네트워크상의 장치로부터 정보를 수집 및 관리하며, 정보를 수정하는 데 사용되는 인터넷 프로토콜
실시간으로 네트워케 상태를 모니터링 및 설정할 수 있는 서비스
UDP사용

ICMP

Internet Control Message Protocol
인터넷 메시지 제어 프로토콜로서 오류 메시지를 전송받는 데 주로 쓰인다. TCP.IP에서 패킷 처리 시 발생하는 문제를 알리며 주로 IP와 함꼐 동작한다.

default-gateway

같은 랜에 위치하지 않은(네트워크 주소가 일치하지 않는) 단말과 통신하기 위해 거치는 첫번째 라우터를 말함.

profile
Backend Developer

0개의 댓글