Page 1 of 1

ppp: implement per-ctrl ppp interface rename support

Posted: 06 Dec 2017, 08:37
by Dmitry

Code: Select all

commit ae72e179afa46d82865aa8d459b32cc27541e4a7
Author: Vladislav Grishenko <themiron@mail.ru>
Date:   Mon Oct 30 17:27:22 2017 +0500

    ppp: implement per-ctrl ppp interface rename support, may be overrided by radius
    
     Reuse exsisting radius functionality and allow set iterface name
     template for pppoe/pptp/l2tp, '%d' specification will be replaced
     automagically to the next available index by kernel.
     PPP interface rename allows to easy differ client's interfaces from
     the other ppp ones, for example, with just netfilter interface rules.
    
     Example:
      [pptp]
      ifname=pptp%d will produce pptp0, pptp1, ...
новые опции в конфиге (по умолчанию отключено)
[pptp]
ifname=pptp%d

[l2tp]
ifname=l2tp%d

[pppoe]
ifname=pppoe%d

Re: ppp: implement per-ctrl ppp interface rename support

Posted: 06 Dec 2017, 18:44
by nik247
Спасибо.
Но уже б тогда и для ipoe добавили до компании ...