출처: https://3months.tistory.com/307 [Deep Play]

3-2/데이터통신개론

Chapter19 Network Layer Protocols

코딩하는 랄뚜기 2021. 11. 10. 17:47

위는 각각의 layer마다 적용되는 protocol의 종류이다.(모두 외우기)


Network-Layer Protocols

  • Network layer는 하나의 main protocol 그리고 3개의 부수적인 protocol로 생각되어질 수 있다.
  • Main protocol은 IPv4로 packetizing, forwarding 그리고 packet의 delivery에 책임이 있다.
  • ICMPv4는 IPv4가 delivery과정에서 발생하는 error를 다룰 수 있게 해준다.
  • IGMP는 IPv4가 multicasting하는 것을 돕는다.
  • ARP는 address mapping을 하는데 쓰인다.

여기서 강의자료에서는 ARP가 Network layer에서 이뤄진다고 했지만, 교수님께서는 Data-link에서 이뤄진다고 했다.


Datagram Format

  • IP가 사용하는 packet은 datagram이라고 불린다. Datagram은 hearderpayload 두 가지 부분으로 나뉜다.
  • Header의 길이는 20~60byte이며 routing과 delivery에 필요한 정보를 담는다.


Fragmentation

  • Datagram은 다른 network를 통하여 움직일 수있다. 각각의 router는 받은 frame을 decapsulate하고 process 한다음 다른 frame에 encapsulate시킨다.
  • frame의 size와 format은 frame이 이용하거나 이용할 physical layer의 protocol에 따라 달라진다.

  • 예를 들어서, router가 LAN에서 WAN으로 연결 된다면 LAN 형식의 frame을 받았다가 WAN 형식의 frame으로 내보낸다.


Options

  • IPv4 datagram의 header는 fixed part 그리고 variable part로 나뉜다.
  • Fixed part는 20byte이고, variable part는 옵션에 따라 다르지만 최대 40 byte(각각 4-byte)이다.


ICMPv4

  • IPv4에는 error-reporting 또는 error-correcting mechanism이 없다. IP protocol은 또한 host와 management query에 대한 mechanism이 없다.
  • ICMPv4(Internet Control Message Protocol version 4)는 위에서 나온 IPv4의 단점을 보안해 준다.


Debugging Tools

ICMP는 ping 그리고 traceroute를 사용하여 debugging을 한다.


ICMP Checksum

ICMP checksum은 전체 message에 걸쳐서 계산된다.


Mobile IP

  • Mobile 시장이 커지면서 mobile computer를 어디에서든 Internet에 연결시키기 위해서 mobile IP를 만들어야 했다.
  • Mobile protocol을 만들 때 가장 큰 문에는 addressing이었다.


Agents

To make the change of address transparent to the reset of the Internet requires a home agent and a foreign agent: the position of a home agent relative to the home network and a foreign agent relatvie to the foreign network.


Three Phases

  •  Remote host와 communicate하기 위해서는 mobile host는 agent discovery, registration, data transfer 3단계를 거쳐야 한다.


Inefficiency in Mobile IP

Mobile IP를 포함하는 communication은 inefficient할 수 있다. Inefficiency의 수준은 severe 또는 moderate 할 수 있는데, moderate한 경우는 triangle routing이라고 한다.

'3-2 > 데이터통신개론' 카테고리의 다른 글

Chapter21 Multicast Routing  (0) 2021.11.15
Chapter20 Unicast Routing  (0) 2021.11.10
Chapter18 Introduction to Network Layer  (0) 2021.11.09
Chapter15 Wireless LANs  (0) 2021.10.19
Chapter14 Other Wired Networks  (0) 2021.10.13