Subject: RARE user and assistance email list
List archive
- From: mc36 <>
- To: , Xavier Jeannin <>, "" <>
- Subject: Re: [RARE-users] Basic Bridge
- Date: Mon, 21 Feb 2022 16:45:07 +0100
as far as i know alex is busy cooking something
which have a freerouter built-in command for that....
until that, i'm unsure how to achieve that...:)
regards,
cs
On 2/21/22 16:42, Xavier Jeannin wrote:
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
- [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, Frédéric LOUI, 02/21/2022
- 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
- Re: [RARE-users] Basic Bridge, Frédéric LOUI, 02/21/2022
- Re: [RARE-users] Basic Bridge, Frédéric LOUI, 02/21/2022
Archive powered by MHonArc 2.6.19.