-
Notifications
You must be signed in to change notification settings - Fork 727
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
DHCPv6 leases adding static not working #2682
Comments
It would indicate missing permissions for the user maybe?
… On 1. Sep 2018, at 16:22, Uica ***@***.***> wrote:
From the Services - DHCPv6 - Leases page (https://opnsense.domain/status_dhcpv6_leases.php) using the Plus button at any active lease is supposed to open the add static DHCPv6 mapping page for the respective interface (https://opnsense.domain/services_dhcpv6_edit.php?if=lan as an example for the LAN interface), but returns to the Dashboard instead.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
It’s root, who can do the same thing in IPv4 |
Ok, I’ll check then 😊 |
No... works for me. Are you using "Allow manual adjustment of DHCPv6 and Router Advertisements" with Track Interface on LAN? |
DHCPv4 page has the same behaviour. Are you sure root has all privileges still (you can strip them)? |
Yes, I’m using that setting. That seems to be necessary when using more than one local subnet (on different interfaces). |
Can you see if the DHCPv4 static mapping edit page has the same issue for you? It should... |
I just tried again to be sure: No, the DHCPv4 static mapping edit page does not have the same issue, it's working fine. |
Thanks for the clarification. I can't reproduce this at all though. Can you try a different browser just to be sure? Maybe it is a permanently moved redirect stuck somewhere also I don't know how that would have happened. oO |
Strange, I was always able to reproduce this with several fresh installations I made (in virtual machines and on the current production hardware, which has been a new install with 18.7). |
Just made another test: The issue does not occur on the DMZ interface, which has a static IPv6 assignment. Could this be a 6rd specific problem (assuming @fichtner tested on interfaces that had some other method, like following a DHCPv6 interface)? |
Another observation: On the Services: DHCPv6: Leases page, the first column (interface) is empty on most of the leases. Only for the static DMZ leases, the interface is recognized. Never noticed this before, but it could explain why the URL for adding the static mapping can't be composed correctly (interface part not known). |
Yes, I suppose we should not show the add link on the lease page then. It redirects if it uses an interface that is not static IPv6. The dhcpv6 is in automatic mode and not doing too many operations unless LAN tracking uses "manual dhcpv6 and radvd" option. It's relatively new... |
Yes, that may be a temporary measure, but it works on pfSense, so in the long run, it should be possible to get it working. |
Sorry, I missed that question earlier, now saw it due to the closing message. Yes, I have noticed that the add buttons are now gone on entries where the network was not detected (in my case, nearly all entries are affected). |
At least it helped to diagnose, good. :) Let me see if I can fix this, but I can't put this very high on my list. For reference: the prefix is not fully known so the lookup / address match on that particular page fails. |
Sure, no hurry on my end, this can be worked around. There are definitely many more important issues to handle. |
26705ee is probably part of the puzzle, but we'd have to guess what the suffix should be... |
Somewhat related, if you are interested: #4406 |
Since #4406 removes the buttons when the detection fails we should focus on making the buttons appear correctly if not there now. The logic to find the interface is a bit fuzzy so we need to wait for someone else to make that observation on 21.1 now because the describe bug here is gone. |
From the Services - DHCPv6 - Leases page (https://opnsense.domain/status_dhcpv6_leases.php) using the Plus button at any active lease is supposed to open the add static DHCPv6 mapping page for the respective interface (https://opnsense.domain/services_dhcpv6_edit.php?if=lan as an example for the LAN interface), but returns to the Dashboard instead.
I have seen this in 18.7, 18.7.1 and release candidates for 18.7, did not try with earlier versions.
The text was updated successfully, but these errors were encountered: