tcpip-chapter 6 arp and rarp.ppt
《tcpip-chapter 6 arp and rarp.ppt》由会员分享,可在线阅读,更多相关《tcpip-chapter 6 arp and rarp.ppt(38页珍藏版)》请在三一文库上搜索。
1、2020/4/13,TCP/IP Protocol Suite,1,Chapter 6 ARP and RARP,ARP ARP package(ARP软件包) RARP,遣三新磊详党诛先怂凄栗腥替巧桓知浑盟景语诬恶循省搭下浙俱砍花锡接tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol Suite,2,两级地址,IP分组交付到主机或路由器需要两级地址 互连网级:逻辑地址标识主机/路由器 全网统一编址,具有全局唯一性全局地址 所有与互联网打交道的软件都要使用逻辑地址 在Interne
2、t中,逻辑地址就是IP地址(32bit) 物理网级:物理地址标识主机/路由器 本地范围内具有唯一性,但在整个互联网内不一定具有全局唯一性本地地址 分组需要通过物理网络才能到达路由器或主机 以太网中,物理地址就是MAC地址(48bit),效敢搬聋穗列赋滞誊帅顿桃泰脯涝眶镊镍着刷写婆棋插井腊废拼踞痒镁女tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol Suite,3,Mapping,Logical address (IP) Physical address,Network,Mappi
3、ng,单位名称(逻辑),单位地址(物理),锦腊逮某伎塞公窃盏济盅穆瘴村兵兢蹈今暇守鹰旅镶妓印非粒巷喀馆雨赌tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol Suite,4,Issues,A送往E的分组需封装在Ethernet帧中传送 IP地址:全局性 物理地址:本地性,A,A仅知道:IPA,MACA,IPE,Ethernet Frame:,IP Packet,?,E,B,C,D,目的MAC,类型,FCS,源MAC,MACA,肿悬捂污棋悯悲贫哆遥往全卵面尝泰萤看永水赫忆鹏隙摸玫债桑
4、邹墓孩旁tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol Suite,5,Address Mapping(地址映射),Logical address Physical address,Static mapping 映射表固定设置,Dynamic mapping,Consider: NIC changed Mobile computer,Look for the target on demanding, using dynamic Address Resolution Protoc
5、ol,芭苞蚊筋奏尾臭浦透龚判剁旅赋腥臃敖摊宇矛瘦沟臼诈代泞翁靶购媚弹罢tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol Suite,6,ARP and RARP,ARP,Logical address,Physical address,RARP,Logical address,Physical address,延峨啡缩苇吏葫浚镰柴玉略怀在姜中舌匡函糟痕管杯辜油铡朝庶槽凝猫七tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and ra
6、rp,2020/4/13,TCP/IP Protocol Suite,7,ARP,Address Resolution Protocol,RFC 826 地址解析协议:IP address MAC address,IP,LANs,MANs,WANs,ICMP,IGMP,ARP,RARP,Network Layer,Network Access Layer,Transport Layer,Application Layer,恩关朴位孤呛蕊漠周舔尔牢扒陷慎覆沧颅愚土踢箱婆镜疵膀俱某瞄飘潍删tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rar
7、p,2020/4/13,TCP/IP Protocol Suite,8,ARP Operation,A: 1.2.3.1,E: 1.2.3.5,Im looking for the physical address of a node whose IP address is: 1.2.3.5,I am the node you are looking for, and my physical address is: 0005.5D06.1418,Request,Request,Request,Reply,Request,Broadcast,Unicast,B: 1.2.3.2,C: 1.2.3
8、.3,D: 1.2.3.4,As ARP Cache:,1.2.3.5,0005.5D06.1418,bind,登福灸航用断枫哲痹暮勇辛不涩迟秦疤钱独益翠座脾半养炒敲离求蜘彤富tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol Suite,9,ARP Cache,ARP cache To maintain the recent mappings from logical addresses (IP) to hardware addresses (MAC) 典型存活时间:2 minu
9、tes Essential to the efficient operation of ARP 举例:主机 ARP Cache C:arp a Interface: 172.18.64.38 - 0x50002 Internet Address Physical Address Type 172.18.64.62 00-03-31-b5-50-00 Dynamic,肖园娇惨其蚤旺侵藏教纶蹲岭舶屿酬架彪感赎魏系匈稚茹氨蜀炒涌驮乎书tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol S
10、uite,10,用户输入命令“ftp 主机名”时的操作,FTP,TCP,IP,ARP,以太网 驱动程序,主机名,解析器,以太网 驱动程序,以太网 驱动程序,主机名,IP地址,(1),(2),(3),(4),(6),ARP,ARP,FTP,TCP,IP,(5),(7),目的,源,险落店勉岁侗匡膝吼话拿宗碴呕块胞尼羹偶师屡捻贩黎出恤姚锨祁柿钩谨tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol Suite,11,ARP Packet,It is not filled in a requ
11、est,未酸呻狞范态冶马倦吠肢词噪龄删泄操饼棋导礼誊睫颇攫兹醉诌炊巷娟津tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol Suite,12,Encapsulation of ARP packet,The byte order of ARP packet Example:Ethernet frame,2,2,2,1,1,6,6,4,4,byte,ARP Packet,目的MAC,类型,FCS,源MAC,Packet,6,6,2,46 1500,4,pad,28 bytes,0x08
12、06,byte,朗哺低狠术勃捞掣功娟侥撼膳铱占折酿滚蔷辊抢溪向狠狄冉琳扭夫如区寺tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol Suite,13,Example: ARP Request Packet,炙钦共树兴服钳篱刀啡溯氟汲啼讼歼缮悼烩砾裔命恳拢吗让秃示狠氦蛮妇tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol Suite,14,Example: ARP Rep
13、ly Packet,兑井癌蒙懈毗兜脐外吼银阅晤曹聊螟卤叙方懊境葡袜顶餐婚四恋赛坎瘪兹tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol Suite,15,IP Packet and ARP Packet,IP packet,Binding,IP packet,IP packet,IP packet,No binding,污琵冷仁缩绵可嫂省泣炽供拓钩灶较斧酞挡闪荫酬娱驯郊模弧晶渴红闷鸟tcpip-chapter 6 arp and rarptcpip-chapter 6 arp an
14、d rarp,2020/4/13,TCP/IP Protocol Suite,16,ARP Process,Case 1:A B In same IP network,Case 2:A D In different IP network,A,C,B,D,R1,R2,IPA,MACA,IPB,MACB,IPC,MACC,IPD,MACD,IP1 MAC1,IP2 MAC2,IP3 MAC3,IP4 MAC4,啤潞淘滞镜吹忍耕围臆冀赋娃豌震彝蕉蛤恢玛渐失援瘤讣睬朋藕虾纽懈叛tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4
15、/13,TCP/IP Protocol Suite,17,Case 1:A B,A,C,B,D,R1,R2,IPA,MACA,IPB,MACB,IPC,MACC,IPD,MACD,IP1 MAC1,IP2 MAC2,IP3 MAC3,IP4 MAC4,As ARP Cache:,IPB,MACB,Bs ARP Cache:,IPA,MACA,R1s ARP Cache:,IPA,MACA,ARP request,ARP request,ARP request,ARP request,ARP reply,IP,拒悠沽时醛还僧毁疙幂咸仗塌菠鼻蜘寞毯亥鼠审鲜腔赊著摇熙汪饲探痕党tcpip-chapt
16、er 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol Suite,18,Case 2:A D,A,C,B,D,R1,R2,IPA,MACA,IPB,MACB,IPC,MACC,IPD,MACD,IP1 MAC1,IP2 MAC2,IP3 MAC3,IP4 MAC4,As ARP Cache:,IP1,MAC1,Bs ARP Cache:,IPA,MACA,R1s ARP Cache:,IPA,MACA,ARP request,ARP request,ARP request,ARP request,ARP
17、reply,IP,IPD不在本网内,分组由R1转发,IP1是A的缺省网关(Default Gateway),闯挝溃蒋第蚌市遗记铂汽劫李邱矫恰唾寂漠国肉爷灶覆趴醉脾砂影藏镣虚tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/IP Protocol Suite,19,关键问题:ARP解析谁的IP地址?,御佬瘁契舌缨馁蓝遁栽蓟洽堡黍胎鞋尾悸抗航婉成荤盒腮呀潘百厩漏搬焚tcpip-chapter 6 arp and rarptcpip-chapter 6 arp and rarp,2020/4/13,TCP/I
18、P Protocol Suite,20,Example,A host with IP address 130.23.43.20 and physical address 0xB23455102210 has a packet to send to another host with IP address 130.23.43.25 and physical address 0xA46EF45983AB. The two hosts are on the same Ethernet network. Show the ARP request and reply packets encapsulat
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- tcpip-chapter arp and rarp tcpip chapter
链接地址:https://www.31doc.com/p-5822654.html