Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vlan with PPPoE not working / Vlan not created with vlan_mon #120

Closed
imdadk opened this issue Mar 1, 2020 · 8 comments
Closed

vlan with PPPoE not working / Vlan not created with vlan_mon #120

imdadk opened this issue Mar 1, 2020 · 8 comments

Comments

@imdadk
Copy link

imdadk commented Mar 1, 2020

i was already loaded vlan_mon driver in kernel its shows in list module, after that vlan_mon not working and not create vlan interfaces. I was tried on ubuntu 14.x and also on ubuntu 16.x.

My running configuration of pppoe module is

[pppoe]
verbose=1
#max-starting=0
#ac-name=xxx
#service-name=yyy
#pado-delay=0
#pado-delay=0,100:100,200:200,-1:500
called-sid=mac
#tr101=1
#padi-limit=0
#ip-pool=pppoe
ipv6-pool=pppoe-v6
ipv6-pool-delegate=pppoe-v6-pd
#ifname=pppoe%d
#sid-uppercase=0
vlan-mon=ens34.1,1-4000
#vlan-timeout=60
vlan-name=%I.%N
#interface=eth1,padi-limit=1000,net=accel-dp
interface=re:ens34.
interface=ens34

@DmitriyEshenko
Copy link
Contributor

Do you have ens34.1 interface?

@imdadk
Copy link
Author

imdadk commented Mar 1, 2020

no, only ens34 interface. but i was also try like vlan-mon=ens34,1-4000...

@DmitriyEshenko
Copy link
Contributor

Try next

vlan-mon=ens34,1-4000
vlan-name=%I.%N
interface=re:ens34\.\d+

See also log with level debug [log]level=5 for more information.

@imdadk
Copy link
Author

imdadk commented Mar 1, 2020

tried this, debug with level=5, seen debug log, but its not shows any thing about the pppoe interface OR vlan interface or something.

@DmitriyEshenko
Copy link
Contributor

Maybe you need also add verbose=1 for [ppp] and [pppoe] sections and restart accel-ppp. accel-cmd restart

@imdadk
Copy link
Author

imdadk commented Mar 1, 2020

It is already verbose=1 in those both sections. also tried after restarting daemon. But nothing happen, all logs like accel-ppp.log/core.log/emerg.log/auth-fail.log nothing shows about vlan. infact also checked syslog. :-)

@DmitriyEshenko
Copy link
Contributor

  1. Check with tcpdump when pppoe client connect in some vlan
tcpdump -n -i ens34 -e -v
  1. Look into accel-ppp.log when client connecting

@imdadk
Copy link
Author

imdadk commented Mar 1, 2020

vlan-mon=ens34,1-4000
vlan-name=%I.%N
interface=re:ens34.\d+

this configuration is ok for vlan in pppoe.
first of all this is not create any vlan. and not shows any thing in accel-cmd pppoe interface show

@imdadk imdadk closed this as completed Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants