Re: [vpp-dev] veth alternative in VPP

2023-01-05 Thread Mahdi Varasteh
Thanks Benoit and Neale.

I used loopback interfaces, but since they are in different VRFs I couldn't 
establish a L3 connection between them. I will try pipe interfaces.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22419): https://lists.fd.io/g/vpp-dev/message/22419
Mute This Topic: https://lists.fd.io/mt/96048462/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] veth alternative in VPP

2023-01-04 Thread Neale Ranns
I’d suggest a pipe, each end can be in a different VRF. See 
src/scripts/vnet/ipsec for a config example.

/neale

From: vpp-dev@lists.fd.io  on behalf of Benoit Ganne 
(bganne) via lists.fd.io 
Date: Thursday, 5 January 2023 at 00:18
To: vpp-dev@lists.fd.io 
Subject: Re: [vpp-dev] veth alternative in VPP
> Hi, I am looking for veth pair alternative in VPP. I want to pass traffics
> between two VRFs and I want them to be processed as input packets to an
> interface( to use NAT or other ip features), so route leakage is not gonna
> help. Also, since I'm using one instance of VPP with multiple VRFs, using
> memifs are not viable. Are there any methods in VPP to achieve the same
> goal?

You can use loopback or pipe interfaces for this.

Best
ben

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22415): https://lists.fd.io/g/vpp-dev/message/22415
Mute This Topic: https://lists.fd.io/mt/96048462/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] veth alternative in VPP

2023-01-04 Thread Benoit Ganne (bganne) via lists.fd.io
> Hi, I am looking for veth pair alternative in VPP. I want to pass traffics
> between two VRFs and I want them to be processed as input packets to an
> interface( to use NAT or other ip features), so route leakage is not gonna
> help. Also, since I'm using one instance of VPP with multiple VRFs, using
> memifs are not viable. Are there any methods in VPP to achieve the same
> goal?

You can use loopback or pipe interfaces for this.

Best
ben

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22413): https://lists.fd.io/g/vpp-dev/message/22413
Mute This Topic: https://lists.fd.io/mt/96048462/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[vpp-dev] veth alternative in VPP

2023-01-04 Thread Mahdi Varasteh
Hi,
I am looking for veth pair alternative in VPP. I want to pass traffics between 
two VRFs and I want them to be processed as input packets to an interface( to 
use NAT or other ip features), so route leakage is not gonna help. Also, since 
I'm using one instance of VPP with multiple VRFs, using memifs are not viable.
Are there any methods in VPP to achieve the same goal?

Regards.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22412): https://lists.fd.io/g/vpp-dev/message/22412
Mute This Topic: https://lists.fd.io/mt/96048462/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-