On Thu, Feb 23, 2006 at 10:13:06AM +0000, Niall O Broin wrote:
> >There's no built in-way to add IPv4 addresses afaik, in IPv6 the
> >sub-int addresses will be stacked on the primary one though. So you'd
> >have to hack in a command to add it, be aware that this will seriously
> >complicate default source-address selection though, which can be a
>> Can you elaborate a little?
The algorithim Linux uses for choosing the default source address is a
bit mystical in that it can be non-deterministic and change between
kernel versions, driver versions, and more. Sometimes it's the most
recent address added to an interface, sometimes it's the first,
sometimes there is seemingly little logic to it at all. The only way
we've found to consistently convince Linux to use a predictable source
address for outgoing connections is to only have one address on its
primary logical interface.
Colm MacCárthaigh Public Key: colm+pgp at stdlib.net
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!