Hoi, Your description isn't very clear to me, unfortunately. But I think what you're trying to do is connect an existing vlan100 interface outside of VPP, into an LCP pair you created in VPP. If so, perhaps a bridge-domain can help:
In Linux: brctl addbr br0 brctl addif br0 Vlan100 In VPP: create bridge-domain 1001 create tap id 1001 host-if-name vpp-bd1001 host-bridge br0 host-mtu-size 9100 set interface l2 bridge tap1001 1001 set interface state tap1001 up bvi create instance 1001 set interface l2 bridge bvi1001 1001 bvi set interface ip address bvi1001 192.0.2.1/24 set interface ip address bvi1001 2001:db8::1/64 set interface mtu packet 9100 bvi1001 set interface state bvi1001 up lcp create bvi1001 host-if bvi1001 netns dataplane This will end up tying together your 'Vlan100' interface in a bridge called br0 together with a VPP tap called vpp-bd1001. This way, the bridge-domain bd1001 and the linux bridge br0 have full L2 connectivity amongst themselves. Then, you expose a BVI in the VPP bd1001 and expose that to Linux as an LCP, which means hosts in "Vlan100" will be able to see each other, and the BVI. - (in default namespace) - ip link set br0 up mtu 9000 - ip link set vpp-bd1 up mtu 9000 On Thu, Nov 10, 2022 at 11:42 AM Pragya Nand Bhagat < pragya.nand.bhaga...@gmail.com> wrote: > Hi All, > > Is there a provision to create lcp pair between already existing > interface(vlan) in host and an loopback interface . > > Example: > > interface on host > root@mavenir-Default-string:/# ip link show Vlan100 > 26981: Vlan100@Bridge: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9100 qdisc > noqueue state UP mode DEFAULT grou0 > link/ether a4:bf:01:89:9d:cb brd ff:ff:ff:ff:ff:ff > > interface on vpp is a loopback interface created by foll command: > create loopback interface instance 100 > which creates loop100 > > Thanks > Pragya Nand > > > > > > -- Pim van Pelt <p...@ipng.nl> PBVP1-RIPE - http://www.ipng.nl/
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22159): https://lists.fd.io/g/vpp-dev/message/22159 Mute This Topic: https://lists.fd.io/mt/94933342/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] -=-=-=-=-=-=-=-=-=-=-=-