Chinaunix首页 | 论坛 | 博客
  • 博客访问: 710256
  • 博文数量: 67
  • 博客积分: 3148
  • 博客等级: 中校
  • 技术积分: 1084
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-10 14:33
文章分类

全部博文(67)

文章存档

2013年(2)

2012年(11)

2011年(33)

2010年(21)

我的朋友

分类:

2011-08-09 13:02:42

在一台SRG2200上配置了策略路由后,发现内网接口不能telnet了,也ping不通,但数据转发正常。上网查了一下路由选择的顺序最先匹配策略路由,其次是路由表,最后是默认路由。我对内网网关访问估计是匹配了策略路由,而直连路由是在路由表中的。

觉得华为这样设计有些不合理,对内网网关的访问属于同一网段的访问,没必要匹配到策略路由。

相关配置:#acl number 2000rule 5 permit source 192.168.0.0 0.0.0.255#policy-based-route test permit node 10if-match acl 2000apply ip-address next-hop 172.16.0.1#interface GigabitEthernet0/0/0 //内网网关ip address 192.168.0.1 255.255.255.0ip policy-based-route test

路由器信息:

display version

Huawei Versatile Routing Platform Software

Software Version: SRG2200 V100R002C02SPC300 (VRP (R) Software, Version 5.30)

Copyright (c) 2008-2011 Huawei Technologies Co., Ltd.

HUAWEI SRG2210 uptime is 0 week, 0 day, 0 hour, 4 minutes

display ip routing-table statistics

Proto total active added deleted freed

routes routes routes routes routes

DIRECT 4 4 4 0 0

STATIC 0 0 0 0 0

RIP 0 0 0 0 0

OSPF 0 0 0 0 0

IS-IS 0 0 0 0 0

BGP 0 0 0 0 0

Total 4 4 4 0 0

阅读(5210) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~