Interface name is too long
marcioelias opened this issue · 3 comments
Anyone trying to run 802.1ad (QinQ) interfaces and getting this error?
pppoe: vlan-mon: eth5.501.116: interface name is too long
Here is the accel-ppp.conf about the configuration of the interfaces.
vlan-mon=eth5.501,2-4095
vlan-timeout=900
vlan-name=%I.%P.%N
interface=re:eth5.*.*
If I comment vlan-mon parameters and set up the C-VLAN manually, all works fine, but when I let the vlan-mon driver create the C-VLAN, I receive this message on the debug log.
Anyone that has this scenario working and that can help me with this?
This works for me:
vlan-mon=re:eth1.[0-9]+,1000-2000
interface=re:eth1.[0-9]+
vlan-name=%I.%N
I also had this happen with enp1s0fX named interfaces recently which was resolved by renaming them to ethX in the operating system.
Interface names in linux might contain maximum 15 characters.
Best practice in this case use following example
vlan-mon=re:enp1s0fX\.\d+,2-4095
vlan-name=e0.%N.%P
interface=re:^e0\.\d+\.\d+$
As result you can see interfaces with name e0.S-VLAN.C-VLAN (e0.501.4095)