Subject: RARE user and assistance email list
List archive
- From: Frédéric LOUI <>
- To:
- Subject: Re: [RARE-users] Basic Bridge
- Date: Mon, 21 Feb 2022 17:11:12 +0100
- Dkim-filter: OpenDKIM Filter v2.10.3 zmtaauth04.partage.renater.fr 4122B1C06C5
> Where is the instruction to recompile RARE/FreeRtr for a Linux platform?
INTEL/BAREFOOT documentation indicates how to compile a p4 program.
> Or where can I find "a compile version having BRIDGE via GRPC" for Linux,
> please?
Either you recompile the program on a node in GP4L.
But as said I’ve compiled your PROFILE_RENATER_PEERING_L2 in our Lab.
> I do not know what does it mean?
Virtual bf_switchd is also called bf_switchd "model"
> Le 21 févr. 2022 à 17:02, Xavier Jeannin <> a
> écrit :
>
>
> Le 21/02/2022 à 16:55, Frédéric LOUI a écrit :
>> 1) If you declared an additional VRF you’d indeed have to export it in
>> "server p4lang p4 »
>> 2) You need to recompile p4 program with HAVE_BRIDGE, or load a compile
>> version having BRIDGE via GRPC
> Where is the instruction to recompile RARE/FreeRtr for a Linux platform?
> Or where can I find "a compile version having BRIDGE via GRPC" for Linux,
> please?
>>
>> This is why I suggest you should start first with model :)
>
> I do not know what does it mean?
>
> Regards
> Xavier
>
>>
>> That being said, I just finished counters implementation on our internal
>> LAB.
>>
>> So you an use it in order to validate bridge L2 features.
>>
>> I can compile this profile for you:
>> https://bitbucket.software.geant.org/projects/RARE/repos/rare/browse/profiles/profile-renater-peering-l2.p4
>>
>>
>>> Le 21 févr. 2022 à 16:42, Xavier Jeannin <> a
>>> écrit :
>>>
>>> 1/ other missing point in the conf, I suppose I also have to add
>>> "export-vrf "
>>> 2/ thank you Csaba, is it easy to have the bridging available in the
>>> p4lab ? if not I will then implement it elsewhere ...
>>>
>>> Regards
>>> Xavier
>>>
>>>
>>>
>>> Le 21/02/2022 à 16:37, mc36 a écrit :
>>>
>>>> and i see an other issue: the p4lab profile does not have bridging
>>>> enabled in tofino.bin....
>>>>
>>>>
>>>> On 2/21/22 15:51, Fr d ric LOUI wrote:
>>>>> Xavier,
>>>>>
>>>>> You exported sdn1.2200 with id: 133 which is TOFINO port 31/1 on WEDGE
>>>>> (At least on WEDGE in my LAB)
>>>>>
>>>>> Sub-interface or logical interface should not use port_id used by
>>>>> TOFINO.
>>>>>
>>>>> In my example I put:
>>>>> export-port sdn1.2200 211 10 0 0 0
>>>>>
>>>>> You are safe to use ID _above_ 200.
>>>>>
>>>>> So for sdn3.2200 you can declare it as:
>>>>> export-port sdn3.2200 212 10 0 0 0
>>>>>
>>>>> But remove these lines:
>>>>> export-port sdn2.2200 141 10 0 0 0
>>>>>
>>>>> 141 is TOFINO port 32/1 ...
>>>>>
>>>>> sdn3.2200 declaration is OK
>>>>> export-port sdn3.2200 202 10 0 0 0
>>>>>
>>>>>> Le 21 f vr. 2022 15:08, Xavier Jeannin <>
>>>>>> a crit :
>>>>>>
>>>>>> Hello
>>>>>>
>>>>>> thank you
>>>>>>
>>>>>> I added the bridge (export-bridge) and the 2 interfaces (export-port)
>>>>>> I also put nothing in sdn1 (previously there was IP addresses)
>>>>>> but still the interface sdn1 and sdn1.2200 are down
>>>>>>
>>>>>> AMS0001#show running-config interface sdn1
>>>>>> interface sdn1
>>>>>> no description
>>>>>> mtu 1500
>>>>>> macaddr 005c.3543.4915
>>>>>> no shutdown
>>>>>> no log-link-change
>>>>>> exit
>>>>>> !
>>>>>>
>>>>>> AMS0001#show running-config interface sdn1.2200
>>>>>> interface sdn1.2200
>>>>>> description ""LAYER 2 VLAN 2200 to FRA2"
>>>>>> macaddr 2200.2200.0001
>>>>>> bridge-group 1
>>>>>> no shutdown
>>>>>> no log-link-change
>>>>>> exit
>>>>>> !
>>>>>>
>>>>>> AMS0001#show running-config server p4lang
>>>>>> server p4lang p4
>>>>>> export-vrf CORE 1
>>>>>> export-vrf v2 2
>>>>>> export-vrf INB_MGNT 3
>>>>>> export-bridge 1
>>>>>> export-port sdn1 132 10 0 0 0
>>>>>> export-port sdn1.2200 133 10 0 0 0
>>>>>> export-port sdn2 140 10 0 0 0
>>>>>> export-port sdn2.2200 141 10 0 0 0
>>>>>> export-port sdn3 148 10 0 0 0
>>>>>> export-port sdn3.2200 202 10 0 0 0
>>>>>> export-port sdn3.701 203 10 0 0 0
>>>>>> export-port sdn3.3068 204 10 0 0 0
>>>>>> export-port sdn3.1916 205 10 0 0 0
>>>>>> export-port sdn3.702 206 10 0 0 0
>>>>>> export-port sdn3.101 207 10 0 0 0
>>>>>> export-port sdn3.1214 208 0 0 0 0
>>>>>> export-port tunnel1122 210 10 0 0 0
>>>>>> export-port sdn3.102 211 10 0 0 0
>>>>>> interconnect ethernet0
>>>>>> vrf p4
>>>>>> exit
>>>>>>
>>>>>> Regards
>>>>>> Xavier
>>>>>>
>>>>>> Le 21/02/2022 14:33, Fr d ric LOUI a crit :
>>>>>>> You can look at freertr test case here:
>>>>>>> http://sources.nop.hu/cfg/p4lang-acl13.tst
>>>>>>>
>>>>>>> You ll be able to see how bridge and related interface are declared.
>>>>>>>
>>>>>>>> Le 21 f vr. 2022 14:27, Fr d ric LOUI
>>>>>>>> <> a crit :
>>>>>>>>
>>>>>>>> You also have to add the bridge in "server p4lang p4 If you want
>>>>>>>> it to be taken into account by the dataplane.
>>>>>>>>
>>>>>>>> AMS0001(cfg)#server p4lang p4
>>>>>>>> AMS0001(cfg-server)#export-bridge ?
>>>>>>>> <num> - bridge number
>>>>>>>>
>>>>>>>>
>>>>>>>> And also the interface you bound to the bridge. e.g sdn1.2200
>>>>>>>>
>>>>>>>> AMS0001(cfg-server)#export-port sdn1.2200 211 10 0 0 0
>>>>>>>>
>>>>>>>>> Le 21 f vr. 2022 11:25, Xavier Jeannin
>>>>>>>>> <> a crit :
>>>>>>>>>
>>>>>>>>> We declare a bridge and put a subinterface sdn1.2200 in the bridge
>>>>>> --
>>>>>> Xavier JEANNIN
>>>>>> Network Dpt. - Innovation manager
>>>>>> GN4-3 Network technology evolution (WP6 T1) task leader
>>>>>> T l. : +33 1 5394 2042
>>>>>> Mob. : +33 6 3017 0963
>>>>>> www.renater.fr
>>>>>>
>>> --
>>> Xavier JEANNIN
>>> Network Dpt. - Innovation manager
>>> GN4-3 Network technology evolution (WP6 T1) task leader
>>> Tél. : +33 1 5394 2042
>>> Mob. : +33 6 3017 0963
>>> www.renater.fr
>>>
> --
> Xavier JEANNIN
> Network Dpt. - Innovation manager
> GN4-3 Network technology evolution (WP6 T1) task leader
> Tél. : +33 1 5394 2042
> Mob. : +33 6 3017 0963
> www.renater.fr
>
- Re: [RARE-users] Basic Bridge, (continued)
- Re: [RARE-users] Basic Bridge, Xavier Jeannin, 02/21/2022
- Re: [RARE-users] Basic Bridge, Maria Del Carmen Misa Moreira, 02/21/2022
- Re: [RARE-users] Basic Bridge, Xavier Jeannin, 02/21/2022
- Re: [RARE-users] Basic Bridge, Frédéric LOUI, 02/21/2022
- Re: [RARE-users] Basic Bridge, mc36, 02/21/2022
- Re: [RARE-users] Basic Bridge, Xavier Jeannin, 02/21/2022
- Re: [RARE-users] Basic Bridge, mc36, 02/21/2022
- Re: [RARE-users] Basic Bridge, Xavier Jeannin, 02/21/2022
- Re: [RARE-users] Basic Bridge, Frédéric LOUI, 02/21/2022
- Re: [RARE-users] Basic Bridge, Xavier Jeannin, 02/21/2022
- Re: [RARE-users] Basic Bridge, Frédéric LOUI, 02/21/2022
- Re: [RARE-users] Basic Bridge, Xavier Jeannin, 02/21/2022
- Re: [RARE-users] Basic Bridge, Xavier Jeannin, 02/21/2022
- Re: [RARE-users] Basic Bridge, mc36, 02/21/2022
- Re: [RARE-users] Basic Bridge, Maria Del Carmen Misa Moreira, 02/21/2022
- Re: [RARE-users] Basic Bridge, Xavier Jeannin, 02/21/2022
Archive powered by MHonArc 2.6.19.