




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Chapter8Lab8-1,ConfiguringOSPFforConfigureastaticIPv6addressonan Changethedefaultlink-localaddressonaninterface.配置link-localConfigureanEUI-64IPv6addressonaninterface.配置EUI-64EnableIPv6Configureandverifysingle-areaOSPFv3operation配置检查Step1Preparetheroutersforthe Cablethenetworkasshowninthetopologydiagram.Erasethestartupconfiguration,andreloadeachroutertoclearthepreviousconfigurations.使用模拟器配置可以将R1和R2对换Step2:Configuringthehostnameandloopbackinterfaces.配置环回口地址Router(config)#hostnameR1R1(config)#interfaceR1(config-if)#ipaddress10.1.1.1255.255.255.0R1(config-if)#ipv6addressFEC0::1:1/112Router(config)#hostnameR2R2(config)#interfaceR2(config-if)#ipaddress10.1.2.1R2(config-if)#ipv6addressRouter(config)#hostnameR3(config)#interfaceR3(config-if)#ipaddress10.1.3.1R3(config-if)#ipv6addressStep3ConfigurestaticIPv6 serialConfigurethetwoseriallinkswithIPv6addresses.Usetheipv6addressaddress/maskcommandtoconfiguretheinterfaceswiththeaddressesshowninthediagram.Settheclockrateswhereappropriate,andbringuptheinterfaces.R1(config)#interfaceserial0/0/0R1(config-if)#ipv6addressFEC0::12:1/112R1(config-if)#clockrate64000R1(config-if)#bandwidth64R1(config-if)#noshutdownR1(config-if)#interfaceserial0/0/1R1(config-if)#ipv6addressR1(config-if)#bandwidth64R1(config-if)#noshutdownR2(config)#interfaceserial0/0/0R2(config-if)#ipv6addressR2(config-if)#bandwidth64R2(config-if)#noshutdownR3(config)#interfaceserial0/0/0R3(config-if)#ipv6addressR3(config-if)#clockrateR3(config-if)#bandwidthR3(config-if)#noUsetoverifylocalsubnetconnectivity.测试直连接口地R1#TypeescapesequencetoSending5,100-byteICMPEchostoFEC0::12:2,timeoutis2Successrateis100percent(5/5),round-tripmin/avg/max=28/28/28R1#TypeescapesequencetoSending5,100-byteICMPEchostoFEC0::13:3,timeoutis2Successrateis100percent(5/5),round-tripmin/avg/max=28/28/28 TypeescapesequencetoSending5,100-byteICMPEchostoFEC0::12:1,timeoutis2Successrateis100percent(5/5),round-tripmin/avg/max=28/28/28R3#TypeescapesequencetoSending5,100-byteICMPEchostoFEC0::13:1,timeoutis2Successrateis100percent(5/5),round-tripmin/avg/max=28/28/28Step4Changethelink-localaddressonaninterface.更改link-localUsetheshowipv6interfacecommandtolookatIPv6-relatedpropertiesoftherouterinterfaces.Youcanalsospecifyatype/numberofaninterfacetoseetheoutputofthatinterfaceonly.R1#showipv6interfaceserialSerial0/0/0isup,lineprotocolisIPv6isenabled,link-localaddressisR2#showipv6interfaceserialSerial0/0/0isup,lineprotocolisIPv6isenabled,link-localaddressisTochangethelink-localaddress,usetheipv6addressaddresslink-localR1(config)#interfaceR1(config-if)#ipv6addressFE80::1link-R2(config)#interfaceR2(config-if)#ipv6addressFE80::2link-Verifythatyoucanthelink-localaddressontheotherside.Wheninglink-localaddresses,youmustspecifyanoutgoinginterfacebecausetheaddressesarenotroutedandnotintheroutingtable. 测试新配置的link-local地址Note:Whenpromptedfortheoutputinterfacewiththiscommand,youmustusetheinterfacenamewithoutspacesforexampleuseserial0/0/0nots0/0/0).当提示出接口时,必须使用接口的全名比如:serial1/2而不是s1/2R1#OutputInterface:TypeescapesequencetoSending5,100-byteICMPEchostoFE80::2,timeoutis2seconds:PacketsentwithasourceaddressofFE80::1Verifythelink-localaddresseswiththeshowipv6interfaceR1#showipv6interfaceserialSerial0/0/0isup,lineprotocolisIPv6isenabled,link-localaddressisFE80::1R2#showipv6interfaceserial0/0/0Serial0/0/0isup,lineprotocolisupIPv6isenabled,link-localaddressisStep5:ConfigureEUI-64ConfigureIPv6EUI-64addressesonaninterfaceusingtheipv6addressaddress/maskeui-64command.ConfiguretheR2andR3FastEthernetinterfaceswiththesubnetshowninthediagram,andenabletheinterfaces.采用EUI-64方式配置接口地址R2(config)#interfacefastEthernetR2(config-if)#ipv6addressFEC0:23::/64eui-R2(config-if)#noR3(config)#interfacefastEthernet0/0R3(config-if)#ipv6addressFEC0:23::/64eui-64R3(config-if)#noshutdownGettheIPv6addressesoftheinterfaceswiththeshowipv6interfaceorshowipv6interfacebriefcommand,andthentheothersideofthelink.R2#showipv6interfacefastEthernetFastEthernet0/0isup,lineprotocolisIPv6isenabled,link-localaddressisFE80::218:B9FF:FE92:28D8NoVirtuallink-localaddress(es):GlobalunicastFEC0:23::218:B9FF:FE92:28D8,subnetisFEC0:23::/64R2#showipv6interfaceFastEthernet0/0[up/up]R2#TypeescapesequencetoSending5,100-byteICMPEchostotimeoutis2Successrateis100percent(5/5),round-tripmin/avg/max=0/0/4Step6EnableIPv6routing.开启ipv6TheCiscoIOSversionusedwiththeroutersinthislabhasIPv6disabledbydefault.ToenableIPv6routing,usetheipv6unicast-routingcommandinglobalconfigurationmode.R1(config)#ipv6unicast-routingR2(config)#ipv6unicast-routingR3(config)#ipv6unicast-Step7:ConfigureUnlikeIPv4OSPF,wherenetworksareaddedtotheOSPFprocessusingnetworkstatementsundertheroutingprotocolconfigurationprompt,IPv6OSPFusestheinterface-levelcommandipv6ospfprocessareaarea-idtoaddaninterfacetoanarea.AddallinterfacesshowninthediagramintoOSPFprocess1,area0.AfteryouaddtheinterfacestotheOSPFprocess,theOSPFprocessstartsautomatically.Iftheadjacenciesdonotcomeupafterareasonableperiodoftime,troubleshootusingthedebugipv6ospfadjacencyanddebugipv6packetcommands.Makesurethatthepacketsarebeingsenttotheirdestinationandthatadjacenciesareformingcorrectly.注意IPV6与IPV4命令的区别R1(config)#interfaceloopback0R1(config-if)#ipv6ospf1area0R1(config-if)#interfaceserial0/0/0R1(config-if)#ipv6ospf1area0R1(config-if)#interfaceserial0/0/1R1(config-if)#ipv6ospf1area0R2(config)#interfaceloopback0R2(config-if)#ipv6ospf1area0R2(config-if)#interfaceserial0/0/0R2(config-if)#ipv6ospf1area0R2(config-if)#interfacefastEthernet0/0R2(config-if)#ipv6ospf1area0R3(config)#interfaceloopback0R3(config-if)#ipv6ospf1area0R3(config-if)#interfaceserial0/0/0R3(config-if)#ipv6ospf1area0R3(config-if)#interfacefastEthernet0/0R3(config-if)#ipv6ospf1area0VerifythatyouhaveOSPFv3neighb
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 太阳课件幻灯片
- 2026届河南省西华县数学七上期末达标检测模拟试题含解析
- 2025临时产权房屋买卖合同协议书范本
- 2025新版公司劳动合同书
- 2026届河南省洛阳市李村一中学数学九上期末学业质量监测试题含解析
- 2026届河南省洛阳市李村一中学数学九年级第一学期期末复习检测模拟试题含解析
- 专家消毒知识培训课件
- 人资专业知识培训内容课件
- 突破性技术:类器官芯片培养行业解析
- 2026届广东省河口中学九年级数学第一学期期末考试试题含解析
- 【课件】工作危害分析法(JHA)专项培训课件丨
- 中医理疗课件
- 固体化学导论全套课件
- 川崎病儿童健康管理专家共识(2024)解读 2
- 2024-2030全球铝制遮阳系统行业调研及趋势分析报告
- 非ST段抬高急性冠状动脉综合征诊断和治疗指南
- 警校生职业生涯规划
- 江苏省扬州市江都区大桥中学2025届高考英语一模试卷含解析
- 2024-2025学年九年级第一次月考化学卷(天津专用)
- 0-9任意四位数手机密码排列组合全部数据列表
- 吉林省长春市长春实验中学2024-2025学年高一上学期第一次月考数学试题(无答案)
评论
0/150
提交评论