Re: IPv6 neighbor solicitations to use link-local source address
Arturo Borrero Gonzalez <[email protected]> Tue, 2 Sep 2014 16:22:05 +0200
| Newsgroups | gmane.linux.debian.devel.ipv6 |
|---|---|
| Message-ID | <CAOkSjBjpv0W8iSSg-vsSWQdqmEzFziUbx3znp2ivwB36MdqkoQ@mail.gmail.com> |
On 2 September 2014 15:53, Julien boooo <[email protected]> wrote: [...] > # ip -6 addr list > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 > inet6 ::1/128 scope host > valid_lft forever preferred_lft forever > 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000 > inet6 2a10:7e40:edf6:100::32/8 scope global > valid_lft forever preferred_lft forever > inet6 fe80::a00:27ff:fe02:3cbd/64 scope link > valid_lft forever preferred_lft forever > [...] > > My question is : How can I force ndp to use the link-local address assigned > to that outgoing device ? (in the trace above, ndp would then send the > neighbor solicitation with fe80::a00:27ff:fe02:3cbd source address). > I guess you want to use that source address only for NDP packets. I don't know how to do that in a per-protocol basis, maybe using Netfilter's NAT6. -- Arturo Borrero González