[ipv6hackers] IPv6 source address selection on Linux

Romain Boissat rboissat at lv0.in
Thu Jul 19 15:36:35 CEST 2012


Hi

On Thu, Jul 19, 2012 at 3:09 PM, Sander Smeenk <ssmeenk at freshdot.net> wrote:

> Hi, [try3,nogpg]
>
> Could someone provide me with clue on how i can force traffic on my
> server going to 2001:db8::1 to *always* source from the configured ULA
> address fded:e128:5900::1 ?
>

You can this little hack to all other IPv6 addresses:

ip addr change $IP6_ADDR/$NETMASK dev $NIC preferred_lft 0

An interesting article about IPv6 source address selection [1]

[1] http://www.davidc.net/networking/ipv6-source-address-selection-linux

-- 
Romain Boissat
chroot-me.in



More information about the Ipv6hackers mailing list