策略路由双出口配置实例典型案例gns3

策略路由双出口配置实例典型案例gns3

ID:18981223

大小:95.50 KB

页数:3页

时间:2018-09-27

策略路由双出口配置实例典型案例gns3_第1页
策略路由双出口配置实例典型案例gns3_第2页
策略路由双出口配置实例典型案例gns3_第3页
资源描述:

《策略路由双出口配置实例典型案例gns3》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、策略路由双出口配置实验要求:1、R1连接本地子网,R2为边缘策略路由器,R3模拟双ISP接入的Internet环境。2、要求R1所连接的局域网部分流量走R2-R3间上条链路(ISP1链路),部分流量走R2-R3间下条链路(ISP2链路)从而实现基于源的供应商链路选择和网络负载均衡。各路由器配置如下:R1(config)#intlo0//模拟子网一:192.168.1.0/24R1(config-if)#ipadd192.168.1.1255.255.255.0//模拟子网中第一台主机R1(config-if)#ipadd192

2、.168.1.2255.255.255.0secondary//模拟子网中第二台主机R1(config-if)#intlo1R1(config-if)#ipadd192.168.2.1255.255.255.0R1(config-if)#ipadd192.168.2.2255.255.255.0secondaryR1(config-if)#intf0/0R1(config-if)#ipadd12.0.0.1255.255.255.0R1(config-if)#noshutR1(config-if)#exitR1(config)

3、#routerripR2(config-router)#version2R1(config-router)#net192.168.1.0R1(config-router)#net192.168.2.0R1(config-router)#net12.0.0.0策略路由器R2的配置R2(config)#intf0/0R2(config-if)#ipadd12.0.0.2255.255.255.0R2(config-if)#noshutR2(config-if)#ints1/1R2(config-if)#ipadd123.0.0.1

4、255.255.255.0R2(config-if)#noshutR2(config-if)#ints1/3R2(config-if)#ipadd223.0.0.1255.255.255.0R2(config-if)#noshutR2(config-if)#exitR2(config)#routerripR2(config-router)#version2R2(config-router)#net12.0.0.0R2(config-router)#net123.0.0.0R2(config-router)#net223.0.0

5、.0R2(config-router)#noauR2(config)#access-list101perip192.168.1.00.0.0.255host100.100.100.100R2(config)#access-list102perip192.168.2.00.0.0.255host100.100.100.100R2(config)#route-mapisp-testpermit10//定义route-map,取名为isp-test,序列为10R2(config-route-map)#matchipaddress10

6、1//检查源地址,匹配acl101R2(config-route-map)#setipdefaultnext-hop123.0.0.3//指定下一跳地址R2(config)#route-mapisp-testper20//定义isp-test的第二条语句,序列号为20R2(config-route-map)#matchipaddress102//检查源地下,匹配acl102R2(config-route-map)#setipdefaultnext223.0.0.3R2(config-route-map)#exitR2(conf

7、ig)#route-mapisp-testper30//定义isp-test的第三条语句,序列号为30R2(config-route-map)#setdefaultinterfacenull0//丢弃不匹配规定标准的包R2(config-route-map)#exitR2(config)#intf0/0R2(config-if)#ippolicyroute-mapisp-test//在接口上启用策略路由isp-test进行流量控制R3(config)#intlo0//模拟一个连接目标R3(config-if)#ipadd100

8、.100.100.100255.255.255.0R3(config-if)#noshutR3(config-if)#ints1/1//模拟ISP1的接入端口R3(config-if)#ipadd123.0.0.3255.255.255.0R3(config-if)#nosh

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。