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

Re: Source address selection problems



On Thu, Mar 24, 2005 at 03:56:33PM +0000, Dominic Hargreaves wrote:
> 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.

Oh, my bad. That's for 'show' or 'flush'. Sorry. >_<

-- 
-----------------------------------------------------------
Paul "TBBle" Hampson, MCSE
8th year CompSci/Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson@Anu.edu.au

"No survivors? Then where do the stories come from I wonder?"
-- Capt. Jack Sparrow, "Pirates of the Caribbean"

This email is licensed to the recipient for non-commercial
use, duplication and distribution.
-----------------------------------------------------------

Attachment: pgp2eLnKvJ9mI.pgp
Description: PGP signature


Reply to: