Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
supiarmando
Participant

R80.20 PBR: source ip settings are ignored? Is this a bug?

 

> show pbr summary
PBR Summary

PBR has 3 tables
PBR table RouteToGuestWLANDHCPServer (ID=1) has 1 route
Default route, nexthop gateway
gateway eth4.543
preference 1
PBR table RouteToFW6 (ID=4) has 1 route
Default route, nexthop gateway
gateway 192.168.2.6
preference 1
PBR table RouteToFW20 (ID=5) has 1 route
Default route, nexthop gateway
gateway 192.168.5.20
preference 1

PBR has 5 rules
PBR rule 5 from 172.16.80.16/28 table 4
PBR rule 10 from 172.16.28.0/23 to 192.168.4.85/32 table 1
PBR rule 20 from 172.16.28.0/23 table 5
PBR rule 30 from 172.16.27.0/28 to 192.168.4.85/32 table 1
PBR rule 50 from 172.16.27.0/28 table 4

 

Sadly traffic from 172.16.28.0/23 or 172.16.27.0/28 both is routed to 192.168.5.20 (table5). If we change prio of rule 50 to 9 than traffic from 172.16.28.0/23 or 172.16.27.0/28 both is routed to 192.168.2.6 (table4).

But we would expect that 

-traffic from 172.16.28.0/23 > 192.168.5.20 (table5)

-traffic from 172.16.27.0/28 > 192.168.2.6 (table4)

???

Any help is very appreciated. Thank you

0 Kudos
5 Replies
the_rock
Legend
Legend

Ok, forgive me for my ignorance, but I dont see any rule for traffic you expect here. Am I missing something?

0 Kudos
supiarmando
Participant

hmmm, i do see the point.

There are match and action criteria. What else is required for pbr? What exactly are you missing?

PBR rule 5 from 172.16.80.16/28 table 4

PBR table RouteToFW6 (ID=4) has 1 route
Default route, nexthop gateway
gateway 192.168.2.6

???

Traffic from 172.16.80.16/28 is routed to 192.168.2.6 as next hop.

0 Kudos
the_rock
Legend
Legend

That looks correct...sorry, give me exact source and destination thats not working?

0 Kudos
supiarmando
Participant

traffic from

172.16.28.0/23 and 172.16.27.0/28 both matches the same action table!!! This is the problem.

0 Kudos
PhoneBoy
Admin
Admin

Sounds like a bug and you should engage with the TAC.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events