Subject: IPv6 aliases on networking interfaces
To: None <tech-net@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-net
Date: 09/27/2005 13:25:44
Hello,
I've just added an IPv6 alias address to the one and only network interface
on my server like this:
ifconfig wm0 inet6 ab:cd:ef:89::2 alias
But "ifconfig" displays it as a second IPv6 address:
tron@colwyn:~>ifconfig wm0
wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
[...]
inet6 ab:cd:ef:89::1 prefixlen 64
inet6 ab:cd:ef:89::2 prefixlen 64
And the network stack actually treats it like a normal IPv6 addresses and
uses it for outgoing connections which is not what I wanted.
Is there any way to prevent this?
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/