-
Notifications
You must be signed in to change notification settings - Fork 287
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
Juniper "Unaligned memory access" on vlan change #8196
Comments
In order to see what happen, can you compare the deauth between the old code and the new one ?
|
Hi, Thanks for your response. I didn't thought of capturing the radius response (and I was not aware of the radsniff utility). On the new version (13.2):
And on the old version (10.3):
So it looks like it's missing the Another thing I noticed (and might be related, but I ignored this until now) is that Packetfence is unable to determine whether a node is online or offline. It just shows an yellow dot in the node list instead of green or red (status column). Could it be that there is a more general issue in accounting in my setup which causes both issues? pfacct seems to be running without issues though (I presume this service is responsible for accounting). Any guidance in solving this will be much appreciated. Thanks in advance. |
Hello @fdurand, I'm a bit uncomfortable in mentioning you like this, so sorry for that, but I would really appreciate your thoughts on this issue. Is there anything I can do myself to get this going or troubleshoot further? In the meantime I was able to test with a Juniper switch which is running Junos version 15 (and this version has a different template within Packetfence), but the exact same issue occurs. Thanks again, |
Hello sorry for the delay on that issue. |
Hello fdurand, Thanks for getting back on this. And very strange it doesn't happen on your side. I remember I tried setting up an clean system to test this with a minimal configuration, but I ran into issues with the initial installation of Packetfence (and did not understand why, but the installer seemed broken at that point). I do see that in the meantime Packetfence 14 has been released, so I can give that a try. My switches.conf:
A few notes:
Thanks again! |
Describe the bug
In short:
When Packetfence issues a vlan change on a port (after registering/deregistering), the switch logs an error and the vlan won't be changed for the switch port. After manual unplug/plug the port, the correct vlan is applied.
The details:
The error being logged by the switch:
I found an old post which exactly describes the same problem: https://packetfence-users.narkive.com/jZiUjeMf/issue-with-vlan-changes-on-juniper-ex-switch
Switch hardware:
Software:
13.2.0+20240625122827+1351629202+0011+maintenance~13~2+bullseye1
(latest as of now).Additional context
I'm in the process of upgrading my Packetfence installation. On the old server, which is running version 10.3, this is working without any issues.
I compared the switch templates between the 2 packetfence versions. And while the structure has been changed a bit, the only difference I could find is:
I patched
Junos.pm
so it would be exactly the same as in Packetfence 10.3, but that made no difference. So it seems the problem is located somewhere else (radius?).Please let me know when information is missing, and any help will be much appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: