[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ip address



briand@aracnet.com a écrit :
> 
> the output of ip is a bit of a mess.
> 
>   valid_lft forever preferred_lft forever
> 
> what the hell ? i have no idea what tha means.

It is specific to IPv6 addresses. When an interface gets IPv6 addresses
assigned by stateless address autoconfiguration (SLAAC) from router
advertisements (RA), such addresses have limited lifetimes. The initial
values are set from values contained in the RA.

The valid lifetime is the length of time in seconds the address remains
valid.

Th preferred lifetime is the length of time in seconds the address
remains preferred, i.e. used for new communications.

Both lifetimes are refreshed when receiving a new RA.


Reply to: