-
Notifications
You must be signed in to change notification settings - Fork 759
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
interfaces: VIPs sometimes reorder, taking higher priority as "real" interfaces IPs #2189
Comments
|
I have created a static global address on my LAN, then created a virtual interface ( VLAN ), on that VLAN I created a ULA address and dhcp6 server using the range as posted in your forum message, It's all working perfectly, I cannot reproduce your issue, perhaps someone else can? |
|
@marjohn56 the issue is not with VLAN afaik but with virtual IP (the OPNSense lingua for FreeBSD alias, Firewall->Virtual IP's), which allows multiple IP adresses to be configured on the same device. Hope it all makes sense ;) |
|
@gizahNL still an issue? |
|
@fichtner I'm having this issue as well. I've posted it on the pfSense issue tracker as well. Hopefully you guys can take a better look at it then they do. Basically the current workaround seems to be this:
As I said in their issue tracker, I don't really know how to do step 2 from the CLI. It seems to have to do wit the services.inc file and the first function. |
|
@draggeta The IPv6 side of things has given us trouble in that area before, the sense of a "primary" address on the interface is already trashed by the concept of link-local addresses, but that's a bit of a side story. Since dhcp6 kicks in later we get an address too late and the alias is already pushed to the interface... the only solution that seems doable is make IPv6 aliases "second class" addresses and flush + reapply them on new IPv6 address delegations. How does that sound? |
|
@fichtner That is a completely reasonable implementation. In those cases you may notice a small hiccup when using the ULAs for communication, but it's better miles better than having the connection to the internet be unavailable after a reboot/PD change. I'll be happy to help with this issue, but I'm not sure I could contribute code directly. |
|
@draggeta no worries. Testing is appreciated as well... hopefully can look at it next week in more detail. |
|
The problem I described in #2821 ist gone since 18.7.6. All service bind since then on the primary interface address. |
|
I'm unable to see an issue at the moment. No new data since Dec 2018. |

Perhaps it was the order in which things have been configured on my machine but I ran into a bug where the interface displays one subnet while in reality another is being stored into config.
I took the following steps:
->configure public IPv6 adress on interface
->enable RA
->create virtual IP for interface with ULA adress
->try to enable DHCPv6 for interface, see that it defaults to public subnet and allows no choice for ULA subnet (perhaps in this step enable and leave enabled DHCPv6 server)
->switch public and ULA adresses (ULA becomes interface adress, public one becomes virtual adress)
-> enable DHCPv6 server
-> configure ULA range and get confronted with message that range is outside of subnet, while it is displayed above as available range.
I've commented out the subnet checking bits to see what was happening, and I noticed that instead of my private subnet being written to file my public one was being written to file. So for some reason the public subnet overrides everywhere but in the interface.
Repeatedly fidling switching and deleting interfaces has allowed me to get a correct config written out, however I'm now unsure whether it will remain there after reboots.
The text was updated successfully, but these errors were encountered: