Skip to Content.
Sympa Menu

rare-users - Re: [RARE-users] [rare-dev] eBGP not always brings up

Subject: RARE user and assistance email list

List archive

Re: [RARE-users] [rare-dev] eBGP not always brings up


Chronological Thread 
  • From: Maria Del Carmen Misa Moreira <>
  • To: mc36 <>
  • Cc: "" <>
  • Subject: Re: [RARE-users] [rare-dev] eBGP not always brings up
  • Date: Mon, 9 Jan 2023 13:54:44 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cern.ch; dmarc=pass action=none header.from=cern.ch; dkim=pass header.d=cern.ch; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gVEWse5RaUtoNaDlxe5vLduQmGQ7J8JniVEKwpkB1pw=; b=eLnQA+KoYJKmUatndwIPAz8WJ2H3PY+MYWdvDdU11gutyq+vNJHLiVzyRH0iJpCNHokBLjArVE2KwDLWVnFkUJg9SulR8hLO4ziMyf3mFk3zaU6jZ5igx4I9KRxf2nkp4nqoZiXVcdqUoqDMccOsKfyHIV+eRj74zXH/6OsU7L+IY75lCnzsVVrx9oKOo+CDd6YfRGA9PX+OkKkORFR/QbEHtg/Ne74WUywZTFm9IlerM5KN6rLWfsd0zoaYHoNgN7V+Z4v5jgq99kNqaj4W4yALMoEanNKIOF2FPaNFoZMLYgT4z106JDqMUYnmII/yTEMePE7luIJa7xPSHxDfog==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ECgbKUEKV2m3hnJv0cX4DIwVgmomofGZo7sFn4OeG1XKzbPS0uVlbKiFfVGixfd6FogTA4vzOY2EFeHNDsLEBIwqaJsiVv55UWd4Sj2xi78Qd/bMe9YAZdrslnkz/+bENwrNd/g4cvPOm+wu/Vh4SBpvE+4rmXv6iOO7x4zkTGrU8Rl+aQiser7CQe+PMaOIpkyZ601fM8n6QaUrsM3XXhD7tETF113U1GAqU+A2xC/zcxhb7eqxtIL4xe3uJ4uQ85ABOCuQWLrwfNApI4545G5yyaF2kTccVe60vp+Evwkw1Cqt8fgYp/TtXN5eFU+Fs3iJrZ+7Bl1sqUN8rJiA+w==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cern.ch;

Hi Csaba,

Thanks!
Just to be sure, the version that I’m using allows to do PBR based on the
flow label by using an access-list?
I’m just asking because on the switch we needed to change the profile.

Cheers,
Carmen Misa


