Skip to Content.

rare-users - Re: [RARE-users] Polka vs Segment Routing SRV6

Subject: RARE user and assistance email list

List archive


Re: [RARE-users] Polka vs Segment Routing SRV6


Chronological Thread 
  • From: Everson Borges <>
  • To: cs <>
  • Cc: "" <>
  • Subject: Re: [RARE-users] Polka vs Segment Routing SRV6
  • Date: Sat, 18 Jun 2022 14:26:25 -0300

Thanks, csaba

Now with your tips having a direction to go, I'll explore these examples, and try to get them to work, but if more questions come up soon, I'll ping for more help.

Em sáb., 18 de jun. de 2022 às 14:11, mc36 <> escreveu:
hi,
so the thing is that, sreth tunnel mode would be the dx2 in srv6 terminology,
and it is to carry layer2 frames over a specific ip.proto field... it is supported
in the dataplanes but not exported from freerouter right now only when you set up
an evpn with srv6: http://sources.freertr.org/cfg/p4lang-rout013.tst
it also demonstrates tunnel mode srv6, which is an internal construct to freerouter
to serve as a destination which you can advertise and deal with the srv6 packets...
one more thing to note is that right now nothing but vpns are supported from srv6
in the dataplanes, so no fancy policy routing stuff like you can do with polka...
(in software forwarding, you can impose the srext header and do the tricks, but
until they break the drafts yearly and i have to rework when i reevaluate the
interop tests with my v9000k, i resist to bring these to the dataplanes because
of the extra effotrt:))
regarding srmpls, here is the sample to look at: http://sources.freertr.org/cfg/p4lang-rout174.tst
one thing to note is that the dataplanes can impose no more than 2 labels, that is,
you can onyl have a single ip in the tunnel domain list... (the other label is used
exclusively when freerouter have to express an mpls l2/l3 vpn through an srmpls tunnel)
also note that if the tunnel headend is in software mode then it can impose any label stack...
on the other hand, rsvp-te is the only thing that can express arbitrary paths and could
be exported to the dataplanes... here is a sample: http://sources.freertr.org/cfg/p4lang-rout129.tst
br,
cs




On 6/18/22 18:47, Everson Borges wrote:
> Hi Csaba,
>
> With your help I managed to set polka on freertr in p4emu between vrfs, now I'm trying to set up segment routing and SRV6 to compare polka vc segrout v4 and SRV6.
>
> In the first  moment I tried to set up the test with some examples from the freertr.org <http://freertr.org> self test, but without success, if it's possible, can you help me?
>
> interface tunnel5
>    description tunnel segrout
>    tunnel vrf v1
>    tunnel source loopback0
>    tunnel destination 20.20.20.5
>    tunnel domain-name 20.20.20.2 20.20.20.3
>    tunnel mode sreth
>    vrf forwarding v2
>    ipv4 address 70.70.70.1 255.255.255.252
>    no shutdown
>    no log-link-change
>    exit
> !
> interface tunnel6
>    tunnel vrf v1
>    tunnel source sdn3
>    tunnel destination 9999:2::
>    tunnel mode srv6
>    vrf forwarding v2
>    ipv6 address 9999:1:: ffff:ffff::
>    no shutdown
>    no log-link-change
>    exit
> !
>
> --
> Att.
> Everson Scherrer Borges


--
Att.
Everson Scherrer Borges



Archive powered by MHonArc 2.6.19.

Top of Page