-
Notifications
You must be signed in to change notification settings - Fork 647
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
FRR/BGP + CARP/VIP #2540
Comments
|
Hello!, the request timeout but my understading is this improvement is needed. Usually you would run active/active BGP peering but that the asymetric traffic can break some types of connectivity in a OPNSense CARP setup (VPN landing on the active master, same for local gateways). FRR plugin already allows integration with CARP where it starts on the master only, and starts on the slave as soon as we switch roles or the current master fails. That requires that we setup two sessions (one per node) and the other party will see one session always down, which is usually unacceptable (it triggers unexpected alarms when a "green dashboard" is desired). The "solution" (give an ECMP cluster without any other traffic breaking appart is not possible), would be to keep the "run on master only" but drive all the traffic with the CARP IP (outgoing & incoming), not the base/static IP of the node. This way the other party will see an "always stablished" session and not two sessions (one dead, the other active). Also, I'm not sure if it's too much to ask for this integration, but usually in common routing environments, it's expected to be able to use multiple interaces (multiples CARP IPs in this case?) for different integrations: one interface going to network party A, a second one to network party B, etc. For my usecase, I need BGP + BFD, but I assume the same would apply for OSPF. |
|
Did you read my question in the other issue and tried to reproduce successfully? |
|
Thank you for creating an issue. For more information about the policies for this repository, The easiest option to gain traction is to close this ticket and open a new one using one of our templates. |
|
Hello, I did the test. The thing is that it still seems to initiate connection from the base IP. As you can see, the process is listening on 172.16.10.1:179, but the connection to the remote 172.16.10.5:179 & 172.16.10.6:179 is initiated from the base/fixed IP (172.160.10.2). |
|
Can you try outbound Nat? |
|
Well, checking with the other team, they kept both the base IP & the CARP IP. After dropping all the base IPs and keeping only the VIP, the session could be initiated (initiated by the other party): Now, also after adding the outgoing NAT, the session could be initiated from my (OPNSense) side: Is my understanding that we don't really need the "bind" parameter, since this can be accomodated with firewall rules + NAT: Is this correct? |
|
Yes, I dont think there is a stable way to so auto nat when adding a checkbox and not breaking other inteded dual peer setups |
This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository,
please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.
Originally posted by @OPNsense-bot in #2106 (comment)
The text was updated successfully, but these errors were encountered: