MPLSvpn静态路由于rip重发布李冰冰.docx

上传人:b****7 文档编号:9267247 上传时间:2023-02-03 格式:DOCX 页数:9 大小:70.08KB
下载 相关 举报
MPLSvpn静态路由于rip重发布李冰冰.docx_第1页
第1页 / 共9页
MPLSvpn静态路由于rip重发布李冰冰.docx_第2页
第2页 / 共9页
MPLSvpn静态路由于rip重发布李冰冰.docx_第3页
第3页 / 共9页
MPLSvpn静态路由于rip重发布李冰冰.docx_第4页
第4页 / 共9页
MPLSvpn静态路由于rip重发布李冰冰.docx_第5页
第5页 / 共9页
点击查看更多>>
下载资源
资源描述

MPLSvpn静态路由于rip重发布李冰冰.docx

《MPLSvpn静态路由于rip重发布李冰冰.docx》由会员分享,可在线阅读,更多相关《MPLSvpn静态路由于rip重发布李冰冰.docx(9页珍藏版)》请在冰豆网上搜索。

MPLSvpn静态路由于rip重发布李冰冰.docx

MPLSvpn静态路由于rip重发布李冰冰

实验报告

实验拓扑

1、地址规划

2、R2、R3、R4启基础协议ospf

3、R2、R4之间协议MP-BGP(传递VPNV4路由)

4、R1和R2之间为CE、PE关系,启用静态路由

5、R4、R5之间为CE、PE关系,启用rip协议

地址规划:

R1

interfacelo0

ipaddress1.1.1.1255.255.255.255

interfaces1/0

ipaddress12.1.1.1255.255.255.255.0

nosh

R2

interfacelo0

ipaddress2.2.2.2255.255.255.255

exit

interfaces1/0

ipaddress12.1.1.2255.255.255.0

nosh

exit

interfaces1/1

ipaddress23.1.1.2255.255.255.0

nosh

exit

R3

interfacelo0

ipaddress3.3.3.3255.255.255.255

exit

interfaces1/0

ipaddress23.1.1.3255.255.255.0

nosh

exit

interfaces1/1

ipaddress34.1.1.3255.255.255.0

nosh

exit

R4

interfacelo0

ipaddress4.4.4.4255.255.255.255

exit

interfaces1/0

ipaddress34.1.1.4255.255.255.0

nosh

exit

interfaces1/1

ipaddress45.1.1.4255.255.255.0

exit

R5

interfacelo0

ipaddress5.5.5.5255.255.255.255

exit

interfaces1/0

ipaddress45.1.1.5255.255.255.0

nosh

exit

在R2、R3、R4上启用ospf

R2

routerospf234

network2.2.2.20.0.0.0area0

network23.1.1.00.0.0.255area0

exit

R3

routerospf234

router-id3.3.3.3

network3.3.3.30.0.0.0area0

network23.1.1.00.0.0.255area0

network34.1.1.00.0.0.255area0

exit

R4

routerospf234

router-id4.4.4.4

network4.4.4.40.0.0.0area0

network34.1.1.00.0.0.255area0

exit

在R2、R3、R4上配置MPLS

R2

ipcef

mplsip

mplslabelrange20002999

mplslabelprotocolldp

mplsldprouter-idlo0force

interfaces1/1

mplsip

R3

ipcef

mplsip

mplslabelrange30003999

mplslabelprotocolldp

mplsldprouter-idlo0force

interfaces1/0

mplsip

exit

interfaces1/1

mplsip

R4

ipcef

mplsip

mplslabelrange40004999

mplslabelprotocolldp

mplsldprouter-idlo0force

interfaces1/0

mplsip

exit

在R2和R4上建立wvf

R2

ipvrfA

rd2:

2

route-targetboth24:

24

exit

interfaces1/0

ipvrfforwardingA

ipaddress12.1.1.2255.255.255.0

nosh

exit

R4

ipvrfB

exit

interfaces1/1

ipvrfforwardingB

ipaddress45.1.1.4255.255.255.0

nosh

在R2和R4上建立MP-BGP

R2

routerbgp234

bgprouter-id2.2.2.2

nobgpdefaultipv4-unicast

neighbor4.4.4.4remote-as234

neighbor4.4.4.4update-sourcelo0

address-familyvpnv4

neighbor4.4.4.4activate

neighbor4.4.4.4send-community

end

R4

routerbgp234

bgprouter-id4.4.4.4

nobgpdefaultipv4-unicast

neighbor2.2.2.2remote-as234

neighbor2.2.2.2update-sourcelo0

address-familyvpnv4

neighbor2.2.2.2activate

neighbor2.2.2.2send-community

exit-address-family

在R2和R1上建立静态路由

R1

iproute5.5.5.5255.255.255.255s1/0

R2

iproutevrfA1.1.1.1255.255.255.255s1/0

在R4和R5启rip协议

R4

routerrip

noauto-summary

version2

address-familyipv4vrfB

noauto-summary

version2

neighbor4.0.0.0

neighbor45.1.0.0

exit-address-family

end

R5

routerrip

noauto-summary

version2

network5.0.0.0

network45.1.0.0

exit

分别在R2和R4上面做重分布

R2

routerbgp234

address-familyipv4vrfA

redistributestatic

redistributeconnected

R4

routerrip

address-familyipv4vrfB

redistributebgp234metric7

exit-address-family

exit

routerbgp234

address-familyipv4vrfB

redistributerip

exit-address-family

在R1上追踪R5结果如下:

 

实验操作:

李冰冰

2014/8/21

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 工作范文 > 行政公文

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1