LAN Routing
1748202 Members
3061 Online
108759 Solutions
New Discussion

Routing Policy on Layer 3 S5500

 
taxair
Occasional Collector

Routing Policy on Layer 3 S5500

I'm having trouble with a routing policy.

I have a H3C S5500 Layer 3 switch setup as follows

 

vlan 1:192.168.1.0 /24

vlan 2:192.168.0.0 /24

 

static routes

0.0.0.00.0.0.0192.168.1.2

 

I've only included the default route to simplify things. I want a routing policy that does this. If the packet is sent from 192.168.0.10, set the next hop to 192.168.1.9 (instead of 1.6). If it is sent from any other address on the 192.168.0.x network, it should follow the default route.

 

This seems very easy, but I cannot get it to work.

 

Can anybody help?

1 REPLY 1
manuel.bitzi
Trusted Contributor

Re: Routing Policy on Layer 3 S5500

I dont know if this is really supported on A5500, but on A5800 it works like that:

 

 

acl number 2000
 rule 0 permit source 192.168.0.10 0
#

route-policy myOne permit node 10
 if-match acl 2000 
 apply ip-address next-hop 192.168.1.9

#

interface Vlan-interface2

 route-policy myOne

#

 

br

Manuel

 

H3CSE, MASE Network Infrastructure [2011], Switzerland