Skip to content
Tom Barbette edited this page Oct 3, 2018 · 2 revisions

IP6NDSolicitor Element Documentation

NAME

IP6NDSolicitor — Click element;

SYNOPSIS

IP6NDSolicitor(IP, ETH)

Ports: 2 inputs, 1-2 outputs
Processing: push

DESCRIPTION

Handles most of the Neighbor Discovery(ND) protocol. Argument IP should be this host's IP6 address, and ETH should be this host's ethernet address.

Expects ordinary IP6 packets on input 0, each with a destination address annotation. If an ethernet address is already known for the destination, the IP6 packet is wrapped in an ethernet header and sent to output 0. Otherwise the IP6 packet is saved and an Neighbor Solicitation Message is sent to output 0. If an Neighbor Advertisement Message arrives on input 1 for an IP6 address that we need, the mapping is recorded and the saved IP6 packet is sent.

The packets on input 1 should include the ethernet header.

If a host has multiple interfaces, it will need multiple instances of IP6NDSolicitor.

IP6NDSolicitor may have one or two outputs. If it has two, then ARP queries are sent to the second output.

EXAMPLES

 c :: Classifier(12/86dd 20/3aff 54/87,
 12/86dd 20/3aff 54/88,
 12/86dd);
 nds :: IP6NDSolicitor(3ffe:1ce1:2::1, 00:e0:29:05:e5:6f);
 c[0] -> ...
 c[1] -> nds[1];
 c[2] -> ... -> nds[0];
 nds[0] -> ... -> ToDevice(eth0);

SEE ALSO

IP6NDAdvertiser

Generated by click-elem2man from ../elements/ethernet/ip6ndsolicitor.hh:9 on 2018/10/03.

Clone this wiki locally