--On Monday, March 18, 2002 09:11:26 PM -0800 Xiaoning He
<xiaoning@xxxxxxxxxxxxxxxxxx> wrote:
> While I am modifying the IPv6 kernel, I need to delete an exiting IP
> address when it is necessary.
>
> I have to questions, could anyone please to help me out?
>
> 1. Is the IPv6 address has a lifetime associated with it? It seems
> after a router advertisement is received, the address will be there
> forever.
Depends on distributed lifetime sent with the advertisement. Using
radvd the default is very high, but can be set by config.
> 2. How to remove this address? Is there any code available showing
> how to program in the kernel to remove the address? What functions
> should I use and how to use them?
Use tool "ip", see IPv6 howto for more
Peter
|