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

链接地址:https://www.31ppt.com/p-4733383.html