That's not how a layer 3 network works: the dest mac is the mac address of the L3 nexthop. If you want to use the dest mac of the switch as nexthop, it should act as a router (with an IP address you can use as nexthop).
Best Ben > -----Original Message----- > From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Atul Sharma > Sent: Friday, May 20, 2022 15:28 > To: vpp-dev@lists.fd.io > Subject: [vpp-dev] Question about vpp neighbour Mac entry > > Hello VPP experts, > > I have a question about the behaviour of vpp neighbour Mac entry. In > particular, I am noticing the node(ipv4-glean) is dropping the original > packet that triggers glean process. > I know the Mac address of switch so I'm adding the switch Mac as next hop > of the packet but still packet goes to glean and packet destination > address added as neighbour. > I don't want to drop the packet. Instead It should go to next hop(switch). > Why this behaviour did I miss something. > I'm Using VPP 21.06. > > > Regards, > Atul Sharma
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21437): https://lists.fd.io/g/vpp-dev/message/21437 Mute This Topic: https://lists.fd.io/mt/91230759/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-