




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
AnswerofHWChapter4AnswerofHWChapter41R12:Whatisthe32-bitbinaryequivalentoftheaddress223.1.3.27?11011111000000010000001100011100R12:Whatisthe32-bitbinary2R13:DoroutershaveIPaddresses?Ifso,howmany?Yes.TheyhaveoneaddressforeachinterfaceR13:DoroutershaveIPaddres3R18:Yes,becausetheentireIPv6datagram(includingheaderfields)isencapsulatedinanIPv4datagramR18:Yes,becausetheentireIP4R21:Linkstatealgorithms:Computestheleast-costpathbetweensourceanddestinationusingcomplete,globalknowledgeaboutthenetwork.Distance-vectorrouting:Thecalculationoftheleast-costpathiscarriedoutinaniterative,distributedmanner.Anodeonlyknowstheneighbortowhichitshouldforwardapacketinordertoreachgivendestinationalongtheleast-costpath,andthecostofthatpathfromitselftothedestination.R21:Linkstatealgorithms:Com5AnswerofHWP447P8a)PrefixMatch LinkInterface111000000000000001110000000000001 111100000 2111000013otherwise 4b)Prefixmatchforfirstaddressis4thentry:linkinterface4Prefixmatchforsecondaddressis2ndentry:linkinterface2Prefixmatchforfirstaddressis3rdentry:linkinterface3AnswerofHWP447P86AnswerofHWP448P9DestinationAddressRange LinkInterface0000~~001100100~~011111000~~101121100~~11113numberofaddressesineachrange=AnswerofHWP448P97AnswerofHWP44810Addressinterface10000000through10111111(64addresses) 011000000through11011111(32addresses)111100000through11111111(32addresses)200000000through01111111(128addresses)3PrefixMatchInterface101111112otherwise3AnswerofHWP448108P448P11Subnet1:2000211
=2048Subnet2:1000210=1024Subnet3:1000210
=1024220.2.11110000.00000000220.2.11110000.00000000throughsubnet1220.2.11110111.11111111220.2.11111000.00000000throughsubnet2220.2.11111011.11111111220.2.11111100.00000000throughsubnet3220.2.11111111.11111111P448P119P448P12DestinationAddressLinkInterface200.23.16/210200.23.24/241200.23.24/212otherwise3P448P12DestinationAddress10P448P13Destinationaddressrangeinterface224.0/160224.0/161224/82225/83otherwise4P448P13Destinationaddress11P448P14101.101.101.64/26101.101.101.01000000through
101.101.101.01111111AnyIPaddressinrange101.101.101.64to101.101.101.127insubnetwithprefix101.101.101.64/26Fourequalsizesubnetsfromtheblockofaddressesoftheform101.101.128.0/17101.101.10000000.0000000022
=4subnets
101.101.10000000.00000000101.101.128/19
101.101.10100000.00000000101.101.160/19
101.101.11000000.00000000101.101.192/19
101.101.11100000.00000000101.101.224/19
P448P14101.101.101.64/2612P449Problem15214.97.254/23
214.97.11111110.00000000SubnetA:214.97.254.0/24(28=
256addresses)
214.97.11111110.00000000
SubnetB:214.97.255.0/25-214.97.255.120/29(27=128addresses-8=120)
214.97.11111111.00000000214.97.11111111.01111000through-through214.97.11111111.01111111214.97.11111111.01111111SubnetC:214.97.255.128/25(27=128addresses)214.97.11111111.10000000SubnetD:214.97.255.120/31(2addresses)214.97.11111111.01111000SubnetE:214.97.255.122/31(2addresses)214.97.11111111.01111010SubnetF:214.97.255.124/30(4addresses)214.97.11111111.01111100
P449Problem15214.97.254/2313Tosimplifythesolution,assumethatnodatagramshaverouterinterfacesasultimatedestinations.Also,labelD,E,Ffortheupper-right,bottom,andupper-leftinteriorsubnets,respectively.Forthesecondschedule,wehave:Router1LongestPrefixMatch OutgoingInterface110101100110000111111111SubnetA1101011001100001111111100000000SubnetD110101100110000111111110000001SubnetF
Router2LongestPrefixMatch OutgoingInterface110101100110000111111111000001SubnetF1101011001100001111111100000001SubnetE1101011001100001111111101SubnetCRouter3LongestPrefixMatch OutgoingInterface1101011001100001111111110000000SubnetD1101011001100001111111100 SubnetB1101011001100001111111100000001 SubnetETosimplifythesolution,assu14计算机网络双语ppt课件第4章答案15计算机网络双语ppt课件第4章答案16P449Problem18a)Homeaddresses:192.168.0.1,192.168.0.2,192.168.0.3withtherouterinterfacebeing192.168.0.4b)NATTranslationTableWANSideLANSide128.119.40.86,4000192.168.0.1,3345128.119.40.86,4001192.168.0.1,3346128.119.40.86,4002192.168.0.2,3445128.119.40.86,4003192.168.0.2,3446128.119.40.86,4004192.168.0.3,3545128.119.40.86,4005192.168.0.3,3546
P449Problem18a)Homeaddress17P449Problem19Itisnotpossibletodevisesuchatechnique.InordertoestablishadirectTCPconnectionbetweenArnoldandBernard,eitherArnoldorBobmustinitiateaconnectiontotheother.ButtheNATscoveringArnoldandBobdropSYNpacketsarrivingfromtheWANside.ThusneitherArnoldnorBobcaninitiateaTCPconnectiontotheotheriftheyarebothbehindNATs.
P449Problem19Itisnotpos18P22Step N’ D(s),p(s) D(t),p(t) D(u),p(u) D(v),p(v) D(w),p(w) D(y),p(y) D(z),p(z)1x∞
∞∞8,x6,x6,x∞2xy∞
15,y∞7,y6,x18,y3xyw∞
15,y14,w7,y18,y4xywv∞
11,v10,v18,y5xywvu14,u
11,v18,y6xywvut12,t
16,t7xywvuts16,t
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
评论
0/150
提交评论