> On 9 Jan 2023, at 13:46, mc36 <> wrote:
>
> here is the mpls test case we discussed briefly:
> http://sources.freertr.org/cfg/rout-bgp036.tst
> you can start it this way on your local computer:
>
> wget freertr.org/rtr.zip
> unzip rtr.zip
> cd src
> ./c.sh
> ./tw.sh rout-bgp036.tst
> telnet localhost 20001
> telnet localhost 20002
> telnet localhost 20003
>
> r1 is a pe with customer vrfs v2,v3,v4
> r2 is a p without customer vrfs
> r3 is a pe with customer vrfs v2,v3,v4
> v1 is the core vrf everywhere... i used static routing in this core vrf but
> you can reuse your ospf to distribute the loopbacks...
> bgp on the pe routers should have vpnuni for ipv4 customer routes and
> ovpnuni for ipv6 customer routes
> then you can redistribute whatever you want into the afi-vrf v2..v4.. even
> an whole other routing protocol,
> like an ebgp process toward the customer router... one more note, you'll
> need mutual redistribution between
> the ibgp and the ebgp processes to have connectivity...
>
> doing this way you can eliminate the subinterfaces in the core and the
> burden of running paralell routing protocols to have more vrfs....
> morever it's more secure because the core routes are fully separated from
> the customer routes... just check it out! :)
>
> br,
> cs
>
>
>
>
> On 1/9/23 13:36, mc36 wrote:
>> On 1/9/23 13:16, Maria Del Carmen Misa Moreira wrote:
>>> https://letsmeet.hu/multione <https://letsmeet.hu/multione>
>>> I m here
>>>
>>>
>>>> On 9 Jan 2023, at 13:10, mc36 < <>> wrote:
>>>>
>>>> okk then please drop me the zoom link and the topology.... im also free
>>>> from now.. :)
>>>>
>>>> On 1/9/23 11:50, Maria Del Carmen Misa Moreira wrote:
>>>>> Hi Csaba,
>>>>> Here it is. I m completely free today or the rest of the week, just
>>>>> let me know.
>>>>>> On 9 Jan 2023, at 11:02, mc36 < <>> wrote:
>>>>>>
>>>>>> hi,
>>>>>> please drop me the zip, it would be much easier for me to troubleshoot
>>>>>> you on my local computer... :)
>>>>>> if you would like to join the session then lets have the zoom when you
>>>>>> feel it fits to your time...
>>>>>> thanks,
>>>>>> cs
>>>>>>
>>>>>>
>>>>>> On 1/9/23 10:59, Maria Del Carmen Misa Moreira wrote:
>>>>>>> Hi Csaba,
>>>>>>> Right now I have a weird behaviour, I will try to explain it here
>>>>>>> 1st problem: ping from R11 -> R3 works (R11 -> R1 -> R2 -> R3) but
>>>>>>> the other way around not (R3 -> R2 -> R1 (stops here and not reaches
>>>>>>> R11). This is not very clear to my why because at IP level it should
>>>>>>> work in both directions.
>>>>>>> 2nd problem: traceroute from R11 (AS 100) -> R33 (AS 300) is fine: AS
>>>>>>> path 30 300 because it follows this path: R11 (AS 100) -> R1 (AS 30)
>>>>>>> -> R2 (AS 30) -> R3(AS 30) -> R33 (AS 300) but the ping doesn t
>>>>>>> work (it reaches R3 but not R33).
>>>>>>> In general, the ping and the traceroute are fine until it reaches the
>>>>>>> last router of the client (RX).
>>>>>>> I can send you an updated version of the simulation or directly
>>>>>>> explain it to you in zoom.
>>>>>>> Thanks,
>>>>>>> Cheers,
>>>>>>> Carmen Misa
>>>>>>>> On 5 Jan 2023, at 10:19, mc36 < <>> wrote:
>>>>>>>>
>>>>>>>> hi,
>>>>>>>> good to hear, thanks for the confirmation!
>>>>>>>> (and congrats again for your nice topology!:)
>>>>>>>> br,
>>>>>>>> cs
>>>>>>>>
>>>>>>>> On 1/5/23 10:17, Maria Del Carmen Misa Moreira wrote:
>>>>>>>>> Hi Csaba,
>>>>>>>>> Thanks! Now it s working perfectly, I missed that error
>>>>>>>>> Cheers,
>>>>>>>>> Carmen Misa
>>>>>>>>>> El 4 ene 2023, a las 21:59, mc36 < <>>
>>>>>>>>>> escribi :
>>>>>>>>>>
>>>>>>>>>> hi,
>>>>>>>>>> you're unbelivebeable! you built up a whole topology alone,
>>>>>>>>>> without asking a question! congrats!
>>>>>>>>>> here is my findings after checking out the r4-r44 connection... i
>>>>>>>>>> enabled cdp on the interface:
>>>>>>>>>>
>>>>>>>>>> R44#show cdp neighbor
>>>>>>>>>> interface hostname iface ipv4 ipv6
>>>>>>>>>> ethernet1 R4 ethernet3 null null
>>>>>>>>>>
>>>>>>>>>> R44#
>>>>>>>>>>
>>>>>>>>>> R4#show cdp neighbor
>>>>>>>>>> interface hostname iface ipv4 ipv6
>>>>>>>>>>
>>>>>>>>>> R4#
>>>>>>>>>>
>>>>>>>>>> but it indicates a one-way connection....
>>>>>>>>>>
>>>>>>>>>> R4#show interfaces ethernet3
>>>>>>>>>> ethernet3 is up
>>>>>>>>>> description:
>>>>>>>>>> state changed 3 times, last at 2023-01-04 20:42:07, 00:10:46 ago
>>>>>>>>>> last packet input never ago, output 00:00:00 ago, drop never ago
>>>>>>>>>> type is ethernet, hwaddr=0000.4444.0005, mtu=1500, bw=100mbps
>>>>>>>>>> received 0 packets (0 bytes) dropped 0 packets (0 bytes)
>>>>>>>>>> transmitted 1817 packets (103734 bytes) macsec=false sgt=false
>>>>>>>>>>
>>>>>>>>>> R4#
>>>>>>>>>>
>>>>>>>>>> on r4 i cannot see received packets... on r44 i have both rx and
>>>>>>>>>> tx:
>>>>>>>>>>
>>>>>>>>>> R44#show interfaces ethernet1
>>>>>>>>>> ethernet1 is up
>>>>>>>>>> description:
>>>>>>>>>> state changed 3 times, last at 2023-01-04 20:42:07, 00:12:10 ago
>>>>>>>>>> last packet input 00:00:00 ago, output 00:00:00 ago, drop 00:00:00
>>>>>>>>>> ago
>>>>>>>>>> type is ethernet, hwaddr=0000.8888.0001, mtu=1500, bw=100mbps
>>>>>>>>>> received 6069 packets (363198 bytes) dropped 1982 packets (112310
>>>>>>>>>> bytes)
>>>>>>>>>> transmitted 4088 packets (246816 bytes) macsec=false sgt=false
>>>>>>>>>>
>>>>>>>>>> R44#
>>>>>>>>>>
>>>>>>>>>> then grepping around for 46025 showed me that you reused this port
>>>>>>>>>> for both r4-r44 and r3-r33 connection!
>>>>>>>>>> so you had a competition, one or the other was able to use the
>>>>>>>>>> interface and communicate... :)
>>>>>>>>>> br,
>>>>>>>>>> cs
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 1/4/23 21:26, Maria Del Carmen Misa Moreira wrote:
>>>>>>>>>>> Hi Csaba,
>>>>>>>>>>> I attach here all the hw and sw files that I m using for the
>>>>>>>>>>> simulation with topology.png and readme.txt files for
>>>>>>>>>>> clarification and start_topology.sh to load and start all the
>>>>>>>>>>> routers.
>>>>>>>>>>> All the boxes are using Freertr and the log at the beginning is
>>>>>>>>>>> fine without errors:
>>>>>>>>>>> info cfgInit.doInit:cfgInit.java:775 booting
>>>>>>>>>>> info cfgInit.doInit:cfgInit.java:957 initializing hardware
>>>>>>>>>>> info cfgInit.doInit:cfgInit.java:963 applying defaults
>>>>>>>>>>> info cfgInit.doInit:cfgInit.java:984 applying configuration
>>>>>>>>>>> info cfgInit.doInit:cfgInit.java:1019 boot completed
>>>>>>>>>>> Tomorrow I will be able from 8h until 17h or later if it s
>>>>>>>>>>> needed.
>>>>>>>>>>> Cheeers,
>>>>>>>>>>> Carmen Misa
>>>>>>>>>>>> El 4 ene 2023, a las 13:24, mc36 < <>>
>>>>>>>>>>>> escribi :
>>>>>>>>>>>> hi,
>>>>>>>>>>>> so bgp peer establishment is somewhat random: the original rfc
>>>>>>>>>>>> does not mention that the higher/lower ip should initiate the tcp
>>>>>>>>>>>> so i'm copying the ios xr behavior: it tries active then passive
>>>>>>>>>>>> open with random timers and fingers crossed, it'll come up...
>>>>>>>>>>>> all my interop with cisco xr, cisco xe, junos, frr and self
>>>>>>>>>>>> tests (about 800 bgp tests in total) pass fine without a single
>>>>>>>>>>>> retry so it cannot be that bad.. the only issue i know about is
>>>>>>>>>>>> with bird in my dn42 peerings, which does wildcard listen on
>>>>>>>>>>>> port 179, causing every active open to succeed, but sometimes
>>>>>>>>>>>> it's simultaneous with their active open resulting in collisions
>>>>>>>>>>>> at the bird side.. then their side closes one or the other
>>>>>>>>>>>> without a notify message causing log flood on freerouter side
>>>>>>>>>>>> until the session finally comes up...
>>>>>>>>>>>> in your topology, i've a lot of questions:
>>>>>>>>>>>> -what is that (as10, as20, as30) notation? the common way is
>>>>>>>>>>>> that one box belongs to one asn?
>>>>>>>>>>>> -what box is freerouter and what the other boxes are?
>>>>>>>>>>>> -do you see anything in the freerouter and the opposite box's
>>>>>>>>>>>> logs?
>>>>>>>>>>>> -can you share the simulation in order to be able to reproduce?
>>>>>>>>>>>> -if not, can we have a debug session together?
>>>>>>>>>>>> thanks,
>>>>>>>>>>>> cs
>>>>>>>>>>>> On 1/4/23 12:24, Maria Del Carmen Misa Moreira wrote:
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>> I have a full mesh topology RX configured with iBGP, OSPF, 3
>>>>>>>>>>>>> VLANs and 3 VRFs (BGP is configured with the address of the
>>>>>>>>>>>>> loopbacks: 1 loopback per VLAN). Every router has a client RXX
>>>>>>>>>>>>> with OSPF passive, eBGP, a different AS number and 1 VRF.
>>>>>>>>>>>>> (AS100) R11 ---- (AS10, AS20, AS30) R1 ---- (AS10,
>>>>>>>>>>>>> AS20, AS30)R4 ---- (AS400) R44
>>>>>>>>>>>>> *|*|**
>>>>>>>>>>>>> (AS200) R22 ---- (AS10, AS20, AS30) R2 ---- (AS10, AS20, AS30)
>>>>>>>>>>>>> R3 ----(AS300) R33
>>>>>>>>>>>>> The topology is working fine so I can ping each other, iBGP is
>>>>>>>>>>>>> up but eBGP is not completly up. I noted that R11 and R22 are
>>>>>>>>>>>>> always up but for R33 and R44 it depends... This is the
>>>>>>>>>>>>> behaviour that I'm seeing: I run the simulation and R11/R22
>>>>>>>>>>>>> bring up and also R33 (not R44), then, I run again the
>>>>>>>>>>>>> simulation with exactly the same configuration and sometimes it
>>>>>>>>>>>>> happens that R44 brings up and not R33 or even worst none of
>>>>>>>>>>>>> them (R33,
>>>>>>>>>>> R44).
>>>>>>>>>>>>> Any idea? I have no idea why only one of those (R33, R44)
>>>>>>>>>>>>> brings up and not the other and when you run it again it be
>>>>>>>>>>>>> opposite behaviour.
>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>> Camen Misa
>>>

Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.19.

Top of Page