Hoi Suresh,

As a datapoint to this -  route synchronization from VPP -> Linux is not
implemented. The other way around (setting routes in Linux, using Netlink,
will be propagated into the VPP dataplane).


On Thu, Mar 31, 2022 at 5:29 AM suresh vuppala <suresh...@gmail.com> wrote:

> I have two loopback interfaces in two different VRF's. I have now
> configured route leak between two VRF's as shown below but route leak is
> not happening and also linux is not learning these leaked routes
>
>
>
>
> ip table add 1
>
> set interface ip address loop9997 192.168.97.9/24
>
> set interface state loop9997 up
>
> set interface ip table loop9997 1
>
> lcp create loop9997 host-if data9997
>
> ip table add 2
>
> set interface ip address loop9998 192.168.98.9/24
>
> set interface state loop9998 up
>
> set interface ip table loop9998 2
>
> lcp create loop9998 host-if data9998
>
>
>
> ip route add 192.168.98.0/24 table 1 via loop9998
>
> ip route add 192.168.97.0/24 table 2 via loop9997
>
> ON linux no routes are learned
> =====================
>
> $ sudo ip netns exec dataplane ip route show 192.168.98.0/24 vrf vrf1
>
> $
>
> $ sudo ip netns exec dataplane ip route show 192.168.97.0/24 vrf vrf2
>
>
>
> $
>
> 
>
>

-- 
Pim van Pelt <p...@ipng.nl>
PBVP1-RIPE - http://www.ipng.nl/
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21157): https://lists.fd.io/g/vpp-dev/message/21157
Mute This Topic: https://lists.fd.io/mt/90148412/21656
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