Comware Based
1753751 Members
5275 Online
108799 Solutions
New Discussion

policy based routing issue

 
pnobels
Contributor

policy based routing issue

Hi,

i have a A5500-48G EI JD375A

Comware Software, Version 5.20.99, Release 2221P20

We basically want to use two different uplinks.  So we're using policy based routing to solve this.  To test we wanted to redirect all trafic from the guest vlan (vlan 4 which is 172.27.165.0/24) to another gateway 172.18.18.254.

Snippets...

acl number 2106
description policy based routing guests
rule 5 permit source 172.27.165.0 0.0.0.255

vlan 4
description VLAN_NWW_GUESTS
name VLAN_NWW_GUESTS

interface Vlan-interface1018
ip address 172.18.18.210 255.255.255.0

policy-based-route PBR-GUESTS permit node 10
if-match acl 2106
apply ip-address next-hop 172.18.18.254

ip local policy-based-route PBR-GUESTS

I see the acl being triggered for dhcp request.  But that's it.  In the guest vlan i get an ip address, but when i run tracert it still takes the default route.  I also added :

debugging ip policy-based-route

but no entries appear on the terminal.

What am i missing?

1 REPLY 1
srini_c
Occasional Advisor

Re: policy based routing issue

Hi,

You have to apply the following command on source vlan (Vlan 4)

ip  policy-based-route PBR-GUESTS

 

I am a HPE Employee