汉字 发表于 2007-4-20 15:55:57

map routing无效?,怎么回事??

ROS2.9.27

ip firewall mangle> pr
Flags: X - disabled, I - invalid, D - dynamic
0   chain=prerouting src-address=192.9.200.5
   action=mark-routing new-routing-mark=cnc
   passthrough=yes

1   chain=prerouting src-address=192.9.200.158
   routing-mark=tel2 action=mark-routing
   new-routing-mark=tel2 passthrough=yes

2   chain=prerouting src-address=192.9.200.126
   routing-mark=tel2 action=mark-routing
   new-routing-mark=cnc passthrough=yes

3   chain=prerouting src-address=192.9.200.6
   action=mark-routing new-routing-mark=cnc passthrough=no
ip firewall mangle>


C - connect, S - static, r - rip, b - bgp, o - ospf
0 ADC dst-address=58.49.xxx.xxx/29 pref-src=58.49.xxx.xxx
       interface=3com/tel1/3 scope=10 target-scope=0

1 ADC dst-address=192.9.200.0/24 pref-src=192.9.200.1
       interface=intel/IN/4 scope=10 target-scope=0

2 ADC dst-address=192.168.1.0/24 pref-src=192.168.1.145
       interface=intel/tel2/1 scope=10 target-scope=0

3 X S dst-address=202.103.24.68/32 gateway=192.168.1.1
       interface=intel/tel2/1 gateway-state=reachable
       scope=255 target-scope=10

4 X S dst-address=210.0.0.0/8 gateway=218.106.117.129
       interface=intel/cnc/2 gateway-state=reachable
       scope=255 target-scope=10

5 ADC dst-address=218.106.xxx.xxx/29 pref-src=218.106.xxx.xxx
       interface=intel/cnc/2 scope=10 target-scope=0

6 A S dst-address=0.0.0.0/0 gateway=58.49.xxx.xxx
       interface=3com/tel1/3 gateway-state=reachable
       scope=255 target-scope=10

7 A S dst-address=0.0.0.0/0 gateway=192.168.1.1
       interface=intel/tel2/1 gateway-state=reachable
       scope=255 target-scope=10 routing-mark=tel2

8 A S dst-address=0.0.0.0/0 gateway=218.106.xxx.xxx
       interface=intel/cnc/2 gateway-state=reachable
       scope=255 target-scope=10 routing-mark=cnc


.5,.6,.158还是走main表,另外两块卡基本没流量
如何解决?
页: [1]
查看完整版本: map routing无效?,怎么回事??