Subject: Rare project developers
List archive
Re: [rare-dev] https://www.ietf.org/archive/id/draft-ietf-idr-bgp-ct-00.html#name-co-authors
Chronological Thread
- From: mc36 <>
- To: Kaliraj Vairavakkalai <>, Natrajan Venkataraman <>
- Cc: "" <>
- Subject: Re: [rare-dev] https://www.ietf.org/archive/id/draft-ietf-idr-bgp-ct-00.html#name-co-authors
- Date: Thu, 22 Dec 2022 12:40:55 +0100
hi,
i just prepared a christmas present for you:
rare/freerouter just got colorful vrfs, and it exports and imports from bgp
ctp afi...
tbh it was not too hard at all, i just reused the vrf class afterall... :)
https://github.com/rare-freertr/freeRtr/commit/f0eb1bc325b5a2d1c58d670b22a7fc44d8a29850
i'll add some test cases covering the import/export in a later commit... :)
okk, i also need to be able to parse the color:100 extcomm in the vrf config,
also later...
and yeahh, the backup rt thing is also missing at the moment... :)
and finally, i really need to deal with the flex algo topologies from the
igps... :)
but heyy, if you wish, we could show them an other round of interop on the
next ietf,
and at this time, freerouter could go without the outer ldp label imho... :)
for now, rare/freertr could do an
---[ebgp]----asbr1--[ibgp]---asbr2----[ebgp]---
where you dont need ldp in between the asbr12...
br,
cs
sid#show config-differences
vrf definition v5
no rt6export 1:5
no rt6import 1:5
no rt4export 1:5
no rt4import 1:5
rt4import 1:4
rt4export 1:4
rt6import 1:4
rt6export 1:4
exit
hairpin 1
exit
interface loopback4
vrf forwarding v4
ipv4 address 2.2.2.2 255.255.255.255
no shutdown
no log-link-change
exit
interface loopback5
vrf forwarding v5
ipv4 address 2.2.2.3 255.255.255.255
no shutdown
no log-link-change
exit
interface hairpin11
vrf forwarding v2
ipv4 address 1.1.1.1 255.255.255.252
mpls enable
no shutdown
no log-link-change
exit
interface hairpin12
vrf forwarding v3
ipv4 address 1.1.1.2 255.255.255.252
mpls enable
no shutdown
no log-link-change
exit
router bgp4 2
vrf v2
local-as 1
router-id 1.1.1.1
address-family ctp
neighbor 1.1.1.2 remote-as 2
neighbor 1.1.1.2 local-as 1
neighbor 1.1.1.2 address-family ctp
neighbor 1.1.1.2 distance 20
neighbor 1.1.1.2 send-community standard extended
afi-ctp v4 enable
afi-ctp v4 redistribute connected
exit
router bgp4 3
vrf v3
local-as 2
router-id 1.1.1.2
address-family ctp
neighbor 1.1.1.1 remote-as 1
neighbor 1.1.1.1 local-as 2
neighbor 1.1.1.1 address-family ctp
neighbor 1.1.1.1 distance 20
neighbor 1.1.1.1 send-community standard extended
afi-ctp v5 enable
afi-ctp v5 redistribute connected
exit
sid#
sid#show ipv4 bgp 2 ctp database
prefix hop metric aspath
2.2.2.2/32 1:4 null 0/0/0/0
2.2.2.3/32 1:5 1.1.1.2 20/100/0/0 2
sid#show ipv4 bgp 3 ctp database
prefix hop metric aspath
2.2.2.2/32 1:4 1.1.1.1 20/100/0/0 1
2.2.2.3/32 1:5 null 0/0/0/0
sid#show ipv4 route v4
typ prefix metric iface hop time
C 2.2.2.2/32 0/0 loopback4 null 00:00:16
B 2.2.2.3/32 20/0 null@v2:4 1.1.1.2 00:00:14
sid#show ipv4 route v5
typ prefix metric iface hop time
B 2.2.2.2/32 20/0 null@v3:4 1.1.1.1 00:00:14
C 2.2.2.3/32 0/0 loopback5 null 00:00:17
sid#
sid#ping 2.2.2.3 vrf v4
pinging 2.2.2.3, src=null, vrf=v4, cnt=5, len=64, df=false, tim=1000, gap=0,
ttl=255, tos=0, sgt=0, flow=0, fill=0, alrt=-1, sweep=false, multi=false
!!!!!
result=100.0%, recv/sent/lost/err=5/5/0/0, took 1, min/avg/max/dev
rtt=0/0.1/1/0.1, ttl 255/255/255/0.0, tos 0/0.0/0/0.0
sid#show interfaces hairpin11 ethertypes
packet byte
type value handler tx rx drop tx rx drop
ethtyp 0000 null 0 0 0 0 0 0
ethtyp 0800 ip4 51 48 0 3083 3011 0
ethtyp 0806 arp4 2 2 0 60 60 0
ethtyp 8847 mplsUni 10 10 0 700 700 0
ethtyp 8848 mplsMulti 0 0 0 0 0 0
sid#
On 12/22/22 11:58, mc36 wrote:
hi,
i just noticed some typos in the draft... :)
"
Csaba Mates
Hungarian NREN
"
should be
"
Csaba Mate
KIFU, Hungarian NREN
"
thanks,
cs
- Re: [rare-dev] https://www.ietf.org/archive/id/draft-ietf-idr-bgp-ct-00.html#name-co-authors, mc36, 12/22/2022
- Re: [rare-dev] https://www.ietf.org/archive/id/draft-ietf-idr-bgp-ct-00.html#name-co-authors, mc36, 12/22/2022
- Re: [rare-dev] https://www.ietf.org/archive/id/draft-ietf-idr-bgp-ct-00.html#name-co-authors, mc36, 12/22/2022
- Re: [rare-dev] https://www.ietf.org/archive/id/draft-ietf-idr-bgp-ct-00.html#name-co-authors, Kaliraj Vairavakkalai, 12/22/2022
- Re: [rare-dev] https://www.ietf.org/archive/id/draft-ietf-idr-bgp-ct-00.html#name-co-authors, Natrajan Venkataraman, 12/27/2022
Archive powered by MHonArc 2.6.19.