(usagi-users 03476) Re: Source address for neighbor solicitations

Peter Bieringer <[email protected]>
Newsgroups gmane.linux.ipv6.usagi.users
Message-ID <[email protected]>

--On Saturday, June 25, 2005 11:59:56 AM +0200 Ignacy Gawedzki <[email protected]>
wrote:

> On Fri, Jun 24, 2005 at 10:25:42PM +0200, thus spake Peder Chr. Norgaard:
>> I don't think I really understand the context of your question.  (I
>> assume you are talking IPv6, yes?).  What are the "routers" that you are
>> writing about?  It cannot be linux 2.6.something kernels - they
>> certainly have link-local addresses on all IPv6 interfaces.
> 
> They are linux 2.4 kernels in fact, but I suppose they could easily be 2.6
> too.  An interface gets assigned a link-local address automatically as
> soon as it's set up, but you can ever remove that address manually.

I had such problems with removed link-local addresses also (radvd don't
like such behavior). Sometimes I had to reboot twice to get autoconfigured
link-local back.

So I have 2 suggestions:

create a kernel parameter (sysctl) like:

ipv6 / interface / link_local_address_behavior = 1 (default)  (r/w)

1: don't let remove the last existing link-local address on an interface
If one want to change the link-local address, he had to add the new one
first before removing the autogenerated one

0: let remove


In addition it would be great to be able to trigger a new autogenerated
link-local address if the original was removed, e.g. by writing some
command to 

ipv6 / interface / link_local_address_regenerate = 1  (w only)


        Peter
-- 
Dr. Peter Bieringer                     http://www.bieringer.de/pb/
GPG/PGP Key 0x958F422D               mailto: pb at bieringer dot de 
Deep Space 6 Co-Founder and Core Member  http://www.deepspace6.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.