Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jan 10, 2015 3:33 pm 
Offline
Senior Member

Joined: Sat Oct 23, 2010 12:56 pm
Posts: 73
Website: http://www.ingber.com
Location: Oregon
On my Ubuntu 14.04.1 I can see ipv6 addresses:
% ip -6 addr
...
inet6 XXXX:XXXX::XXXX:XXXX:XXXX:XXXX/64 scope global dynamic
valid_lft 2591986sec preferred_lft 604786sec

For this address I would like to set preferred_lft forever. I have in my /etc/network/interfaces file:
## up /sbin/ip -6 addr add XXXX:XXXX::XXXX:XXXX:XXXX:XXXX/64 dev eth0 preferred_lft 0
up /sbin/ip -6 addr add XXXX:XXXX::XXXX:XXXX:XXXX:XXXX/64 dev eth0 preferred_lft forever
where I changed preferred_lft from 0 to forever. However, after a reboot this has not changed the above output of `ip -6 addr` ?

It seems the interface file is not being read (properly)?

A ping6 on this address works fine.

_________________
http://www.ingber.com


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group