address deprecated - or not
Shadow Hawkins on Monday, 13 October 2003 21:02:32
Hello,
not a big problem but would like to hear your opinion.
IPv6 knows the status of "deprecated" addresses, that is an address that still can be used to receive but shouldn't be used for initiating sessions anymore (RFC 2462).
On FBSD 4.8 you can configure the deprecated flag manually with the ifconfig command. But some neighbor discovery code kicks in short afterwards and deletes the flag :{ The code is:
/*
* A new RA might have made a deprecated address
* preferred.
*/
ia6->ia6_flags &= ~IN6_IFF_DEPRECATED;
Hmm. Obviously the code writers have a dynamic preferred/deprecated control in mind. I think that having a manual equivalent isn't too bad and perfectly valid when you want to renumber a static setup.
Comments? Does a manual setting makes no sense? (why?) Maybe this detail was discussed somewhere else and you can give me a hint? Or is the code above missing something is should cover?
Regards, Marc (playing around with all the knobs in place ;) )
address deprecated - or not
Jeroen Massar on Monday, 13 October 2003 23:58:07
If you are running a 'static' setup just disable the RA accept sysctl's and the kernel won't notice any new prefixes coming into play. Static setup is not one of the things IPv6 is meant to have btw, it should all be dynamic to be able to put a lot of new computers from the van into the offices by just carrying them in and turning them on, which was one of the requirements.
Posting is only allowed when you are logged in. |