LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-10-2013, 06:08 AM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question valid_lft forever preferred_lft forever


Hi all,

I gave the folowing command

ip addr show eth0

to get the o/p as

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:80:ad:83:e4:75 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.17/24 brd 192.168.0.255 scope global eth0
inet6 fe80::280:adff:fe83:e475/64 scope link
valid_lft forever preferred_lft forever

now my question is what does valid_lft forever preferred_lft forever means ???
 
Old 01-10-2013, 09:13 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,456

Rep: Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538
Quote:
Originally Posted by sulekha View Post
Hi all,
I gave the folowing command
ip addr show eth0

to get the o/p as

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:80:ad:83:e4:75 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.17/24 brd 192.168.0.255 scope global eth0
inet6 fe80::280:adff:fe83:e475/64 scope link
valid_lft forever preferred_lft forever

now my question is what does valid_lft forever preferred_lft forever means ???
You don't provide all the details (version/distro of Linux? Are you using IPv6? Goals/problems?), but Google turns up lots of answers.

valid_lft = Valid Lifetime
preferred_lft = Preferred Lifetime

Read RFC 3484 "Default Address Selection for Internet Protocol version 6 (IPv6)".

In the case of a tie (ie., source address not decided by destination subnet or other mechanisms), if you have multiple IPv6 addresses on an interface, linux tends to use the last address added.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I've been trying forever jimmijjim LinuxQuestions.org Member Intro 4 07-12-2011 12:54 PM
IPs forever Intimidator Linux - Networking 1 04-10-2008 02:47 AM
Grub forever johngrinham Linux - Software 7 07-03-2007 08:49 AM
Encrypted HD, forever? microsoft/linux General 7 06-17-2005 06:56 PM
How to mount forever Thaith Red Hat 3 11-16-2003 07:11 PM


All times are GMT -5. The time now is 04:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration