I have ipv6 setup on my network and I use static and dynamic addresses I use a
6to4 setup.
On my server I have
2002:XXXX:YYYY:11::10 as my static
2002:XXXX:YYYY:11:230:834f:beaf:1cd0 as my dynamic (setup with radvd)
routing info is
2002:XXXX:YYYY:11::11 dev eth0 metric 1024 expires 18267878sec mtu 9100
advmss 9040 hoplimit 4294967295
2002:XXXX:YYYY:11::/64 dev eth0 metric 256 expires 14115191sec mtu 1500
advmss 1440 hoplimit 4294967295
fe80::/64 dev eth0 metric 256 expires 18267549sec mtu 1500 advmss 1440
hoplimit 4294967295
ff00::/8 dev eth0 metric 256 expires 18267549sec mtu 1500 advmss 1440
hoplimit 4294967295
default via fe80::214:be3f:f346:3a0c dev eth0 proto kernel metric 1024
expires 27sec mtu 1500 advmss 1440 hoplimit 64
My problem is when this machine connects to a non local address it uses the
dynamic address in preference to the static address, I am not sure how to
configure it to use the static address in preference ?