Skip to Content.

rare-dev - [rare-dev] multiple tunnels with pbr

Subject: Rare project developers

List archive


[rare-dev] multiple tunnels with pbr


Chronological Thread 
  • From: mc36 <>
  • To: "" <>, Everson Borges <>
  • Subject: [rare-dev] multiple tunnels with pbr
  • Date: Wed, 12 Jan 2022 08:24:30 +0100

hi,

yesterday during the vc you asked if we can demo a multiple path selection
with pbr stuff...
so yesss i'll prepare one for the next vc within my homenet until that, here
is a sketch
that you could try out on your topology at
https://github.com/eversonscherrer/freertr/tree/main/polKa
let's assume for now that you're set up two tunnels addressed as
30.30.30.0/30 and 30.30.30.4/30
then on your rio node you can configure the following:

access-list tos11
sequence 10 permit all any all any all tos 11-22
exit
access-list tos33
sequence 10 permit all any all any all tos 33-44
exit
ipv4 pbr v1 sequence 10 tos11 v1 nexthop 30.30.30.2
ipv4 pbr v1 sequence 20 tos33 v1 nexthop 30.30.30.6

as you can see it'll match exclusively on dscp (maiden name shifted tos:)
you could be able to test it with
ping 20.20.20.7 /siz 1111 /rep 11111111 /int lo0 /tos 15
ping 20.20.20.7 /siz 1111 /rep 11111111 /int lo0 /tos 35
ping 20.20.20.7 /siz 1111 /rep 11111111 /int lo0 /tos 45
and spot the difference... :)

regards,
cs



Archive powered by MHonArc 2.6.19.

Top of Page