netdev
[Top] [All Lists]

Re: Delete an existing IPv6 address

To: xiaoning@xxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
Subject: Re: Delete an existing IPv6 address
From: Peter Bieringer <pb@xxxxxxxxxxxx>
Date: Tue, 19 Mar 2002 22:38:39 +0100
In-reply-to: <000001c1cf04$888b1680$4f6015ac@VAIOHE>
References: <000001c1cf04$888b1680$4f6015ac@VAIOHE>
Sender: owner-netdev@xxxxxxxxxxx

--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


<Prev in Thread] Current Thread [Next in Thread>