-
Notifications
You must be signed in to change notification settings - Fork 700
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
IPv6 Prefix ID under LAN Track Interface #2622
Comments
That's only partly true, you don't have to pull a prefix on WAN so you're free to use all of the prefixes in a /64 which is 1 which is ID 0. Question is why does it think your WAN is /64? What did you set there? |
For whatever reason, setting the Prefix ID to 0 doesn't function with my 6RD configuration. Setting it to any other value within the accepted range works just fine. Also, the UI states that only 0 is the accepted range value, when in fact it is much larger (my ISP provides me a /56) Re-thinking about it now, yes, ID 0 SHOULD work, but for whatever reason isn't with OPNsense. This could be a bug with the new 6RD code. |
I have /62, and the Prefix ID correctly show allowed values from 0 to 3, but as @darkain the 6rd stops workings completely if 0 is used for any interface. |
For the UI displaying "0 to 0", AFTER saving the config, it then shows properly. The reason:
This, however, still doesn't address the issue of prefix |
Tracking this via |
There is still the secondary issue here of the UI showing the wrong information. I think this issue should be re-opened and focused on that instead, while the routing issue is handled on the other ticket. |
We would need to change the value with JavaScript, which seems to be a larger waste of effort for a cosmetic help text fix.
The better fix would be to enter tracking information via the WAN interface where we know the correct prefix right away and could also validate the IDs against reuse / avoid selecting 0 in case of 6rd until the other issue is solved. This again would be a larger effort.
It’s rather unlikely that somebody will do the work in both cases?
… On 24. Aug 2018, at 21:05, Vincent Milum Jr ***@***.***> wrote:
There is still the secondary issue here of the UI showing the wrong information. I think this issue should be re-opened and focused on that instead, while the routing issue is handled on the other ticket.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Why couldn't you just set it up to do something like "if empty string, assume 'WAN'" for that particular field? Seems like a super quick/simple fix to me. |
It’s not perfect, but if you insist we can preselected the first WAN from the list if the tracked interface field is empty to show the correct value when you first see the setting, but it breaks as soon as the selected interface changes.
We could also remove the offending help text and do a check during page save trough validation alone and show that message if the input is outside its range?
… On 25. Aug 2018, at 08:33, Vincent Milum Jr ***@***.***> wrote:
Why couldn't you just set it up to do something like "if empty string, assume 'WAN'" for that particular field? Seems like a super quick/simple fix to me.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
We still have the validation on save which is correct. While here improve the help text. (cherry picked from commit 91ecc98)
The UI has the following text:
First, the valid range is much larger than just 0 to 0. Secondly, at least on my setup and someone else who contacted me for help, 0 isn't even a valid value (in both of our cases, we're running CenturyLink 6RD). Prefix 0 is used on the WAN side, and LAN needs a value of 1 or larger to function properly.
The text was updated successfully, but these errors were encountered: