Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian ISP (http://www.linux-archive.org/debian-isp/)
-   -   Source address selection: "preferred_lft=0" or "ip addrlabel"? (http://www.linux-archive.org/debian-isp/527766-source-address-selection-preferred_lft-0-ip-addrlabel.html)

Christian Hammers 05-18-2011 08:40 AM

Source address selection: "preferred_lft=0" or "ip addrlabel"?
 
Hallo

On a web server which has several IPv6 adresses on one interface it's
desirable to configure the one that's used for outgoing connections.

Without explicit configuration the RFC 3484 algorithm falls through and
the Linux default is to use the last added address. A "secondary" attribute
like in IPv4 is absent in the "/bin/ip" command.

Now there seems to be two proposals:

1. Use preferred_lft=0 to mark all secondary addresses as "obsolet but still
valid". Does work and is easily visable with "ip addr" but it seems to me
like a misusage of the "lifetime" attribute.
More details:
http://www.davidc.net/networking/ipv6-source-address-selection-linux

2. Use address labels. Does work as well but to view the current
configuration you have to know about the "ip addrlabel" command and
moreover understand its concept.
More details:
http://linux-hacks.blogspot.com/2008/04/default-address-selection-part-1.html

What would you recommend?

tschüss,

-christian-


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110518104012.4635d612@sys-251.netcologne.de">http://lists.debian.org/20110518104012.4635d612@sys-251.netcologne.de


All times are GMT. The time now is 07:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.