Address Resolution Protocol

  • IP addresses are said to be logical, because they are defined in terms of logical topology of the routers and end systems.
  • The logical IP addresses need to be converted into specific physical addresses that identify the physical endpoints for the Ethernet sender and receiver
  • ARP: conversion between IP address and Physical address

Address Resolution Protocol (ARP)

  • How to map an IP address to a physical address? How to speed up? How fresh?
  • How to map:First, broadcast. Second, specific host reply.
  • How to speed up:cache the mac address

Fragmentation(分裂) and Reassembly

  • Each physical network imposes(强加) a certain packet size limitation on the packet to be carried, called maximum transmission unit MTU.
  • Router will devide packet into smaller pakcet according to the MTU.

RE: IP Packet Header

  • Identification, Flags, and Fragment Offset: used for fragmentation and reassembly
  • Identification is used to identify which packet a particular fragment belongs to.
  • Flag:contain tree
  1. unsed bit:
  2. don't fragment is set to one :it will force the router not to fragment the pakcet.
  3. more fragment is set to one:tell the estination host that there are more fragments to follow.
  • The Fragment Offset field identidies the location of a fragment in the packet.
  • Fragment offset(分段偏移) is 13 bits; total length is 16 bits, what does it imply?

Example: Fragmenting a Packet

  • Packet is to be forwarded to a network with MTU of 576 bytes. The packet has an IP header of 20 bytes and a data part of 1484 bytes.
  • Maximum data length per fragment = 576 - 20 = 556 bytes.
  • Set maximum data length to 552 bytes to get multiple of 8.

  • All the value except the header checksum are the same as in original packet.

最新文章

  1. iOS-APP发布应注意
  2. C++11模板类使用心得
  3. JavaScript String 对象方法
  4. 如何让JS的变量名变量化
  5. 下一代大数据系统和4S标准
  6. [Unity菜鸟] Time
  7. POJ 2481-Cows(BIT)
  8. 完全用 GNU/Linux 工作(转)
  9. Android防止内存泄漏以及MAT的使用
  10. 实战ajax
  11. [ffmpeg 扩展第三方库编译系列] 关于须要用到cmake 创建 mingw32编译环境问题
  12. asp.net使用post方式action到另一个页面,在另一个页面接受form表单的值!(报错,已解决!)
  13. Image File Execution Options(转)
  14. px,em,rem,vw单位在网页和移动端的应用
  15. Linux防止ARP攻击的一些方法
  16. linux路由表
  17. OpenGL.Qt532.cube
  18. SQL语句操作数据
  19. JPA整合Spring案例
  20. LeetCode(2):Add Two Numbers 两数相加

热门文章

  1. EasyUI datebox 日期范围 日期关联
  2. eclipse切换workspace后配置问题
  3. Java并发—–深入分析synchronized的实现原理
  4. <Android 应用 之路> 百度地图API使用(3)
  5. 【转】C# GDAL 配置
  6. Python 2 和Python 3的区别
  7. angularJS articles and resources
  8. Linux下TC使用说明 & 使用备注 ZZ
  9. 【Leetcode】【Medium】Minimum Path Sum
  10. Hyper-V复制