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

Re: Source address selection problems



On Fri, Mar 25, 2005 at 02:03:54AM +1100, Paul Hampson wrote:

> Under ipv4, eth0:foo makes that IP address secondary. If you use ip addr
> add <ipv4> it'll also be primary. Mind you, in IPv4 it _does_
> successfully pick the lowest primary IP address.
> 
> You can add 'secondary' to the end of your ip -6 add command to make it
> secondary, then it shouldn't be a candidate for source addressing except
> when specified (eg. ping)

I thought that, but that comes back with:

dom@urchin:~$ sudo ip -6 addr add 2001:1b40:0:1000:c1c9:c849:103:e801/64 dev eth0 secondary
Error: either "local" is duplicate, or "secondary" is a garbage.

Cheers,

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



Reply to: