[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IPv6 neighbor solicitations to use link-local source address



On 2 September 2014 15:53, Julien boooo <jumboooh@gmail.com> 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


Reply to: