Hi nagp, If you know the destination address is link local and you know on which interface, then the result of the lookup will result in the adjacency for that link-local address on that interface, i.e. the adjacency you would get back from; adj_index_t ai = adj_nbr_add_or_lock(FIB_PROTOCOL_IP6, VNET_LINK_IP6, <ll_add>, <interface>);
now you have the adjacency, the lookup is not required, so you can send the packet directly to ip6_rewrite/ip6_discover_neighbor. There is an example of this in the BFD code (see bfd_udp_input()). Hth, neale From: <vpp-dev-boun...@lists.fd.io> on behalf of Nagaprabhanjan Bellaru <nagp.li...@gmail.com> Date: Wednesday, 12 April 2017 at 11:27 To: vpp-dev <vpp-dev@lists.fd.io> Subject: [vpp-dev] How to send packets from control plane to a link local IPv6 address? Hi, How can I send packets to a link local IPv6 address? I know the interface on which the packet has to be sent, but when I enqueue the packet to "ip6_lookup" node, how can I encode the interface such that the neighor resolution happens on that interface and the packet gets transmitted? Thanks, -nagp
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev