PPPoE on session terminate removes ipv6 route

PPPoE related questions
Post Reply
lukas
Posts: 3
Joined: 28 Sep 2017, 11:52

PPPoE on session terminate removes ipv6 route

Post by lukas »

Hi,

I have problem with ipv6 route which is removed on session terminate. For example after I restart device with pppoe session it replacing old session with new and after I succesfull connect to new session old one is terminating and removing Delegated-IPv6-Prefix route.

Code: Select all

info: ppp1: dhcpv6: route add 2a11:1234:0:6::/64 via 2a11:1234:0:5:200::
info: ppp0: send [LCP TermReq id=14]
info: ppp0: disconnected
So right after route is added old session is terminated and delete this route which is important for delegated ipv6 to works properly.
In configuration file i have set:

Code: Select all

[common]
single-session=replace
Any one please can help with thath or face similar problem and have some nice solution to solve that ?
lukas
Posts: 3
Joined: 28 Sep 2017, 11:52

Re: PPPoE on session terminate removes ipv6 route

Post by lukas »

Forgot to mention I use version 1.11.2
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: PPPoE on session terminate removes ipv6 route

Post by Dmitry »

try
[ipv6-dhcp]
route-via-gw=0
lukas
Posts: 3
Joined: 28 Sep 2017, 11:52

Re: PPPoE on session terminate removes ipv6 route

Post by lukas »

Unfortunately it doesn't helped. The difference is that adding route via dev not gw and still removes route on old session terminate. For now I solved it by script ip-up with IPV6_PREFIX and IPV6_DELEGATED_PREFIX variables and sleep is added to run after session terminate.
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: PPPoE on session terminate removes ipv6 route

Post by Dmitry »

commit 5b193c892c75e52e10be96ec16aad6394e444020
Post Reply