Hi Experts,
We have our application reading packets through memif and does consume them.
We are adding rules in the VPP to reach particualr memif based on dst IP.

"ip route add 172.172.0.0/24 via 192.168.1.3 memif1/0"

However we have a requirement, where the Destination  NETWORK can overlap with 
other VLAN.

So we need forward rules based on the "VLAN + MEMIF"
For example
If *VLAN is 301* and *DST IP is 172.173.0.0/24* it should reach to *memif1/0*
If *VLAN is 302* and *DST IP is 172.173.0.0/24* it should reach to *memif2/0*
If *VLAN is 302* and *DST IP is 172.174.0.0/24* it should reach to *memif1/0*
If *VLAN is 301* and *DST IP is 172.174.0.0/24* it should reach to *memif2/0*

We can not use *L2 xconnect* , which directly  relays L2 packets to 
corresponding memif1/0,
*We need DST and VLAN because our application handles multiple clients with 
same overlapping subnets with VLAN+IP based routing.*

So we need *VLAN+DST IP based routing, any suggestion is a great help.*

//Ravi
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19896): https://lists.fd.io/g/vpp-dev/message/19896
Mute This Topic: https://lists.fd.io/mt/84622474/21656
Mute #abf:https://lists.fd.io/g/vpp-dev/mutehashtag/abf
Mute #vlan:https://lists.fd.io/g/vpp-dev/mutehashtag/vlan
Mute #memif:https://lists.fd.io/g/vpp-dev/mutehashtag/memif
Mute #forwarding:https://lists.fd.io/g/vpp-dev/mutehashtag/forwarding
Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp
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