Hi Suresh,

The linux-cp/linux-nl plugins will not automatically manage assignments of
interfaces to a VRF/table, but you can use iproute2 commands to create a
VRF and move the tap to it.

Using table 1 and host interface lo5007 from your example, these commands
would associate that interface with the kernel's table 1:

ip link add dev vrf1 type vrf table 1
ip link set dev vrf1 up
ip link set dev lo5007 master vrf1

Routes added to the kernel's table 1 will be propagated to VPP's table 1 by
linux-nl.

-Matt


On Wed, Mar 9, 2022 at 8:27 PM suresh vuppala <suresh...@gmail.com> wrote:

> HI VPP dev,
>
>   I have a loop configured under a vrf 1 in VPP. I need this interface to
> write into linux so it can be read by FRR as interface in vrf 1. I have
> configured as below but FRR still sees lo5007 in default vrf.
>
> ip table add 1
>
> set interface ip table loop5007 *1*
>
> lcp create loop5007 host-if lo5007
>
>
> FRR# show int br
>
> Interface       Status  VRF             Addresses
>
> ---------       ------  ---             ---------
>
>
>
> lo              up      default
>
> lo5007          up     * default   *      192.168.7.9/24
>
> lo5008          up      *default *        192.168.6.9/24
>
> Can you please help here to config loop on VPP so FRR recognizes it as vrf
> interface
>
> Thanks,
> Suresh
>
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21001): https://lists.fd.io/g/vpp-dev/message/21001
Mute This Topic: https://lists.fd.io/mt/89678481/21656
Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to