![Mplsvpn跨域optionB有两种方式_第1页](http://file2.renrendoc.com/fileroot_temp3/2021-6/9/ac483604-b823-42e8-9c42-aa519e82b5a3/ac483604-b823-42e8-9c42-aa519e82b5a31.gif)
![Mplsvpn跨域optionB有两种方式_第2页](http://file2.renrendoc.com/fileroot_temp3/2021-6/9/ac483604-b823-42e8-9c42-aa519e82b5a3/ac483604-b823-42e8-9c42-aa519e82b5a32.gif)
![Mplsvpn跨域optionB有两种方式_第3页](http://file2.renrendoc.com/fileroot_temp3/2021-6/9/ac483604-b823-42e8-9c42-aa519e82b5a3/ac483604-b823-42e8-9c42-aa519e82b5a33.gif)
![Mplsvpn跨域optionB有两种方式_第4页](http://file2.renrendoc.com/fileroot_temp3/2021-6/9/ac483604-b823-42e8-9c42-aa519e82b5a3/ac483604-b823-42e8-9c42-aa519e82b5a34.gif)
![Mplsvpn跨域optionB有两种方式_第5页](http://file2.renrendoc.com/fileroot_temp3/2021-6/9/ac483604-b823-42e8-9c42-aa519e82b5a3/ac483604-b823-42e8-9c42-aa519e82b5a35.gif)
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Mpls vpn跨域optioiiB有两种方式:第一种方式为ASBR之间通过单跳MP-EEGP, ASBR之间必须直联第二种方式为ASBR之间通过多跳MP-EEGP, ASBR之间必须采用tunnel方式,本文只介 绍这种方式。Mpls vpn over gre!对于mpls vpn over gre的这种方式,有两种方法可以使VPNv4的下一跳地址在接收路由更 新的AS中可达:(1) 将ASER之间的tunnel互联地址重分布到IGP;(2) ASBR在向PE (或RR)传递从另一个AS学到的VPNv4的路由时,卞一跳为自已, 也就是 next-hop-self实验拓扑图如下:方法一: 默认
2、情况下,R6从AS1学到VPNv4的路由再通告给RIO (RR)时,下一跳地址为R4的 F0/0的地址,但是R10学到VPNv4路由的下一跳地址不可达,所以在R4和R6上分别将 tumiel的互联地址重新分发到IGP中,这样R10才通将VPNv4的路由传递给R9。在标签交换方面,下一跳地址不改变,就不会重新分配标签。如R9学到的VPNv4的路由 分配out标签是由R4分配的。R9# show ip cef vrf test 11.11.11.1111.11.11.11/32, version 34, epoch 0, cached adjacency 192.168.2.90 packets,
3、 0 bytestag uifonnation set, all rewrites ownedlocal tag: VPN route headfast tag rewrite with FaO/O, 192.168.2.9, tags uuposed 840 427via 192.168.0.5, 0 dependencies, recursivenext hop 192.168.2.9. FastEthenietO/O via 192.168.0.5/32 (Default)valid cached adjacencytag rewrite with Fa0/0, 192.16829, t
4、ags imposed 840 427R1 l#traceioute 12.12.12.12Type escape sequence to abort.Tracing the route to 12.12.12.121 10.0.0.1 60 msec 140 msec 168 msec2 192.168.1.2 MPLS: Labels 232/643 Exp 0 1008 msec 1028 msec 936 msec3 192.168.1.6 MPLS: Labels 332/643 Exp 0 840 msec 1004 msec 816 msec4 192.168.1.10 MPLS
5、: Labels 426/643 Exp 0 888 msec 836 msec 768 msec5 192.168.0.6 MPLS: Label 643 Exp 0 768 msec 812 msec 1176 msec 只有单层标签6 192.168.2.2 MPLS: Labels 717/939 Exp 0 888 msec 932 msec 936 msec7 192.168.2.6 MPLS: Labels 813/939 Exp 0 792 msec 740 msec 816 msec8 10.0.0.5 AS 20 MPLS: Label 939 Exp 0 796 msec
6、 688 msec 984 msec9 10.0.0.6 AS 20 1032 msec 884 msec 984 msecRll#R4和R6上只保存本AS内的VPNv4的路由。R4存show mpls fonvardmg-tableLocalOutgomgPrefixBytes tagOutgomgNext Hoptagtag or VCor Tunnel Idswitchedinterface416Untagged6.6.6.6/320Fa0/0192.168.0.24171101:1:10.0.0.0/30610Fal/1192.168.1.9418Pop tag192.168.1.16
7、/300Fal/1192.168.1.9419Pop tag192.168.1.4/300Fal/1192.168.1.9420303192.168.1.12/300Fal/1192.168.1.9421300192.168.1.0/300Fal/1192.168.1.94223011.1.1.1/3215844Fal/1192.168.1.94233022.2.2.2/320Fal/1192.168.1.9424Pop tag3.3.3.3/320Fal/1192.168.1.94253285.5.5.5/323573Fal/1192.168.1.9426Pop tag192.168.0.6
8、/32640TuOpomt2pomt4271381:1:11.11.11.11/325068Fal/1192.168.1.9428137l:l:192.168J0.0/240Fal/1192.168.L9R6书show mpls fonvardmg-tableLocalOutgomgPrefixBytes tagOutgomgNext Hoptagtag or VCor Tunnel Idswitchedmterface608Untagged4.4.4.4/320Fa0/0192.168.0.1609Pop tag192.168.0.1/320Fa0/0192.168.0.1610Pop ta
9、g192.168.2.12/300Fa 1/0192.168.2.2611Pop tag192.168.2.4/300Fa 1/0192.16&2.2612714192.168.2.16/300Fa 1/0192.168.2.2613716192.168.2.8/300Fa 1/0192.168.2.2614Pop tag7.7.7.7/320Fa 1/0192.168.2.26157158.8.8.8/320Fa 1/0192.168.2.26407179.9.9.9/320Fa 1/0192.168.2.264171310.10.10.10/321216Fa 1/0192.168.2.26
10、42Pop tag192.168.0.5/32640TuOpomt2pomt643939l:l:12.12.12.12/32610Fa 1/0192.168.2.26449381:1:192.168.20.0/240Fa 1/0192.168.2.2R4的配置:hostname R4!boot-stait-marker boot-end-niarker !ip subnet-zero!ip cefno ip domain-lookup mpls label range 400 499 mpls label protocol ldp mteiiace LoopbackOip address 4.
11、4.4.4 255.255.255.255no ip duected-broadcast!mteiiace TumielOip address 192.168.0.5 255.255.255.252no ip duected-broadcastnipls bgp fbnvardmgtuimel source LoopbackOtuimel destination 6.6.6.6!mteiiace FastEthernetO/Oip address 192.168.0.1 255.255.255.252no ip duected-broadcastnipls bgp fonvarduig!mte
12、iiace FastEthernetl/Ono ip addressno ip duected-broadcast shutdownduplex half speed autoimteiiace FastEthernetl/1ip address 192.168.1.10 255.255.255.252 no ip duected-broadcastduplex halfspeed autotag-switclung ipirouter ospf 1log-adjacencv-changesredistribute connected subnetsnetwork 4.4.4.4 0.0.0.
13、0 aiea 0 network 192.168.1.8 0.0.03 area 0irouter bgp 1no bgp default route-target filterbgp logneighbor-changesneighbor 5.5.5.5 remote-as 1neighbor 5.5.5.5 update-source LoopbackO neighbor 192.168.0.6 remote-as 2iaddress-family ipv4 neighbor 5.5.5.5 activateno neighbor 192.168.0.6 activateno auto-s
14、unmiaiyno syncliioiiizationexit-address-fainilyaddress-family vpnv4neighbor 5.5.5.5 activateneighbor 5.5.5.5 send-conununity both neighbor 192.168.0.6 activateneighbor 192.168.0.6 send-coimnunity both exit-address-fainilyip classlessip route 6.6.6.6 255.255.255.255 192.168.0.2contiol-plane lme con 0
15、exec-timeout 0 0 stopbits 1lme aux 0stopbits 1lme vty 0 4login!no cns aaa enableR6的配置:hostname R6!boot-stait-marker boot-end-niarker !ip subnet-zero!ip cefno ip domain-lookup mpls label range 600 699 mpls label protocol ldp mteiiace LoopbackOip address 6.6.6.6 255.255.255.255no ip duected-broadcasti
16、interface TtinnelOip address 192.168.0.6 255.255.255.252 no ip directed-broadcastmpls bgp forwardingtunnel source LoopbackOtunnel destination 4.44.4imteiiace FastEthernetO/Oip address 192.168.0.2 255.255.255.252 no ip duected-broadcastnipls bgp fonvarduig mteiiace FastEthernetl/Oip address 192.168.2
17、.1 255.255.255.252no ip duected-broadcastduplex halfspeed autotag-switclung ip!mteiiace FastEthernetl/1no ip addressno ip duected-broadcastshutdownduplex halfspeed auto!router odr!router ospf 1log-adjacencv-changesredistribute connected subnetsnetwork 6.6.6.6 0.0.0.0 aiea 0network 192.168.2.0 0.0.03
18、 area 0!router bgp 2no syncliioiiizationno bgp default route-target filterbgp log-neighbor-chaiigesneighbor 10.10.10.10 remote-as 2neighbor 10.10.10.10 update-source LoopbackOneighbor 192.168.0.5 remote-as 1no auto-sununaiyiaddress-family vpnv4neighbor 10.10.10.10 activateneighbor 10.10.10.10 send-c
19、oininunity bothneighbor 192.168.0.5 activateneighbor 192.16&0.5 send-community bothexit-address-fainilyip classlessip route 4.4.4.4 255.255.255.255 192.168.0.1tag-switchmg tdp routei-id LoopbackOcontiol-planeiilme con 0exec-timeout 0 0stopbits 1lme aux 0stopbits 1lme vty 0 4loginino cns aaa enableen
20、d第二种方法:采用next-host-self这时ASBR上同时保存另一个AS的VPN路由,标签也由ASBR分配R9# show ip cef vrf test 11.11.11.1111.11.11.11/32, version 37, epoch 0, cached adjacency 192.168.2.90 packets, 0 bytestag mformation set, all rewrites ownedlocal tag: VPN route headfast tag rewrite with FaO/O, 192.168.2.9, tags uuposed 810 645
21、via 6.6.6.6. 0 dependencies, recursivenext hop 192.16&2.9、FastEthenietO/O via 6.6.6.6/32 (Default)valid cached adjacencytag rewrite with Fa0/0, 192.168.2.9, tags imposed 810 645192.168.2.2R6#show mpls fonvardmg-tableLocalOutgomgPrefixBytes tagOutgomgNext Hoptagtag or VCor Tunnel Idswitchedinterface6
22、08Untagged4.4.4.4/320Fa0/0192.168.0.1609Pop tag192.168.0.1/320Fa0/0192.168.0.1610Pop tag192.168.2.12/300Fa 1/0192.168.2.2611Pop tag192.168.2.4/300Fa 1/0192.16&2.2612714192.168.2.16/300Fa 1/0192.168.2.2613716192.168.2.8/300Fa 1/0192.168.2.2614Pop tag7.7.7.7/320Fal/0192.168.2.26157158.8.8.8/320Fa 1/01
23、92.168.2.26407179.9.9.9/320Fal/0192.168.2.264171310.10.10.10/320Fal/0192.168.2.2642Pop tag192.168.0.5/325068TuOpomt2pomt643939l:l:12.12J2.12/322956Fa 1/0644938l:l:192.168.200/240Fa 1/0192.16&2.26454271:1:11.11.11.11/320TuOpoint2point646428l:l:192.168.10s 20864 msec 812 msec 888 msecR4弐劄碗lou ospf 1 logladJaccllcylchaldQcsnctwoik 4444 0.0.0.0 area 0 network 19216818 OOO.3 area 0一lou bgp 1no bgp dcfhulr lou?lslg2bgp logncighborchangcs neighbor 5555【cmotcas 1 neighbor 5555 updaesoECC LoopbackOneighbor 19216806【emoteas 2一addlcss.fhlnily ipv4ne
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年全球及中国超微细合金线材行业头部企业市场占有率及排名调研报告
- 2025年全球及中国低浴比气液染色机行业头部企业市场占有率及排名调研报告
- 2025-2030全球汽车油漆测厚仪行业调研及趋势分析报告
- 2025年全球及中国眼内液体填充物行业头部企业市场占有率及排名调研报告
- 2025年全球及中国初创企业媒体服务平台行业头部企业市场占有率及排名调研报告
- 2025-2030全球知识产权审计服务行业调研及趋势分析报告
- 2025-2030全球设备用垫圈和密封材料行业调研及趋势分析报告
- 2025-2030全球微胶囊脂质粉行业调研及趋势分析报告
- 2025年全球及中国车规级数字功放电感行业头部企业市场占有率及排名调研报告
- 2025-2030全球螺旋绕线机行业调研及趋势分析报告
- 第二章《有理数的运算》单元备课教学实录2024-2025学年人教版数学七年级上册
- DB31-T 596-2021 城市轨道交通合理通风技术管理要求
- 华为智慧园区解决方案介绍
- 2022年江西省公务员录用考试《申论》真题(县乡卷)及答案解析
- 人教版八年级英语上册期末专项复习-完形填空和阅读理解(含答案)
- 一例蛇串疮患者个案护理课件
- 低压电工理论考试题库低压电工考试题
- 国家电网培训课件
- 五年级上册口算练习400题及答案
- 骆驼祥子选择题100道及答案
- 2024年公务员考试题库附答案【完整版】
评论
0/150
提交评论