Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with ppp daemon and IPv6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
flatmodel
n00b
n00b


Joined: 01 Mar 2013
Posts: 15
Location: UK

PostPosted: Sat Jan 27, 2018 6:53 pm    Post subject: Problems with ppp daemon and IPv6 Reply with quote

Hi Folks,

I'm currently using net-dialup/ppp-2.4.7-r5 to make my connection using pppoe with my ISP, using a VDSL connection. I'm getting my IPv6 address correctly, but it mysteriously disappears after about an hour (I haven't timed it exactly). The valid and preferred lifetimes are 'forever', thus:-

Code:
# ip -6 addr show dev ppp0
8: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 state UNKNOWN qlen 3
    inet6 xxxx:xxxx:d001:16::1/64 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::1/10 scope link
       valid_lft forever preferred_lft forever

The IPv4 address associated with the same interfaces are fine and I have no issues with that. If the connection should drop out for some reason, the IPv4 addresses are reacquired, but not the global IPv6 address, only the link-local address. Unfortunately the debug option doesn't report much about the IPv6 addresses, and the global address doesn't appear in the logfile at all, even at bootup.

If I stop the ppp daemon, and then start it again, only the IPv4 addresses are re-acquired and the IPv6 link-local, but not the global address. This kinda suggests there's a kernel level problem; but I would prefer to try and eliminate any blunders that I might be making to begin with.

Anyone any idea?

Thanks in advance,

Richard.

[Moderator edit: added [code] tags to preserve output layout. -Hu]
_________________
Richard
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42560
Location: 56N 3W

PostPosted: Sat Jan 27, 2018 7:08 pm    Post subject: Reply with quote

flatmodel,

Are you using dhcpcd to aquire your IPv6 address?

I have the same setup as yourself. IPv4 is static. IPv6 is dhcpcd.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
flatmodel
n00b
n00b


Joined: 01 Mar 2013
Posts: 15
Location: UK

PostPosted: Sat Jan 27, 2018 11:16 pm    Post subject: Reply with quote

NeddySeagoon wrote:


Are you using dhcpcd to aquire your IPv6 address?

I have the same setup as yourself. IPv4 is static. IPv6 is dhcpcd.


First, thanks for your advice. I really appreciate it.

No, I'm not using dhcpcd at all. From what you say though, it sounds as if I need to. I did wonder if I needed to use dhcpcd. I notice that there is a DHCP use flag for the ppp package, so I wondered about setting that USE flag, rather than using dhcpcd. The latter would be neater, if it works; but I haven't been able to track down any documentation which explains what that USE flag is for (the URL against the use flag is dud too), or how it's used in practice. I will try it in the short term to see if it helps, and I'll try dhcpcd if it doesn't. I'll report back!
_________________
Richard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum