Subject: Re: IPv6 aliases on networking interfaces
To: Matthias Scheler <tron@zhadum.de>
From: Hajimu UMEMOTO <ume@mahoroba.org>
List: tech-net
Date: 09/28/2005 05:02:26
Hi,

>>>>> On Tue, 27 Sep 2005 13:25:44 +0100
>>>>> Matthias Scheler <tron@zhadum.de> said:

tron> I've just added an IPv6 alias address to the one and only network interface
tron> on my server like this:

tron> 	ifconfig wm0 inet6 ab:cd:ef:89::2 alias 

tron> But "ifconfig" displays it as a second IPv6 address:

tron> 	tron@colwyn:~>ifconfig wm0
tron> 	wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
tron> [...]
tron>         	inet6 ab:cd:ef:89::1 prefixlen 64
tron> 	        inet6 ab:cd:ef:89::2 prefixlen 64

tron> And the network stack actually treats it like a normal IPv6 addresses and
tron> uses it for outgoing connections which is not what I wanted.

tron> Is there any way to prevent this?

You may want to set `deprecated' flag which means `the address can be
used but it is not selected for a source address'.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/