Planning virtual interface via macvlan and pppoe

Hi there,
I’m writing because I need some advices to modify nethserver distro to support more pppoe connection via rp-pppoe pkg. My referiment version will be 7.9.2009.

In a centos std installation, and in some other distro, as ubuntu, debian, and so on, if i want to emulate more interface (in example, more physical ethernet interfaces) i will do a command like

ip link add link enp5s0 address dc:a6:32:71:78:20 vppp0 type macvlan
ip link add link enp5s0 address dc:a6:32:71:78:21 vppp1 type macvlan
ip link add link enp5s0 address dc:a6:32:71:78:22 vppp2 type macvlan
ip link add link enp5s0 address dc:a6:32:71:78:23 vppp3 type macvlan

and they’ll compare without problem. After setup the pppoe connection with pppoe-setup, if I’ll bring up I can have all these up simultaneously without problem.

For some developing decisions, if I do this in NS, i can have only one ppp connection at time.

I think the references scripts is in

/etc/e-smith/templates/etc/ppp

and some other working dirs i don’t know…

So, the question is: how can I improve NS for more ppp connection simultaneously? Do you have any suggestions for me?

Thx in advantages.