ppp: implement per-ctrl ppp interface rename support

News of development process
Post Reply
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

ppp: implement per-ctrl ppp interface rename support

Post 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
nik247
Posts: 108
Joined: 11 Oct 2014, 15:57

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

Post by nik247 »

Спасибо.
Но уже б тогда и для ipoe добавили до компании ...
Post Reply